ui: Revised project setup
* changed help texts * use help buttons instead of descriptions in dialogs * fixed show files button not up-to-date with directory list box * fixed source file extensions shown in cdb setup * refactored size and content setting for project content classes
This commit is contained in:
@@ -36,8 +36,7 @@ class QtProjectWizzardContent
|
||||
public:
|
||||
QtProjectWizzardContent(std::shared_ptr<ProjectSettings> settings, QtProjectWizzardWindow* window);
|
||||
|
||||
virtual void populateWindow(QGridLayout* layout, int& row);
|
||||
virtual void populateForm(QGridLayout* layout, int& row);
|
||||
virtual void populate(QGridLayout* layout, int& row);
|
||||
virtual void windowReady();
|
||||
|
||||
virtual void load();
|
||||
@@ -46,12 +45,13 @@ public:
|
||||
|
||||
virtual bool isScrollAble() const;
|
||||
|
||||
virtual QSize preferredWindowSize() const;
|
||||
|
||||
virtual std::vector<std::string> getFileNames() const;
|
||||
virtual QString getFileNamesTitle() const;
|
||||
virtual QString getFileNamesDescription() const;
|
||||
|
||||
bool isInForm() const;
|
||||
void setIsInForm(bool isInForm);
|
||||
|
||||
protected:
|
||||
QLabel* createFormLabel(QString name) const;
|
||||
QLabel* createFormTitle(QString name) const;
|
||||
@@ -69,6 +69,8 @@ private slots:
|
||||
|
||||
private:
|
||||
std::shared_ptr<QtTextEditDialog> m_filesDialog;
|
||||
|
||||
bool m_isInForm;
|
||||
};
|
||||
|
||||
#endif // QT_PROJECT_WIZZARD_CONTENT_H
|
||||
|
||||
Reference in New Issue
Block a user