This repository has been archived on 2021-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
ui/qml/widgets/StackToolbar.qml

48 lines
1.1 KiB
QML
Raw Normal View History

2018-10-29 18:00:21 +00:00
import QtGraphicalEffects 1.0
import QtQuick 2.7
import QtQuick.Controls 2.4
import QtQuick.Controls.Material 2.0
import QtQuick.Layouts 1.3
import "controls" as Awesome
import "../fonts/Twemoji.js" as T
Rectangle { // OVERHEAD BAR ON STACK PANE
id: toolbar
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
2018-11-22 00:01:17 +00:00
height: 20 * gcd.themeScale + 4
2018-10-30 19:48:37 +00:00
Layout.minimumHeight: height
Layout.maximumHeight: height
2018-10-29 18:00:21 +00:00
color: "#EDEDED"
property alias text: lbl.text
property alias aux: btnAux
property alias back: btnBack
2018-10-30 19:48:37 +00:00
SimpleButton {// BACK BUTTON
2018-10-29 18:00:21 +00:00
id: btnBack
2018-10-30 19:48:37 +00:00
icon: "solid/arrow-circle-left"
2018-10-29 18:00:21 +00:00
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: 6
onClicked: theStack.pane = theStack.emptyPane
}
2018-10-30 19:48:37 +00:00
ScalingLabel { // TEXT
2018-10-29 18:00:21 +00:00
id: lbl
2018-10-31 05:43:22 +00:00
text: "open privacy exec"
2018-10-29 18:00:21 +00:00
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
}
2018-10-30 19:48:37 +00:00
SimpleButton { // COG BUTTON
2018-10-29 18:00:21 +00:00
id: btnAux
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
anchors.rightMargin: 6
2018-10-30 19:48:37 +00:00
icon: "solid/cog"
2018-10-29 18:00:21 +00:00
}
}