~bzoltan/kubuntu-packaging/decouple_cmake_plugin

« back to all changes in this revision

Viewing changes to share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/RoundedPanel.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:
55
55
    }
56
56
 
57
57
    border.width: roundLeft || roundRight ? 1 : 0
58
 
    border.color: roundLeft ? "#7f7f7f" : "#2e2e2e"
 
58
    border.color: "#2e2e2e"
59
59
 
60
60
    Rectangle {
61
 
        gradient: parent.gradient
62
61
        anchors.fill: parent
63
 
        visible: roundLeft
 
62
        visible: roundLeft && !roundRight
64
63
        anchors.leftMargin: 10
65
64
        anchors.topMargin: 1
66
65
        anchors.bottomMargin: 1
 
66
        Component.onCompleted: {
 
67
            gradient = parent.gradient
 
68
        }
67
69
    }
68
70
 
69
71
    Rectangle {
70
 
        gradient: parent.gradient
71
72
        anchors.fill: parent
72
 
        visible: roundRight
 
73
        visible: roundRight && !roundLeft
73
74
        anchors.rightMargin: 10
74
75
        anchors.topMargin: 1
75
76
        anchors.bottomMargin: 1
 
77
        Component.onCompleted: {
 
78
            gradient = parent.gradient
 
79
        }
76
80
    }
77
81
 
78
82
    Rectangle {
79
 
        color: "#7f7f7f"
 
83
        color: "#2e2e2e"
80
84
        anchors.top: parent.top
81
85
        anchors.left: parent.left
82
86
        anchors.right: parent.right
94
98
        anchors.leftMargin: roundLeft ? 2 : 0
95
99
        anchors.rightMargin: roundRight ? 2 : 0
96
100
    }
 
101
 
97
102
}