summaryrefslogtreecommitdiff
path: root/Header.qml
diff options
context:
space:
mode:
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()