Skip to content
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

Merged
merged 4 commits into from
Oct 24, 2024
Merged

Switch animations #408

merged 4 commits into from
Oct 24, 2024

Conversation

kegechen
Copy link
Contributor

@kegechen kegechen commented Oct 21, 2024

add DTK.hasAnimation property and DQMLGlobalObject::hasAnimation()

deepin-ci-robot added a commit to linuxdeepin/dtk6declarative that referenced this pull request Oct 21, 2024
Synchronize source files from linuxdeepin/dtkdeclarative.

Source-pull-request: linuxdeepin/dtkdeclarative#408
qt6/src/qml/Switch.qml Outdated Show resolved Hide resolved
src/private/dquickdciiconimage.cpp Outdated Show resolved Hide resolved
src/private/dqmlglobalobject_p.h Show resolved Hide resolved
deepin-ci-robot added a commit to linuxdeepin/dtk6declarative that referenced this pull request Oct 21, 2024
Synchronize source files from linuxdeepin/dtkdeclarative.

Source-pull-request: linuxdeepin/dtkdeclarative#408
deepin-ci-robot added a commit to linuxdeepin/dtk6declarative that referenced this pull request Oct 21, 2024
Synchronize source files from linuxdeepin/dtkdeclarative.

Source-pull-request: linuxdeepin/dtkdeclarative#408
deepin-ci-robot added a commit to linuxdeepin/dtk6declarative that referenced this pull request Oct 22, 2024
Synchronize source files from linuxdeepin/dtkdeclarative.

Source-pull-request: linuxdeepin/dtkdeclarative#408
qt6/src/qml/ToolButton.qml Outdated Show resolved Hide resolved
qt6/src/qml/ToolButton.qml Outdated Show resolved Hide resolved
qt6/src/qml/ToolButton.qml Outdated Show resolved Hide resolved
qt6/src/qml/ToolButton.qml Show resolved Hide resolved
qt6/src/qml/Switch.qml Outdated Show resolved Hide resolved
qt6/src/qml/Switch.qml Outdated Show resolved Hide resolved
DTK.hasAnimation and DQMLGlobalObject::hasAnimation()
hasAnimation to turn on/off animations
deepin-ci-robot added a commit to linuxdeepin/dtk6declarative that referenced this pull request Oct 23, 2024
Synchronize source files from linuxdeepin/dtkdeclarative.

Source-pull-request: linuxdeepin/dtkdeclarative#408
qt6/src/qml/Switch.qml Outdated Show resolved Hide resolved
handle.play(D.DTK.NormalState)
toggletimer.start();
}
indicator: Row {
Copy link
Contributor

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
deepin-ci-robot added a commit to linuxdeepin/dtk6declarative that referenced this pull request Oct 23, 2024
Synchronize source files from linuxdeepin/dtkdeclarative.

Source-pull-request: linuxdeepin/dtkdeclarative#408
@deepin-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kegechen kegechen merged commit b48102e into linuxdeepin:master Oct 24, 2024
16 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants