summaryrefslogtreecommitdiff
path: root/src/ToolButton.qml
blob: 98b2dfebf805f460ad4a19ca8504a71bf77cdc86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
        }
    }
}