Commit 7e19582a authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: adding tooltips

Task-number: QTCREATORBUG-5480
Change-Id: Ia33cb40f0d34eb8c29f6c490051a373820a7ebc3
Reviewed-on: http://codereview.qt.nokia.com/1739

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent 6f30393a
...@@ -299,10 +299,12 @@ QExtGroupBox { ...@@ -299,10 +299,12 @@ QExtGroupBox {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: "H" text: "H"
toolTip: qsTr("Hue")
fixedWidth: 15 fixedWidth: 15
} }
QSpinBox { QSpinBox {
toolTip: qsTr("Hue")
id: hueSpinBox id: hueSpinBox
maximum: 359 maximum: 359
value: colorControl.hue; value: colorControl.hue;
...@@ -316,9 +318,11 @@ QExtGroupBox { ...@@ -316,9 +318,11 @@ QExtGroupBox {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: "S" text: "S"
toolTip: qsTr("Saturation")
fixedWidth: 15 fixedWidth: 15
} }
QSpinBox { QSpinBox {
toolTip: qsTr("Saturation")
id: saturationSpinBox id: saturationSpinBox
maximum: 255 maximum: 255
value: colorControl.saturation; value: colorControl.saturation;
...@@ -333,9 +337,11 @@ QExtGroupBox { ...@@ -333,9 +337,11 @@ QExtGroupBox {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: "B" text: "B"
toolTip: qsTr("Brightness")
fixedWidth: 15 fixedWidth: 15
} }
QSpinBox { QSpinBox {
toolTip: qsTr("Brightness")
id: valueSpinBox id: valueSpinBox
maximum: 255 maximum: 255
value: colorControl.value; value: colorControl.value;
...@@ -350,9 +356,11 @@ QExtGroupBox { ...@@ -350,9 +356,11 @@ QExtGroupBox {
topMargin: 12 topMargin: 12
Label { Label {
text: "A" text: "A"
toolTip: qsTr("Alpha")
fixedWidth: 15 fixedWidth: 15
} }
QSpinBox { QSpinBox {
toolTip: qsTr("Alpha")
id: alphaSpinBox id: alphaSpinBox
maximum: 255 maximum: 255
value: colorControl.alpha; value: colorControl.alpha;
......
Supports Markdown
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