-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch animations #408
Switch animations #408
Conversation
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#408
3ddbaa4
to
2e26910
Compare
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#408
2e26910
to
043cc46
Compare
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#408
043cc46
to
1c726d0
Compare
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#408
DTK.hasAnimation and DQMLGlobalObject::hasAnimation()
hasAnimation to turn on/off animations
hasAnimation..
1c726d0
to
75dbd79
Compare
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#408
qt6/src/qml/Switch.qml
Outdated
handle.play(D.DTK.NormalState) | ||
toggletimer.start(); | ||
} | ||
indicator: Row { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以不用Row布局,直接Loader加载不同的component, 像x,y,width这种公共的可以设置到那个Loader上,
support DTK.hasAnimation
75dbd79
to
ba7d09d
Compare
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#408
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743, kegechen The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
add
DTK.hasAnimation
property andDQMLGlobalObject::hasAnimation()