Newer
Older
// QGCRadioButton
Loader {
sourceComponent: ctlRowHeader
}
QGCRadioButton {
width: 100
height: 20
text: qsTr("Radio")
}
QGCRadioButton {
width: 100
height: 20
text: qsTr("Radio")
enabled: false
}
// QGCCheckBox
Loader {
sourceComponent: ctlRowHeader
}
QGCCheckBox {
width: 100
height: 20
text: qsTr("Check Box")
}
QGCCheckBox {
width: 100
height: 20
text: qsTr("Check Box")
enabled: false
}
// QGCTextField
Loader {
sourceComponent: ctlRowHeader
}
QGCTextField {
width: 100
height: 20
text: "QGCTextField"
}
QGCTextField {
width: 100
height: 20
text: "QGCTextField"
enabled: false
}
// QGCComboBox
Loader {
sourceComponent: ctlRowHeader
}
QGCComboBox {
width: 100
height: 20
model: [ qsTr("Item 1"), qsTr("Item 2"), qsTr("Item 3") ]
}
QGCComboBox {
width: 100
height: 20
model: [ qsTr("Item 1"), qsTr("Item 2"), qsTr("Item 3") ]
enabled: false
}
// SubMenuButton
Loader {
sourceComponent: ctlRowHeader
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
}
SubMenuButton {
width: 100
height: 100
text: qsTr("SUB MENU")
}
SubMenuButton {
width: 100
height: 100
text: qsTr("SUB MENU")
enabled: false
}
}
Rectangle {
width: leftGrid.width
height: 60
radius: 3
color: palette.alertBackground
border.color: palette.alertBorder
anchors.horizontalCenter: parent.horizontalCenter
Label {
text: "Alert Message"
color: palette.alertText
anchors.centerIn: parent
}
Item{
height: 10;
width: 1;
}
Row {
spacing: 10
anchors.horizontalCenter: parent.horizontalCenter
Loader {
property color backgroundColor: qgcPal.window
sourceComponent: arbBox
}
Loader {
property color backgroundColor: qgcPal.windowShade
sourceComponent: arbBox
}
Loader {
property color backgroundColor: qgcPal.windowShadeDark
sourceComponent: arbBox
}
}