~ubuntu-branches/ubuntu/quantal/kde-runtime/quantal

« back to all changes in this revision

Viewing changes to plasma/declarativeimports/plasmacomponents/platformcomponents/touch/ToolButton.qml

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-10-02 15:13:55 UTC
  • mfrom: (1.1.16) (1.2.3 sid)
  • Revision ID: package-import@ubuntu.com-20121002151355-anrm56sngrhqbdsx
Tags: 4:4.9.2-0ubuntu1
* New upstream bugfix release
* Use 4.9.* on library versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
        Item {
140
140
            anchors.fill: parent
141
141
            property QtObject margins: QtObject {
142
 
                property int left: 8
143
 
                property int top: 8
144
 
                property int right: 8
145
 
                property int bottom: 8
 
142
                property int left: width/8
 
143
                property int top: width/8
 
144
                property int right: width/8
 
145
                property int bottom: width/8
146
146
            }
147
147
            Private.RoundShadow {
148
148
                anchors.fill: parent
227
227
 
228
228
        onPressed: internal.userPressed = true
229
229
        onReleased: internal.userPressed = false
 
230
        onCanceled: internal.userPressed = false
230
231
        onClicked: internal.clickButton()
231
232
    }
232
233
}