aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2010-01-27 11:48:46 +0100
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2010-01-27 11:50:06 +0100
commitf905c9901e7cb9436338d5e6de7575802f8af0c8 (patch)
tree99e9d7a418ec5c88f982922611cce7c94cac9cc2 /share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml
parent69f6742d50e87b0551126dbbc52f4a5d4168eb64 (diff)
QmlDesigner.propertyEditor: update of the property editor
Diffstat (limited to 'share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml')
-rw-r--r--share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml24
1 files changed, 13 insertions, 11 deletions
diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml
index 84db9bbc25..e97a6646cc 100644
--- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml
+++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml
@@ -4,13 +4,13 @@ QFrame {
styleSheetFile: "switch.css";
property var specialModeIcon;
specialModeIcon: "images/standard.png";
- maximumWidth: 286;
- minimumWidth: 286;
+ maximumWidth: 300;
+ minimumWidth: 300;
layout: QHBoxLayout {
- topMargin: 4;
+ topMargin: 0;
bottomMargin: 0;
- leftMargin: 4;
- rightMargin: 80;
+ leftMargin: 0;
+ rightMargin: 40;
spacing: 0;
QPushButton {
@@ -18,7 +18,8 @@ QFrame {
checked: true;
id: standardMode;
toolTip: "general item properties";
- iconFromFile: "images/rect-icon.png";
+ //iconFromFile: "images/rect-icon.png";
+ text: "Basic"
onClicked: {
extendedMode.checked = false;
layoutMode.checked = false;
@@ -35,7 +36,8 @@ QFrame {
checked: false;
id: specialMode;
toolTip: "type specific properties";
- iconFromFile: specialModeIcon;
+ text: ""
+ visible: false
onClicked: {
extendedMode.checked = false;
standardMode.checked = false;
@@ -51,8 +53,8 @@ QFrame {
id: extendedMode;
toolTip: "extended properties";
checkable: true;
- checked: false;
- iconFromFile: "images/extended.png";
+ checked: false;
+ text: "Advanced"
onClicked: {
standardMode.checked = false;
layoutMode.checked = false;
@@ -68,8 +70,8 @@ QFrame {
id: layoutMode;
checkable: true;
checked: false;
- toolTip: "layout properties";
- iconFromFile: "images/layout.png";
+ toolTip: "layout properties";
+ text: "Anchor";
onClicked: {
extendedMode.checked = false;
standardMode.checked = false;