summaryrefslogtreecommitdiff
path: root/Header.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-13 21:54:48 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-13 21:54:48 +0800
commit0f8c8e398bbb82cbcea8eb1b2b8424f16750b870 (patch)
treeb34d648ef1e1641097ed0f6d39c25285cf3af65e /Header.qml
parentf922865705e7004d29509a673d7bc94ee57f8d9a (diff)
Interface for setting header tool button
Diffstat (limited to 'Header.qml')
-rw-r--r--Header.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Header.qml b/Header.qml
index 90f1f0b..8be57c5 100644
--- a/Header.qml
+++ b/Header.qml
@@ -3,6 +3,7 @@ import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
ToolBar {
+ property alias toolButton: toolButton
property alias optionsMenu: optionsMenu
property alias optionProfile: profile
property alias optionSettings: settings
@@ -27,6 +28,7 @@ ToolBar {
anchors.fill: parent
layoutDirection: Qt.RightToLeft
ToolButton {
+ id: toolButton
icon.source: "https://eduport.webestica.com/assets/images/avatar/01.jpg"
icon.color: "transparent"
onClicked: optionsMenu.open()