diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-13 21:54:48 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-13 21:54:48 +0800 |
commit | 0f8c8e398bbb82cbcea8eb1b2b8424f16750b870 (patch) | |
tree | b34d648ef1e1641097ed0f6d39c25285cf3af65e /Header.qml | |
parent | f922865705e7004d29509a673d7bc94ee57f8d9a (diff) |
Interface for setting header tool button
Diffstat (limited to 'Header.qml')
-rw-r--r-- | Header.qml | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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() |