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

您好,这些绑定的信息,看您并没有实现,这些方法的实现是可以解决什么呢? #4

Closed
kc991229 opened this issue Jan 31, 2023 · 3 comments

Comments

@kc991229
Copy link

connect(m_drawEngine, &QtLottieDrawEngine::durationChanged, this, &QtLottieWidget::durationChanged);
connect(m_drawEngine, &QtLottieDrawEngine::sizeChanged, this, &QtLottieWidget::sourceSizeChanged);
connect(m_drawEngine, &QtLottieDrawEngine::loopsChanged, this, &QtLottieWidget::loopsChanged);
connect(m_drawEngine, &QtLottieDrawEngine::devicePixelRatioChanged, this, &QtLottieWidget::devicePixelRatioChanged);

比如&QtLottieWidget::sourceSizeChanged,是可以适配资源大小改变吗

@wangwenx190
Copy link
Owner

怎么没有实现?

@wangwenx190
Copy link
Owner

是可以适配资源大小改变吗

lottie动画有画布尺寸,不同的lottie文件有不同的尺寸,这个信号是干这个的

@kc991229
Copy link
Author

kc991229 commented Feb 1, 2023

是可以适合配资来源大改小改吗

lottie动画有画布尺寸,不同的lottie文件有不同的尺寸,这个信号是干这个的

got thank you~

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

No branches or pull requests

2 participants