2019-04-29 05:45:42 +10:00
|
|
|
import QtQuick.Layouts 1.3
|
2019-04-29 05:18:36 +10:00
|
|
|
import "../Base"
|
2019-03-26 09:29:46 +11:00
|
|
|
|
2019-04-29 05:18:36 +10:00
|
|
|
HRowLayout {
|
2019-04-21 07:45:51 +10:00
|
|
|
id: toolBar
|
2019-03-26 09:29:46 +11:00
|
|
|
|
2019-04-29 02:08:54 +10:00
|
|
|
Layout.fillWidth: true
|
2019-05-13 05:57:18 +10:00
|
|
|
Layout.preferredHeight: HStyle.bottomElementsHeight
|
2019-03-26 09:29:46 +11:00
|
|
|
|
2019-04-29 05:18:36 +10:00
|
|
|
HButton {
|
2019-04-29 05:13:18 +10:00
|
|
|
iconName: "settings"
|
2019-04-29 05:18:36 +10:00
|
|
|
backgroundColor: HStyle.sidePane.settingsButton.background
|
2019-04-29 05:13:18 +10:00
|
|
|
}
|
2019-03-26 09:29:46 +11:00
|
|
|
|
2019-04-29 05:18:36 +10:00
|
|
|
HTextField {
|
2019-03-26 09:29:46 +11:00
|
|
|
id: filterField
|
|
|
|
placeholderText: qsTr("Filter rooms")
|
2019-04-29 05:18:36 +10:00
|
|
|
backgroundColor: HStyle.sidePane.filterRooms.background
|
2019-04-29 02:08:54 +10:00
|
|
|
|
2019-05-12 07:13:53 +10:00
|
|
|
onTextChanged: Backend.setRoomFilter(text)
|
|
|
|
|
2019-03-26 09:29:46 +11:00
|
|
|
Layout.fillWidth: true
|
2019-05-13 05:57:18 +10:00
|
|
|
Layout.preferredHeight: parent.height
|
2019-03-26 09:29:46 +11:00
|
|
|
}
|
|
|
|
}
|