Commit 044ca68e authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: qml cleanup

parent d1e45079
import Qt 4.6 import Qt 4.6
import Bauhaus 1.0 import Bauhaus 1.0
GroupBox { QWidget {
layout: QVBoxLayout {
topMargin: 0
bottomMargin: 0
leftMargin: 0
rightMargin: 0
spacing: 0
GroupBox {
maximumHeight: 240; maximumHeight: 240;
finished: finishedNotify; finished: finishedNotify;
...@@ -61,4 +70,7 @@ GroupBox { ...@@ -61,4 +70,7 @@ GroupBox {
maximumValue: 2000; maximumValue: 2000;
} }
} }
}
}
} }
import Qt 4.6 import Qt 4.6
import Bauhaus 1.0 import Bauhaus 1.0
GroupBox { QWidget {
layout: QVBoxLayout {
topMargin: 0
bottomMargin: 0
leftMargin: 0
rightMargin: 0
spacing: 0
GroupBox {
GroupBox {
maximumHeight: 200; maximumHeight: 200;
finished: finishedNotify; finished: finishedNotify;
...@@ -26,4 +36,6 @@ GroupBox { ...@@ -26,4 +36,6 @@ GroupBox {
maximumValue: 200; maximumValue: 200;
} }
} }
} }
}
}
...@@ -100,9 +100,9 @@ QWidget { //This is a special doubleSpinBox that does color coding for states ...@@ -100,9 +100,9 @@ QWidget { //This is a special doubleSpinBox that does color coding for states
onFocusChanged: { onFocusChanged: {
if (focus) if (focus)
doubleSpinBox.backendValue.lock(); transaction.start();
else else
doubleSpinBox.backendValue.unlock(); transaction.end();
} }
} }
} }
......
import Qt 4.6 import Qt 4.6
import Bauhaus 1.0 import Bauhaus 1.0
GroupBox { QWidget {
layout: QVBoxLayout {
topMargin: 0
bottomMargin: 0
leftMargin: 0
rightMargin: 0
spacing: 0
GroupBox {
GroupBox {
finished: finishedNotify; finished: finishedNotify;
caption: "Flickable"; caption: "Flickable";
...@@ -106,4 +116,6 @@ GroupBox { ...@@ -106,4 +116,6 @@ GroupBox {
} }
} }
} }
} }
}
}
import Qt 4.6 import Qt 4.6
import Bauhaus 1.0 import Bauhaus 1.0
GroupBox { QWidget {
layout: QVBoxLayout {
topMargin: 0
bottomMargin: 0
leftMargin: 0
rightMargin: 0
spacing: 0
GroupBox {
GroupBox {
maximumHeight: 200; maximumHeight: 200;
finished: finishedNotify; finished: finishedNotify;
} }
}
}
import Qt 4.6 import Qt 4.6
import Bauhaus 1.0 import Bauhaus 1.0
QWidget {
layout: QVBoxLayout {
topMargin: 0
bottomMargin: 0
leftMargin: 0
rightMargin: 0
spacing: 0
GroupBox {
GroupBox { GroupBox {
maximumHeight: 200; maximumHeight: 200;
...@@ -47,3 +57,6 @@ GroupBox { ...@@ -47,3 +57,6 @@ GroupBox {
} }
} }
} }
}
}
import Qt 4.6 import Qt 4.6
import Bauhaus 1.0 import Bauhaus 1.0
GroupBox {
import Qt 4.6
import Bauhaus 1.0
QWidget {
layout: QVBoxLayout {
topMargin: 0
bottomMargin: 0
leftMargin: 0
rightMargin: 0
spacing: 0
GroupBox {
maximumHeight: 240; maximumHeight: 240;
finished: finishedNotify; finished: finishedNotify;
...@@ -53,4 +65,8 @@ GroupBox { ...@@ -53,4 +65,8 @@ GroupBox {
} }
} }
}
QScrollArea {}
}
} }
import Qt 4.6 import Qt 4.6
import Bauhaus 1.0 import Bauhaus 1.0
GroupBox { QWidget {
layout: QVBoxLayout {
topMargin: 0
bottomMargin: 0
leftMargin: 0
rightMargin: 0
spacing: 0
GroupBox {
GroupBox {
finished: finishedNotify; finished: finishedNotify;
caption: "List View"; caption: "List View";
...@@ -72,4 +82,7 @@ GroupBox { ...@@ -72,4 +82,7 @@ GroupBox {
} }
} }
} }
} }
}
}
import Qt 4.6 import Qt 4.6
import Bauhaus 1.0 import Bauhaus 1.0
GroupBox { QWidget {
layout: QVBoxLayout {
topMargin: 0
bottomMargin: 0
leftMargin: 0
rightMargin: 0
spacing: 0
GroupBox {
GroupBox {
maximumHeight: 200; maximumHeight: 200;
finished: finishedNotify; finished: finishedNotify;
...@@ -26,4 +36,6 @@ GroupBox { ...@@ -26,4 +36,6 @@ GroupBox {
maximumValue: 200; maximumValue: 200;
} }
} }
} }
}
}
...@@ -22,10 +22,10 @@ QWidget { ...@@ -22,10 +22,10 @@ QWidget {
} }
onSliderPressed: { onSliderPressed: {
backendValue.lock(); transaction.start();
} }
onSliderReleased: { onSliderReleased: {
backendValue.unlock(); transaction.end();
} }
} }
} }
...@@ -89,9 +89,9 @@ QWidget { //This is a special spinBox that does color coding for states ...@@ -89,9 +89,9 @@ QWidget { //This is a special spinBox that does color coding for states
onFocusChanged: { onFocusChanged: {
if (focus) if (focus)
spinBox.backendValue.lock(); transaction.start();
else else
spinBox.backendValue.unlock(); transaction.end();
} }
onEditingFinished: { onEditingFinished: {
focus = false; focus = false;
......
import Qt 4.6 import Qt 4.6
import Bauhaus 1.0 import Bauhaus 1.0
GroupBox { QWidget {
layout: QVBoxLayout {
topMargin: 0
bottomMargin: 0
leftMargin: 0
rightMargin: 0
spacing: 0
GroupBox {
GroupBox {
maximumHeight: 200; maximumHeight: 200;
finished: finishedNotify; finished: finishedNotify;
...@@ -76,4 +86,7 @@ GroupBox { ...@@ -76,4 +86,7 @@ GroupBox {
} }
} }
} }
} }
}
}
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