Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
你有很多选择。您可以:
QWidget::paintEvent()
QTimeline 和/或 QTimer 在您的实现中可能会很有用。关键思想是您需要以一致的间隔在不同位置绘制某些内容。如果你重画得足够频繁,它看起来就像一个动画。
You have many options. You could:
QTimeline and/or QTimer will likely be useful in your implementation. The key idea is that you need to draw something at different positions at consistent intervals. If you redraw frequently enough, it will look like an animation.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
你有很多选择。您可以:
QWidget::paintEvent()
QTimeline 和/或 QTimer 在您的实现中可能会很有用。关键思想是您需要以一致的间隔在不同位置绘制某些内容。如果你重画得足够频繁,它看起来就像一个动画。
You have many options. You could:
QWidget::paintEvent()
QTimeline and/or QTimer will likely be useful in your implementation. The key idea is that you need to draw something at different positions at consistent intervals. If you redraw frequently enough, it will look like an animation.