forked from qt-creator/qt-creator
Change name of "Close" button to the more accurate term "Clear"
Change-Id: I24e7d27a4ef43ce1579e5068dae0d0f15eda24e6 Reviewed-on: http://codereview.qt.nokia.com/996 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
This commit is contained in:
@@ -100,12 +100,12 @@ Item {
|
|||||||
id: rect
|
id: rect
|
||||||
radius: 4
|
radius: 4
|
||||||
opacity: 0.3
|
opacity: 0.3
|
||||||
width: closeText.width+4
|
width: clearText.width+4
|
||||||
height: closeText.height+4
|
height: clearText.height+4
|
||||||
x: closeText.x-2
|
x: clearText.x-2
|
||||||
y: closeText.y-2
|
y: clearText.y-2
|
||||||
}
|
}
|
||||||
Text { id: closeText; text: qsTr("Close"); color: "white"; anchors.centerIn: parent }
|
Text { id: clearText; text: qsTr("Clear"); color: "white"; anchors.centerIn: parent }
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: mouseArea
|
id: mouseArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
@@ -139,12 +139,12 @@ Item {
|
|||||||
id: btnRect
|
id: btnRect
|
||||||
radius: 4
|
radius: 4
|
||||||
opacity: 0
|
opacity: 0
|
||||||
width: closeText.width+4
|
width: text.width+4
|
||||||
height: closeText.height+4
|
height: text.height+4
|
||||||
x: closeText.x-2
|
x: text.x-2
|
||||||
y: closeText.y-2
|
y: text.y-2
|
||||||
}
|
}
|
||||||
Text { id: closeText; text: model.text; color: "white"; anchors.centerIn: parent }
|
Text { id: text; text: model.text; color: "white"; anchors.centerIn: parent }
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: mouseArea
|
id: mouseArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
Reference in New Issue
Block a user