Skip to content

Commit 8db7fbd

Browse files
committed
update function
1 parent aba13d5 commit 8db7fbd

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

examples/TaoQuickShow/Contents.qrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,18 @@
5151
<file>Contents/General/Tables.qml</file>
5252
<file>Trans/language_zh.json</file>
5353
<file>Contents/Effect/EditJoggle.qml</file>
54+
<file>Contents/General/EdgeTabBar.qml</file>
55+
<file>Contents/General/ListViewWithTab.qml</file>
56+
<file>Contents/General/RoundRects.qml</file>
57+
<file>Contents/General/Shapes.qml</file>
58+
<file>Contents/ShapeGallery/ShapeCapStyles.qml</file>
59+
<file>Contents/ShapeGallery/ShapeCircle.qml</file>
60+
<file>Contents/ShapeGallery/ShapeCubicBezier.qml</file>
61+
<file>Contents/ShapeGallery/ShapeEllipse.qml</file>
62+
<file>Contents/ShapeGallery/ShapeEllipticalArc.qml</file>
63+
<file>Contents/ShapeGallery/ShapeJoinStyles.qml</file>
64+
<file>Contents/ShapeGallery/ShapeQuadraticBezier.qml</file>
65+
<file>Contents/ShapeGallery/ShapeRectrangle.qml</file>
66+
<file>Contents/ShapeGallery/ShapeTriangle.qml</file>
5467
</qresource>
5568
</RCC>

examples/TaoQuickShow/Contents/General/Drags.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Item {
3232

3333
MoveArea {
3434
anchors.fill: parent
35-
onMove: {
35+
onMove: function(xOffset, yOffset){
3636
parent.x += xOffset
3737
parent.y += yOffset
3838
}

src/TaoQuick/Qml/Misc/CusRectDraw.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Item {
2626
anchors.fill: parent
2727
hoverEnabled: true
2828
acceptedButtons: Qt.LeftButton | Qt.RightButton
29-
onPressed: {
29+
onPressed: function(mouse) {
3030
if (mouse.button === Qt.LeftButton) {
3131
bPressed = true
3232
oldX = Math.floor(mouseX)

0 commit comments

Comments
 (0)