Skip to content
Snippets Groups Projects
Commit b1dac076 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: cleanup of qml

There were invalid qml files.

ListViewSpecifics.qml
FlipableSpecifics.qml
FlickableSpecifics.qml

Since we do not support this components properly I just cleaned up
the files.

Task-number: BAUHAUS-676
parent f4b8f1f8
No related branches found
No related tags found
No related merge requests found
import Qt 4.7
import Bauhaus 1.0
//backendValue: backendValues.horizontalVelocity;
//backendValue: backendValues.verticalVelocity;
//backendValue: backendValues.maximumFlickVelocity;
//backendValue: backendValues.overShoot;
//boundsBehavior : enumeration
//contentHeight : int
//contentWidth : int
QWidget {
layout: QVBoxLayout {
topMargin: 0
bottomMargin: 0
leftMargin: 0
rightMargin: 0
spacing: 0
GroupBox {
spacing: 0
GroupBox {
finished: finishedNotify;
caption: qsTr("Flickable")
layout: QVBoxLayout {
topMargin: 15;
bottomMargin: 6;
leftMargin: 0;
rightMargin: 0;
QWidget {
id: contentWidget;
maximumHeight: 220;
layout: QHBoxLayout {
topMargin: 0;
bottomMargin: 0;
leftMargin: 10;
rightMargin: 10;
QWidget {
layout: QVBoxLayout {
topMargin: 0;
bottomMargin: 0;
leftMargin: 0;
rightMargin: 0;
QLabel {
minimumHeight: 20;
text: "Horizontal Velocity:"
font.bold: true;
}
QLabel {
minimumHeight: 20;
text: "Vertical Velocity:"
font.bold: true;
}
QLabel {
minimumHeight: 20;
text: "Maximum Flick Velocity:"
font.bold: true;
}
QLabel {
minimumHeight: 20;
text: "Over Shoot:"
font.bold: true;
}
}
}
QWidget {
layout: QVBoxLayout {
topMargin: 0;
bottomMargin: 0;
leftMargin: 0;
rightMargin: 0;
DoubleSpinBox {
id: horizontalVelocitySpinBox;
objectName: "horizontalVelocitySpinBox";
backendValue: backendValues.horizontalVelocity;
minimumWidth: 30;
minimum: 0.1
maximum: 10
singleStep: 0.1
baseStateFlag: isBaseState;
}
DoubleSpinBox {
id: verticalVelocitySpinBox;
objectName: "verticalVelocitySpinBox";
backendValue: backendValues.verticalVelocity;
minimumWidth: 30;
minimum: 0.1
maximum: 10
singleStep: 0.1
baseStateFlag: isBaseState;
}
DoubleSpinBox {
id: maximumVelocitySpinBox;
objectName: "maximumVelocitySpinBox";
backendValue: backendValues.maximumFlickVelocity;
minimumWidth: 30;
minimum: 0.1
maximum: 10
singleStep: 0.1
baseStateFlag: isBaseState;
}
CheckBox {
id: overshootCheckBox;
text: "overshoot";
backendValue: backendValues.overShoot;
baseStateFlag: isBaseState;
checkable: true;
}
}
}
}
}
caption: qsTr("Flickable")
}
}
}
}
}
\ No newline at end of file
......@@ -2,21 +2,4 @@ import Qt 4.7
import Bauhaus 1.0
QWidget {
layout: QVBoxLayout {
topMargin: 0
bottomMargin: 0
leftMargin: 0
rightMargin: 0
spacing: 0
GroupBox {
GroupBox {
maximumHeight: 200;
finished: finishedNotify;
}
}
}
}
......@@ -2,87 +2,5 @@ import Qt 4.7
import Bauhaus 1.0
QWidget {
layout: QVBoxLayout {
topMargin: 0
bottomMargin: 0
leftMargin: 0
rightMargin: 0
spacing: 0
GroupBox {
GroupBox {
finished: finishedNotify;
caption: qsTr("List View")
layout: QVBoxLayout {
topMargin: 15;
bottomMargin: 6;
leftMargin: 0;
rightMargin: 0;
QWidget {
id: contentWidget;
maximumHeight: 260;
layout: QHBoxLayout {
topMargin: 0;
bottomMargin: 0;
leftMargin: 10;
rightMargin: 10;
QWidget {
layout: QVBoxLayout {
topMargin: 0;
bottomMargin: 0;
leftMargin: 0;
rightMargin: 0;
QLabel {
minimumHeight: 22;
text: "Highlight:"
font.bold: true;
}
QLabel {
minimumHeight: 22;
text: "Spacing:"
font.bold: true;
}
}
}
QWidget {
layout: QVBoxLayout {
topMargin: 0;
bottomMargin: 0;
leftMargin: 0;
rightMargin: 0;
CheckBox {
id: highlightFollowsCurrentItemCheckBox;
text: "Follows";
backendValue: backendValues.highlightFollowsCurrentItem;
baseStateFlag: isBaseState;
checkable: true;
}
SpinBox {
id: spacingSpinBox;
objectName: "spacingSpinBox";
backendValue: backendValues.spacing;
minimumWidth: 30;
minimum: 0;
maximum: 1000;
singleStep: 1;
baseStateFlag: isBaseState;
}
}
}
}
}
}
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment