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:
Daniel Molkentin
2010-04-16 14:12:55 +02:00
parent 3bb69df02a
commit b488534306
6 changed files with 281 additions and 58 deletions

View File

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