OSDN Git Service

Fix property type mismatch in Qt Quick Designer
[qt-creator-jp/qt-creator-jp.git] / share / qtcreator / qmldesigner / propertyeditor / Qt / GridViewSpecifics.qml
index aeedc76..eb38400 100644 (file)
@@ -89,14 +89,18 @@ QWidget {
                     }
                 } //QWidget
 
-                IntEditor {
-                    backendValue: backendValues.keyNavigationWraps
-                    caption: qsTr("Resize wraps")
-                    toolTip: qsTr("Determines whether the grid wraps key navigation.")
-                    baseStateFlag: isBaseState;
-                    step: 1;
-                    minimumValue: 0;
-                    maximumValue: 1000;
+                QWidget {
+                    layout: HorizontalLayout {
+                        Label {
+                            text: qsTr("Navigation wraps")
+                        }
+                        CheckBox {
+                            backendValue: backendValues.keyNavigationWraps
+                            toolTip: qsTr("Determines whether the grid wraps key navigation.")
+                            baseStateFlag: isBaseState;
+                            checkable: True
+                        }
+                    }
                 }
                 //                Qt namespace enums not supported by the rewriter
                 //                QWidget {