aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/snippets/data/qtlabscontrols-toolbar.qml
blob: 305321d3baa877db844d885e1e787e736c2f2809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import QtQuick 2.0
import QtQuick.Layouts 1.0
import Qt.labs.controls 1.0

ToolBar {
    RowLayout {
        anchors.fill: parent
        ToolButton {
            text: qsTr("\u25C0 Qt")
            onClicked: stack.pop()
        }
        Item { Layout.fillWidth: true }
        Switch {
            checked: true
            text: qsTr("Notifications")
        }
    }
}