moment/src/qml/SidePane/PaneToolBar.qml

30 lines
691 B
QML
Raw Normal View History

2019-07-07 23:52:41 -04:00
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick.Layouts 1.12
import "../Base"
2019-03-25 18:29:46 -04:00
HRowLayout {
id: toolBar
2019-03-25 18:29:46 -04:00
property alias roomFilter: filterField.text
Layout.fillWidth: true
Layout.preferredHeight: theme.baseElementsHeight
2019-03-25 18:29:46 -04:00
2019-07-10 15:03:05 -04:00
HUIButton {
2019-04-28 15:13:18 -04:00
iconName: "settings"
backgroundColor: theme.sidePane.settingsButton.background
2019-07-06 17:29:32 -04:00
Layout.preferredHeight: parent.height
2019-04-28 15:13:18 -04:00
}
2019-03-25 18:29:46 -04:00
HTextField {
2019-03-25 18:29:46 -04:00
id: filterField
placeholderText: qsTr("Filter rooms")
backgroundColor: theme.sidePane.filterRooms.background
2019-03-25 18:29:46 -04:00
Layout.fillWidth: true
Layout.preferredHeight: parent.height
2019-03-25 18:29:46 -04:00
}
}