moment/src/qml/SidePane/PaneToolBar.qml

27 lines
605 B
QML
Raw Normal View History

import QtQuick.Layouts 1.3
import "../Base"
2019-03-26 09:29:46 +11:00
HRowLayout {
id: toolBar
2019-03-26 09:29:46 +11:00
property alias roomFilter: filterField.text
Layout.fillWidth: true
Layout.preferredHeight: theme.bottomElementsHeight
2019-03-26 09:29:46 +11:00
HButton {
2019-04-29 05:13:18 +10:00
iconName: "settings"
backgroundColor: theme.sidePane.settingsButton.background
2019-07-07 07:29:32 +10:00
Layout.preferredHeight: parent.height
2019-04-29 05:13:18 +10:00
}
2019-03-26 09:29:46 +11:00
HTextField {
2019-03-26 09:29:46 +11:00
id: filterField
placeholderText: qsTr("Filter rooms")
backgroundColor: theme.sidePane.filterRooms.background
2019-03-26 09:29:46 +11:00
Layout.fillWidth: true
Layout.preferredHeight: parent.height
2019-03-26 09:29:46 +11:00
}
}