~ubuntu-branches/ubuntu/wily/qtdeclarative-opensource-src/wily-proposed

« back to all changes in this revision

Viewing changes to examples/quick/demos/stocqt/content/Button.qml

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo, Ricardo Salveti de Araujo, Timo Jyrinki
  • Date: 2014-06-19 02:39:21 UTC
  • mfrom: (0.1.18 experimental)
  • Revision ID: package-import@ubuntu.com-20140619023921-yb2oasnuetz9b0fc
Tags: 5.3.0-3ubuntu4
[ Ricardo Salveti de Araujo ]
* debian/control:
  - Updating dependencies as we now also have libqt5quickwidgets5-gles
* libqt5quickwidgets5.symbols: updating to allow gles variant

[ Timo Jyrinki ]
* Update libqt5quickparticles5.symbols from build logs

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    property bool buttonEnabled: false
48
48
    width: Math.max(64, txt.width + 16)
49
49
    height: 32
50
 
    color: buttonEnabled ? "#76644A" : "transparent"
51
 
    border.color: "#76644A"
52
 
    border.width: 1
 
50
    color: "transparent"
53
51
    MouseArea {
54
52
        anchors.fill: parent
55
53
        onClicked: button.clicked()
56
54
    }
57
55
    Text {
58
56
        anchors.centerIn: parent
59
 
        font.pixelSize: 18
60
 
        color: "#ecc089"
 
57
        font.family: "Open Sans"
 
58
        font.pointSize: 19
 
59
        font.weight: Font.DemiBold
 
60
        color: button.buttonEnabled ? "#000000" : "#14aaff"
61
61
        id: txt
62
62
    }
63
63
}