如何将 QProgressBar 与函数连接起来?
我正在开发一个程序,我想将 QProgressBar 与函数连接起来。当函数正在进行时,QProgressBar 应该计数直到函数完成。那么 QProgressBar 也应该完成。
I'm working on a program and I want to connect a QProgressBar with a function. While the function is in progress, the QProgressBar should count until the function is done. Then the QProgressBar should be done too.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该示例将让您对进度有一个简单的了解。这绝不是高效或优雅的。这只是我设计的一个可行的解决方案。
This sample will give you a simple idea of seeing the progress. By no way this is efficient or elegant. Its a just a working solution i rigged up.