moment/harmonyqml/ButtonsBar.qml

49 lines
951 B
QML
Raw Normal View History

2019-03-26 09:29:46 +11:00
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
RowLayout {
id: "toolBar"
Layout.fillWidth: true
Layout.maximumHeight: 32
spacing: 0
ActionButton {
visible: ! toolBarIsBig()
iconName: "reduced_menu"
tooltip: "Menu"
}
ActionButton {
iconName: "settings"
tooltip: "Settings"
}
ActionButton {
iconName: "add_account"
tooltip: "Add new account"
}
ActionButton {
iconName: "set_status"
tooltip: "Set status for all accounts"
}
ActionButton {
iconName: "search"
tooltip: "Filter rooms"
2019-03-26 09:29:46 +11:00
}
TextField {
id: filterField
visible: false
placeholderText: qsTr("Filter rooms")
selectByMouse: true
font.family: "Roboto"
Layout.fillWidth: true
Layout.fillHeight: true
background: Rectangle { color: "lightgray" }
}
}