~bzoltan/kubuntu-packaging/decouple_cmake_plugin

« back to all changes in this revision

Viewing changes to share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomComboBoxStyle.qml

  • Committer: Timo Jyrinki
  • Date: 2013-12-02 09:16:15 UTC
  • mfrom: (1.1.29)
  • Revision ID: timo.jyrinki@canonical.com-20131202091615-xbj1os1f604ber1m
New upstream release candidate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    property color highlightColor: "orange"
37
37
    property color textColor: "#eee"
38
38
 
 
39
    __editor: Item {
 
40
 
 
41
    }
 
42
 
39
43
    background: Item {
40
 
        implicitWidth: 100
 
44
        implicitWidth: 120
41
45
        implicitHeight: 25
42
46
 
43
47
        RoundedPanel {
67
71
            opacity: 0.3
68
72
            visible: control.activeFocus
69
73
        }
 
74
 
 
75
        Rectangle {
 
76
            color: "#333"
 
77
            width: 1
 
78
            anchors.right: imageItem.left
 
79
            anchors.topMargin: 4
 
80
            anchors.bottomMargin: 4
 
81
            anchors.rightMargin: 6
 
82
            anchors.top: parent.top
 
83
            anchors.bottom: parent.bottom
 
84
        }
 
85
 
70
86
        Image {
71
87
            id: imageItem
72
88
            source: "images/down-arrow.png"
73
89
            anchors.verticalCenter: parent.verticalCenter
74
90
            anchors.right: parent.right
75
 
            anchors.rightMargin: 8
 
91
            anchors.rightMargin: 10
76
92
            opacity: control.enabled ? 0.7 : 0.5
77
93
        }
78
94
    }
82
98
        Text {
83
99
            id: textitem
84
100
            anchors.left: parent.left
85
 
            anchors.leftMargin: 4
 
101
            anchors.leftMargin: 14
86
102
            anchors.verticalCenter: parent.verticalCenter
87
103
            text: control.currentText
88
104
            renderType: Text.NativeRendering