summaryrefslogtreecommitdiff
path: root/Course/Detail/Classic/Content/Main/TabContents/Instructor/ListInlineItem.ui.qml
blob: 78cfcb785d5ab3bfe2a22e8df8738f44fa8dad29 (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
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import QtGraphicalEffects 1.15

RowLayout {

	Rectangle {
		id: inlineItemIconBg
		radius: 100
		color: "#4dfd7e14"
		Layout.preferredHeight: 42
		Layout.preferredWidth: 42
		Layout.minimumHeight: 42
		Layout.minimumWidth: 42

		Image {
			id: inlineItemIcon
			anchors.verticalCenter: parent.verticalCenter
			source: "../../../../../../../Material/svg/filled/school.svg"
			anchors.horizontalCenter: parent.horizontalCenter
			fillMode: Image.PreserveAspectFit
			Layout.preferredHeight: 12
			Layout.preferredWidth: 12
			Layout.minimumHeight: 12
			Layout.minimumWidth: 12

			ColorOverlay {
				anchors.fill: inlineItemIcon
				source: inlineItemIcon
				color: "#fd7e14"
			}
		}
	}

	Label {
		id: instructorTitle
		color: "#000000"
		text: qsTr("List inline item metrics")
		font.styleName: "Regular"
		font.pointSize: 14
		font.family: "roboto"
	}
}