forked from qt-creator/qt-creator
QmlDesigner.propertyEditor: renaming Clips to Clips content (Nigel)
This commit is contained in:
@@ -25,7 +25,7 @@ GroupBox {
|
|||||||
}
|
}
|
||||||
CheckBox {
|
CheckBox {
|
||||||
id: ClipCheckBox;
|
id: ClipCheckBox;
|
||||||
text: "Clips";
|
text: "Clip Content";
|
||||||
backendValue: backendValues.clip === undefined ? false : backendValues.clip;
|
backendValue: backendValues.clip === undefined ? false : backendValues.clip;
|
||||||
baseStateFlag: isBaseState;
|
baseStateFlag: isBaseState;
|
||||||
checkable: true;
|
checkable: true;
|
||||||
@@ -98,12 +98,13 @@ GroupBox {
|
|||||||
id: ScaleSpinBox;
|
id: ScaleSpinBox;
|
||||||
objectName: "ScaleSpinBox";
|
objectName: "ScaleSpinBox";
|
||||||
backendValue: backendValues.scale;
|
backendValue: backendValues.scale;
|
||||||
|
property var backendValueValue: backendValues.scale.value;
|
||||||
minimumWidth: 60;
|
minimumWidth: 60;
|
||||||
minimum: 0.01
|
minimum: 0.01
|
||||||
maximum: 10
|
maximum: 10
|
||||||
singleStep: 0.1
|
singleStep: 0.1
|
||||||
baseStateFlag: isBaseState;
|
baseStateFlag: isBaseState;
|
||||||
onBackendValueChanged: {
|
onBackendValueValueChanged: {
|
||||||
ScaleSlider.value = backendValue.value * 10;
|
ScaleSlider.value = backendValue.value * 10;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -112,7 +113,7 @@ GroupBox {
|
|||||||
minimum: 1;
|
minimum: 1;
|
||||||
maximum: 100;
|
maximum: 100;
|
||||||
singleStep: 1;
|
singleStep: 1;
|
||||||
onValueChanged: {
|
onValueChanged: {
|
||||||
backendValues.scale.value = value / 10;
|
backendValues.scale.value = value / 10;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#include "debuggermanager.h"
|
#include "debuggermanager.h"
|
||||||
#include "stackframe.h"
|
#include "stackframe.h"
|
||||||
|
|
||||||
#include "imports.h" // TextEditor::BaseTextMark
|
#include <texteditor/basetextmark.h>
|
||||||
|
|
||||||
#include <QtCore/QDebug>
|
#include <QtCore/QDebug>
|
||||||
#include <QtCore/QTextStream>
|
#include <QtCore/QTextStream>
|
||||||
|
|||||||
Reference in New Issue
Block a user