First commit
There was history before but now there is no more.
This commit is contained in:
commit
8d57bfb1ae
35 changed files with 2231 additions and 0 deletions
34
Filter.qml
Normal file
34
Filter.qml
Normal file
|
@ -0,0 +1,34 @@
|
|||
// SPDX-License-Identifier: Unlicense
|
||||
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.13
|
||||
import QtQuick.Layouts 1.6
|
||||
|
||||
GridLayout {
|
||||
property var tags: []
|
||||
|
||||
function check(item) {
|
||||
if (item.tag === tags.currentText)
|
||||
return true
|
||||
return false
|
||||
}
|
||||
|
||||
signal changed
|
||||
|
||||
columns: 2
|
||||
|
||||
Label { text: qsTr('Tag') }
|
||||
ComboBox {
|
||||
model: tags
|
||||
textRole: 'tag'
|
||||
Layout.fillWidth: true
|
||||
onCurrentTextChanged: changed()
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr('Filters are not implemented yet! 😊')
|
||||
wrapMode: Text.Wrap
|
||||
Layout.fillWidth: true
|
||||
Layout.columnSpan: 2
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue