summaryrefslogtreecommitdiff
path: root/res/gui
diff options
context:
space:
mode:
Diffstat (limited to 'res/gui')
-rw-r--r--res/gui/EventsPage.qml23
1 files changed, 6 insertions, 17 deletions
diff --git a/res/gui/EventsPage.qml b/res/gui/EventsPage.qml
index ad36d15..33df246 100644
--- a/res/gui/EventsPage.qml
+++ b/res/gui/EventsPage.qml
@@ -26,10 +26,10 @@ Page {
ComboBox {
- width: 200
+ width: 300
height: 50
- displayText: "Disziplin: " + currentText
+ displayText: "Discipline: " + currentText
model: myListModel
textRole: "text"
@@ -236,22 +236,11 @@ Page {
}
}
}
- ComboBox {
- width: 200
+ TextField {
height: 50
-
- displayText: "Sort by: " + currentText
- model: ["hu", "hi"]
-
- }
-
- ComboBox {
width: 200
- height: 50
-
- displayText: "Filter: " + currentText
- model: ["hu", "hi"]
-
+ placeholderText: "Search"
+ onTextChanged: filter.setFilterFixedString(text)
}
}
@@ -262,7 +251,7 @@ Page {
height: parent.height
width: parent.width
spacing: 20
- model: sports
+ model: filter
delegate: ItemDelegate {
required property string eventName
required property list<string> competitors