moment/harmonyqml/components/sidePane/HToolBar.qml

50 lines
971 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
import "../base" as Base
2019-03-26 09:29:46 +11:00
RowLayout {
id: "toolBar"
Layout.fillWidth: true
Layout.maximumHeight: 32
spacing: 0
HToolButton {
2019-03-26 09:29:46 +11:00
visible: ! toolBarIsBig()
iconName: "reduced_menu"
tooltip: "Menu"
}
HToolButton {
2019-03-26 09:29:46 +11:00
iconName: "settings"
tooltip: "Settings"
}
HToolButton {
2019-03-26 09:29:46 +11:00
iconName: "add_account"
tooltip: "Add new account"
}
HToolButton {
2019-03-26 09:29:46 +11:00
iconName: "set_status"
tooltip: "Set status for all accounts"
}
HToolButton {
2019-03-26 09:29:46 +11:00
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" }
}
}