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:
@@ -49,8 +49,6 @@ public:
|
||||
explicit FormClassWizardPage(QWidget * parent = 0);
|
||||
~FormClassWizardPage();
|
||||
|
||||
void setSuffixes(const QString &header, const QString &source, const QString &form);
|
||||
|
||||
virtual bool isComplete () const;
|
||||
virtual bool validatePage();
|
||||
|
||||
@@ -59,18 +57,20 @@ public:
|
||||
QString path() const;
|
||||
|
||||
// Fill out applicable parameters
|
||||
void getParameters(FormClassWizardParameters *) const;
|
||||
void getParameters(FormClassWizardParameters *) const;
|
||||
|
||||
public slots:
|
||||
void setClassName(const QString &suggestedClassName);
|
||||
void setPath(const QString &);
|
||||
void setRetranslationSupport(bool);
|
||||
void setUiClassEmbedding(int v);
|
||||
void slotSettings();
|
||||
|
||||
private slots:
|
||||
void slotValidChanged();
|
||||
|
||||
private:
|
||||
void initParameters();
|
||||
void saveSettings();
|
||||
void restoreSettings();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user