/usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Breeze/DemoPage2.qml is in qml-module-qtquick-controls-styles-breeze 4:5.12.4-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | import QtQuick 2.2
import QtQuick.Controls 1.1
import QtQuick.Layouts 1.1
GridLayout {
SystemPalette { id: sysPalette; colorGroup: SystemPalette.Active }
anchors.fill: parent
anchors.margins: 16
Layout.minimumWidth: 400
Layout.minimumHeight: 300
columns: 3
rows: 3
rowSpacing: 16
columnSpacing: 8
ComboBox {
Layout.column: 0
Layout.row: 0
Layout.alignment: Qt.AlignHCenter
style: ComboBoxStyle{}
currentIndex: 0
model: [ "ComboBox", "Apple", "Coconut" ]
}
ComboBox {
enabled: false
Layout.column: 0
Layout.row: 1
Layout.alignment: Qt.AlignHCenter
style: ComboBoxStyle{}
currentIndex: 0
model: [ "ComboBox", "Apple", "Coconut" ]
}
ComboBox {
Layout.column: 1
Layout.row: 0
Layout.alignment: Qt.AlignHCenter
style: ComboBoxStyle{}
currentIndex: 0
editable: true
model: [ "Editable ComboBox", "Apple", "Coconut" ]
}
SpinBox {
Layout.column: 1
Layout.row: 1
Layout.alignment: Qt.AlignHCenter
Layout.minimumWidth: 148
style: SpinBoxStyle{}
minimumValue: 0
maximumValue: 100
value: 42
}
TextField {
Layout.column: 2
Layout.row: 0
Layout.alignment: Qt.AlignHCenter
Layout.minimumWidth: 148
style: TextFieldStyle{}
text: "Text field"
}
TextField {
enabled: false
Layout.column: 2
Layout.row: 1
Layout.alignment: Qt.AlignHCenter
Layout.minimumWidth: 148
style: TextFieldStyle{}
text: "Disabled text field"
}
ToolButton {
anchors.margins: 8
Layout.column: 0
Layout.row: 2
Layout.alignment: Qt.AlignHCenter
style: ToolButtonStyle{}
text: "Tool Button"
iconName: "edit-cut"
// checked: true
// onClicked: checked = !checked;
}
RowLayout {
Layout.column: 1
Layout.row: 2
Layout.alignment: Qt.AlignHCenter
Switch {
checked: true
style: SwitchStyle{}
}
Label {
text: "Switch"
}
}
RowLayout {
Layout.column: 2
Layout.row: 2
Layout.alignment: Qt.AlignHCenter
BusyIndicator {
anchors.margins: 8
style:BusyIndicatorStyle{}
}
Label {
text: "Busy Indicator"
}
}
}
|