plasma-framework/tests/components/checkbox3.qml
David Edmundson a3acfbfce6 Add manual test for changing colorscope in components
Summary: For quickly other bugs in PC3

Test Plan:
Opened qmlscene on some files
It's only for unit tests anyway

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D25822
2019-12-09 20:59:57 +00:00

63 lines
1.4 KiB
QML

import QtQuick 2.0
import org.kde.plasma.components 3.0 as PlasmaComponents
import QtQuick.Layouts 1.2
ComponentBase {
Grid {
anchors.fill: parent
anchors.margins: 20
spacing: 4
columns: 2
PlasmaComponents.Label {
text: "text"
}
PlasmaComponents.CheckBox {
text: "Some awesome checkbox"
}
PlasmaComponents.Label {
text: "focus"
}
PlasmaComponents.CheckBox {
text: "Some awesome checkbox"
focus: true
}
PlasmaComponents.Label {
text: "checked"
}
PlasmaComponents.CheckBox {
text: "Some awesome checkbox"
checkState: Qt.Checked
}
PlasmaComponents.Label {
text: "tri-state"
}
PlasmaComponents.CheckBox {
text: "Some awesome checkbox"
checkState: Qt.PartiallyChecked
}
PlasmaComponents.Label {
text: "disabled"
}
PlasmaComponents.CheckBox {
text: "Some awesome checkbox"
enabled: false
}
PlasmaComponents.Label {
text: "disabled and checked"
}
PlasmaComponents.CheckBox {
text: "Some awesome checkbox"
enabled: false
checkState: Qt.Checked
}
}
}