summaryrefslogtreecommitdiff
path: root/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-06-21 18:15:58 +0200
committerThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-06-22 15:53:02 +0000
commit8eeb657e75f1ed5ccbe0862fe935c9a4a9bffd90 (patch)
tree7e3cecff4ea9723b80ebc68ee234ac65e2bc54ff /share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick
parentadd38283897f598478fb750d026bb90bb58f74b1 (diff)
downloadqt-creator-8eeb657e75f1ed5ccbe0862fe935c9a4a9bffd90.tar.gz
QmlDesigner: Adding tool tips for anchoring
Task-number: QTCREATORBUG-13503 Change-Id: I2c65e47797ba77d3cc2e5b2c6723b1c010982d8f Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick')
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/AnchorRow.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/AnchorRow.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/AnchorRow.qml
index 288592235c..6602bf5ab0 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/AnchorRow.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/AnchorRow.qml
@@ -126,6 +126,7 @@ RowLayout {
exclusive: true
ButtonRowButton {
iconSource: verticalAnchor ? "../HelperWidgets/images/anchor-top.png" : "../HelperWidgets/images/anchor-left.png"
+ tooltip: verticalAnchor ? qsTr("Anchor to the top of the target.") : qsTr("Anchor to the left of the target.")
onClicked: {
if (!invertRelativeTargets)
sameEdgeButtonClicked();
@@ -136,12 +137,14 @@ RowLayout {
ButtonRowButton {
iconSource: verticalAnchor ? "../HelperWidgets/images/anchor-vertical.png" : "../HelperWidgets/images/anchor-horizontal.png"
+ tooltip: verticalAnchor ? qsTr("Anchor to the vertical center of the target.") : qsTr("Anchor to the horizontal center of the target.")
onClicked: centerButtonClicked();
}
ButtonRowButton {
iconSource: verticalAnchor ? "../HelperWidgets/images/anchor-bottom.png" : "../HelperWidgets/images/anchor-right.png"
+ tooltip: verticalAnchor ? qsTr("Anchor to the bottom of the target.") : qsTr("Anchor to the right of the target.")
onClicked: {
if (!invertRelativeTargets)
oppositeEdgeButtonClicked();