diff options
Diffstat (limited to 'src/widgets/ToolButton.qml')
-rw-r--r-- | src/widgets/ToolButton.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/widgets/ToolButton.qml b/src/widgets/ToolButton.qml new file mode 100644 index 00000000..98b2dfeb --- /dev/null +++ b/src/widgets/ToolButton.qml @@ -0,0 +1,18 @@ +import QtQuick 1.0 +import "../../../components" as Components +import "../plugin" + +Components.Button { + id:button + minimumWidth:30 + background: QStyleBackground { + anchors.fill:parent + style: QStyleItem { + elementType: "toolbutton" + on: pressed | checked + sunken: pressed + raised: containsMouse + hover: containsMouse + } + } +} |