Commit 88300983 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: adding more tooltips

Adding missing tooltips

Task-number: QTCREATORBUG-3525
parent 8ae0af4f
......@@ -26,6 +26,7 @@ QWidget {
fixedHeight: 28
height: fixedHeight
styleSheetFile: "anchortop.css";
toolTip: enabled ? qsTr("Set top anchor") : qsTr("Setting anchors in states is not supported.")
checked: anchorBackend.topAnchored;
onReleased: {
......@@ -49,6 +50,7 @@ QWidget {
height: fixedHeight
styleSheetFile: "anchorbottom.css";
toolTip: enabled ? qsTr("Set bottom anchor") : qsTr("Setting anchors in states is not supported.")
checked: anchorBackend.bottomAnchored;
onReleased: {
......@@ -71,6 +73,7 @@ QWidget {
height: fixedHeight
styleSheetFile: "anchorleft.css";
toolTip: enabled ? qsTr("Set left anchor") : qsTr("Setting anchors in states is not supported.")
checked: anchorBackend.leftAnchored;
onReleased: {
......@@ -93,6 +96,7 @@ QWidget {
height: fixedHeight
styleSheetFile: "anchorright.css";
toolTip: enabled ? qsTr("Set right anchor") : qsTr("Setting anchors in states is not supported.")
checked: anchorBackend.rightAnchored;
onReleased: {
......@@ -125,6 +129,7 @@ QWidget {
height: fixedHeight
styleSheetFile: "anchorfill.css";
toolTip: enabled ? qsTr("Fill to parent") : qsTr("Setting anchors in states is not supported.")
checkable: true
onReleased: {
......@@ -157,6 +162,7 @@ QWidget {
height: fixedHeight
styleSheetFile: "anchorvertical.css";
toolTip: enabled ? qsTr("Set vertical anchor") : qsTr("Setting anchors in states is not supported.")
checked: anchorBackend.verticalCentered;
onReleased: {
......@@ -181,6 +187,7 @@ QWidget {
height: fixedHeight
styleSheetFile: "anchorhorizontal.css";
toolTip: enabled ? qsTr("Set horizontal anchor") : qsTr("Setting anchors in states is not supported.")
checked: anchorBackend.horizontalCentered;
onReleased: {
......
......@@ -175,6 +175,7 @@ QExtGroupBox {
fixedWidth: 22;
width: fixedWidth
height: fixedHeight
toolTip: qsTr("Color editor")
onClicked: {
if (colorGroupBox.animated)
......
......@@ -50,6 +50,7 @@ QWidget {
styleSheetFile: "styledbuttonleft.css"
iconFromFile: "images/icon_color_solid.png"
toolTip: qsTr("Solid color")
onToggled: {
if (checked) {
......@@ -74,6 +75,7 @@ QWidget {
styleSheetFile: "styledbuttonmiddle.css"
iconFromFile: "images/icon_color_gradient.png"
toolTip: qsTr("Gradient")
onToggled: {
if (checked) {
......@@ -97,6 +99,7 @@ QWidget {
fixedHeight: 28
styleSheetFile: "styledbuttonright.css"
iconFromFile: "images/icon_color_none.png"
toolTip: qsTr("Transparent")
onToggled: {
if (checked) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment