2019-03-26 09:29:46 +11:00
|
|
|
import QtQuick 2.7
|
|
|
|
import QtQuick.Controls 2.2
|
|
|
|
import QtQuick.Layouts 1.4
|
2019-03-26 20:52:43 +11:00
|
|
|
import "../base" as Base
|
2019-03-26 09:29:46 +11:00
|
|
|
|
|
|
|
RowLayout {
|
|
|
|
id: "toolBar"
|
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.maximumHeight: 32
|
|
|
|
spacing: 0
|
|
|
|
|
2019-03-26 20:52:43 +11:00
|
|
|
HToolButton {
|
2019-03-26 09:29:46 +11:00
|
|
|
visible: ! toolBarIsBig()
|
|
|
|
iconName: "reduced_menu"
|
|
|
|
tooltip: "Menu"
|
|
|
|
}
|
|
|
|
|
2019-03-26 20:52:43 +11:00
|
|
|
HToolButton {
|
2019-03-26 09:29:46 +11:00
|
|
|
iconName: "settings"
|
|
|
|
tooltip: "Settings"
|
|
|
|
}
|
|
|
|
|
2019-03-26 20:52:43 +11:00
|
|
|
HToolButton {
|
2019-03-26 09:29:46 +11:00
|
|
|
iconName: "add_account"
|
|
|
|
tooltip: "Add new account"
|
|
|
|
}
|
|
|
|
|
2019-03-26 20:52:43 +11:00
|
|
|
HToolButton {
|
2019-03-26 09:29:46 +11:00
|
|
|
iconName: "set_status"
|
|
|
|
tooltip: "Set status for all accounts"
|
|
|
|
}
|
|
|
|
|
2019-03-26 20:52:43 +11:00
|
|
|
HToolButton {
|
2019-03-26 09:29:46 +11:00
|
|
|
iconName: "search"
|
2019-03-26 18:19:55 +11:00
|
|
|
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" }
|
|
|
|
}
|
|
|
|
}
|