Use QtQuick components for the options

This way we can test it with debug information without getting lots of
unneeded information.
This commit is contained in:
Aleix Pol 2014-10-31 19:01:24 +01:00
parent e967049bee
commit 9d41131ac7

View File

@ -20,6 +20,7 @@
import QtQuick 2.0
import QtQuick.Layouts 1.1
import QtQuick.Controls 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
@ -38,7 +39,7 @@ Item
margins: 10
}
PlasmaComponents.Button {
Button {
text: "left"
checkable: true
checked: true
@ -53,7 +54,7 @@ Item
theItem.enabledBorders &=~PlasmaCore.FrameSvg.LeftBorder;
}
}
PlasmaComponents.Button {
Button {
text: "right"
checkable: true
checked: true
@ -69,7 +70,7 @@ Item
theItem.enabledBorders &=~PlasmaCore.FrameSvg.RightBorder;
}
}
PlasmaComponents.Button {
Button {
text: "top"
checkable: true
checked: true
@ -85,7 +86,7 @@ Item
theItem.enabledBorders &=~PlasmaCore.FrameSvg.TopBorder;
}
}
PlasmaComponents.Button {
Button {
text: "bottom"
checkable: true
checked: true