forked from qt-creator/qt-creator
Redesign the New Projects/Files dialog
- allow for more verbose description - allow to fit all catagories and subcategories in - bring more clear separation between projects and files - expense: one more click Reviewed-by: jbache
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include <QtCore/QList>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QAbstractProxyModel;
|
||||
class QPushButton;
|
||||
class QStandardItem;
|
||||
class QStandardItemModel;
|
||||
@@ -65,6 +66,7 @@ public:
|
||||
Core::IWizard *showDialog();
|
||||
|
||||
private slots:
|
||||
void currentCategoryChanged(const QModelIndex &);
|
||||
void currentItemChanged(const QModelIndex &);
|
||||
void okButtonClicked();
|
||||
void updateOkButton();
|
||||
@@ -74,8 +76,10 @@ private:
|
||||
|
||||
Ui::NewDialog *m_ui;
|
||||
QStandardItemModel *m_model;
|
||||
QAbstractProxyModel *m_proxyModel;
|
||||
QPushButton *m_okButton;
|
||||
IWizard::WizardKinds m_preferredWizardKinds;
|
||||
QPixmap m_dummyIcon;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user