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:
Friedemann Kleint
2009-03-18 16:43:01 +01:00
parent 3b0305727b
commit bccf4a1fc3
66 changed files with 814 additions and 150 deletions

View File

@@ -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()