diff options
Diffstat (limited to 'components/CheckBox.qml')
-rw-r--r-- | components/CheckBox.qml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/components/CheckBox.qml b/components/CheckBox.qml new file mode 100644 index 00000000..632dce2d --- /dev/null +++ b/components/CheckBox.qml @@ -0,0 +1,26 @@ +import QtQuick 1.0 +import "../../../components" as Components +import "../plugin" + +// jb : Size should not depend on background, we should make it consistent + +Components.CheckBox{ + id:checkbox + property variant text + width:100 + height:18 + + background: QStyleBackground { + id:styleitem + style:QStyleItem { + elementType:"checkbox" + sunken:pressed + on:checked || pressed + hover:containsMouse + text:checkbox.text + enabled:checkbox.enabled + } + } + checkmark: null +} + |