【问题标题】:Connect QPushButton of QWizardPage with NextButton of QWizard连接 QWizardPage 的 QPushButton 和 QWizard 的 NextButton
【发布时间】:2016-01-14 06:17:39
【问题描述】:

如何将 QWizardPage 的 QPushButton 与 Qwizard 的 Next Button 连接起来?

我想要的是:当我点击 QWizardPage 中创建的 QPushButton 时,页面转到下一个屏幕。

【问题讨论】:

    标签: python qt pyqt4


    【解决方案1】:

    如果pageButton 是您的页面按钮,只需:

    pageButton.clicked.connect(wizard.button(QWizard.NextButton).click)
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-25
      • 1970-01-01
      • 1970-01-01
      • 2018-12-17
      • 1970-01-01
      相关资源
      最近更新 更多