diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-03-23 03:23:27 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-03-23 03:23:37 +0100 |
| commit | 4e5e0ba604879c140c1483188ffbc818e822859f (patch) | |
| tree | c37d8fc400386705aebdc649105ea3f87e1caf66 /CustToolbar.qml | |
Diffstat (limited to 'CustToolbar.qml')
| -rw-r--r-- | CustToolbar.qml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/CustToolbar.qml b/CustToolbar.qml new file mode 100644 index 0000000..395d624 --- /dev/null +++ b/CustToolbar.qml @@ -0,0 +1,27 @@ +import QtQuick 2.12 +import QtQuick.Window 2.12 +import QtQuick.Controls 2.0 +import QtQuick.Layouts 1.0 + +ToolBar +{ + property string title + + RowLayout + { + anchors.fill: parent + + ToolButton + { + text: "<" + onClicked: stack.pop() + visible: stack.depth > 1 + } + + Label + { + text: title + anchors.centerIn: parent + } + } +} |
