mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #887, added QWizardPage derived class to call dependent functions
(QWizardPage provides virtual functions for that)
This commit is contained in:
@@ -181,5 +181,18 @@ namespace BlackGui
|
||||
const int width = this->width() * 0.45;
|
||||
ui->cb_OtherVersions->setFixedWidth(width);
|
||||
}
|
||||
|
||||
void CCopyConfigurationWizardPage::initializePage()
|
||||
{
|
||||
Q_ASSERT_X(m_config, Q_FUNC_INFO, "Missing config");
|
||||
m_config->initCurrentDirectories();
|
||||
}
|
||||
|
||||
bool CCopyConfigurationWizardPage::validatePage()
|
||||
{
|
||||
Q_ASSERT_X(m_config, Q_FUNC_INFO, "Missing config");
|
||||
m_config->copySelectedFiles();
|
||||
return true;
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user