forked from qt-creator/qt-creator
Fixes: Introduce a cpp settingspage containing file naming conventions (lower case and suffixes). Reorder VCS settings pages.
Task: 241959, 248085 RevBy: Optics/Naming checked by con Details: Give IOptionPage an id() to differentiate from trName(). Make showOptionsDialog return a bool (applied) and give it an optional parent. Change Cpp and form class wizards, give them a Configure... button to change those settings.
This commit is contained in:
@@ -865,11 +865,15 @@ QStringList MainWindow::showNewItemDialog(const QString &title,
|
||||
return wizard->runWizard(defaultDir, this);
|
||||
}
|
||||
|
||||
void MainWindow::showOptionsDialog(const QString &category, const QString &page)
|
||||
bool MainWindow::showOptionsDialog(const QString &category,
|
||||
const QString &page,
|
||||
QWidget *parent)
|
||||
{
|
||||
emit m_coreImpl->optionsDialogRequested();
|
||||
SettingsDialog dlg(this, category, page);
|
||||
dlg.exec();
|
||||
if (!parent)
|
||||
parent = this;
|
||||
SettingsDialog dlg(parent, category, page);
|
||||
return dlg.execDialog();
|
||||
}
|
||||
|
||||
void MainWindow::saveAll()
|
||||
|
||||
Reference in New Issue
Block a user