forked from qt-creator/qt-creator
QmlDesigner: Some cleanup
Change-Id: I58bbfab2ba0c1054ba4f36603f54b1a8b8572132 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -25,9 +25,7 @@
|
|||||||
|
|
||||||
import QtQuick 2.1
|
import QtQuick 2.1
|
||||||
import QtQuick.Layouts 1.0
|
import QtQuick.Layouts 1.0
|
||||||
import QtQuick.Controls 1.0 as Controls
|
|
||||||
import QtQuickDesignerTheme 1.0
|
import QtQuickDesignerTheme 1.0
|
||||||
import QtQuick.Controls.Styles 1.1
|
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
id: colorEditor
|
id: colorEditor
|
||||||
|
@@ -60,7 +60,7 @@ Item {
|
|||||||
if (!wrapper.__initialized)
|
if (!wrapper.__initialized)
|
||||||
return
|
return
|
||||||
spinBox[target] = Math.round(value * spinBox.factor)
|
spinBox[target] = Math.round(value * spinBox.factor)
|
||||||
}
|
}
|
||||||
|
|
||||||
StudioControls.SpinBox {
|
StudioControls.SpinBox {
|
||||||
id: spinBox
|
id: spinBox
|
||||||
|
Reference in New Issue
Block a user