diff --git a/examples/TaoQuickShow/Contents.qrc b/examples/TaoQuickShow/Contents.qrc index 583a91c..e0611aa 100644 --- a/examples/TaoQuickShow/Contents.qrc +++ b/examples/TaoQuickShow/Contents.qrc @@ -51,5 +51,18 @@ Contents/General/Tables.qml Trans/language_zh.json Contents/Effect/EditJoggle.qml + Contents/General/EdgeTabBar.qml + Contents/General/ListViewWithTab.qml + Contents/General/RoundRects.qml + Contents/General/Shapes.qml + Contents/ShapeGallery/ShapeCapStyles.qml + Contents/ShapeGallery/ShapeCircle.qml + Contents/ShapeGallery/ShapeCubicBezier.qml + Contents/ShapeGallery/ShapeEllipse.qml + Contents/ShapeGallery/ShapeEllipticalArc.qml + Contents/ShapeGallery/ShapeJoinStyles.qml + Contents/ShapeGallery/ShapeQuadraticBezier.qml + Contents/ShapeGallery/ShapeRectrangle.qml + Contents/ShapeGallery/ShapeTriangle.qml diff --git a/examples/TaoQuickShow/Contents/General/Drags.qml b/examples/TaoQuickShow/Contents/General/Drags.qml index def1dab..36249a9 100644 --- a/examples/TaoQuickShow/Contents/General/Drags.qml +++ b/examples/TaoQuickShow/Contents/General/Drags.qml @@ -32,7 +32,7 @@ Item { MoveArea { anchors.fill: parent - onMove: { + onMove: function(xOffset, yOffset){ parent.x += xOffset parent.y += yOffset } diff --git a/src/TaoQuick/Qml/Misc/CusRectDraw.qml b/src/TaoQuick/Qml/Misc/CusRectDraw.qml index 33054a3..d3e7831 100644 --- a/src/TaoQuick/Qml/Misc/CusRectDraw.qml +++ b/src/TaoQuick/Qml/Misc/CusRectDraw.qml @@ -26,7 +26,7 @@ Item { anchors.fill: parent hoverEnabled: true acceptedButtons: Qt.LeftButton | Qt.RightButton - onPressed: { + onPressed: function(mouse) { if (mouse.button === Qt.LeftButton) { bPressed = true oldX = Math.floor(mouseX)