Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 QWizard,我有一个子类,不想完成。当用户单击完成按钮时,我只想回到开头。我第一次尝试只是覆盖 nextId() 方法,但这不会让我倒退。还有其他想法吗?这是 Qt 4.6
restart()例如,可以从done(). 请注意,这会重置您的字段。
restart()
done()