summaryrefslogtreecommitdiff
path: root/Course/Grid/FilterBar.ui.qml
blob: 65312612ab9a5289116ee30abf5d0359a90f07fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15

Rectangle {
	id: bgLightBorder
	color: "#f5f7f9"
	height: filterBarControl.height
	width: filterBarControl.width
	Layout.maximumHeight: filterBarControl.height
	radius: 8
	border.color: "#33000000"
	GridLayout {
		id: filterBarControl
		anchors.fill: parent
		rows: 6
		columns: 6
		rowSpacing: 16
		columnSpacing: 16
		flow: GridLayout.LeftToRight
		Layout.fillWidth: true
		TextField {
			id: keywordInput
			Layout.fillWidth: true
			font.family: "Roboto"
			font.pointSize: 16
			Layout.bottomMargin: 24
			Layout.topMargin: 24
			Layout.leftMargin: 24
			placeholderText: "Enter keyword"
		}

		ComboBox {
			id: categories
			Layout.fillWidth: true
			font.pointSize: 16
			font.family: "Roboto"
			displayText: "Categories"
		}
		ComboBox {
			id: priceLevel
			Layout.fillWidth: true
			font.pointSize: 16
			font.family: "Roboto"
			displayText: "Price level"
		}
		ComboBox {
			id: skillLevel
			Layout.fillWidth: true
			font.pointSize: 16
			font.family: "Roboto"
			displayText: "Skill level"
		}
		ComboBox {
			id: language
			Layout.fillWidth: true
			font.pointSize: 16
			font.family: "Roboto"
			displayText: "Languange"
		}

		Button {
			id: searchButton
			Layout.fillWidth: true
			icon.color: "#ffffff"
			icon.source: "Material/svg/filled/search.svg"
			Layout.rightMargin: 24
			display: AbstractButton.IconOnly
		}
	}
}