blob: 4f97c29e105d7db89eeb783401340b7d29b4a656 (
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
72
|
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import QtGraphicalEffects 1.15
import Eduport 1.4
import "../Label" as Lbl
MenuItem {
id: menuItem
contentItem: ColumnLayout {
Loader {
Layout.fillWidth: true
Layout.topMargin: -24
Layout.leftMargin: -8
Layout.rightMargin: -8
sourceComponent: menuSeparator
}
RowLayout {
Layout.margins: 16
Loader {
property string imageSource: menuItem
.icon.source
property int imageWidth: 50
property int imageHeight: 50
property real maskRadius: 5.2
sourceComponent: image
Layout.alignment: Qt.AlignTop
}
ColumnLayout {
RowLayout {
Lbl.H6 {
text: menuItem.text
Layout.fillWidth: true
}
Button {
Layout.alignment: Qt.AlignTop
contentItem: Image {
source:
"../Bootstrap/icons/x.svg"
ColorOverlay {
color: Eduport
.bsGray600
source: parent
anchors.fill:
parent
}
}
background: Rectangle {
color: "transparent"
implicitWidth: 13
}
}
}
ComboBox {
model: [1, 2, 3, 4, 5]
}
}
}
}
background: Rectangle {
color: "transparent"
}
}
|