ProjectExplorer: inline projectwizardpage.ui

Change-Id: I0c016e08c77b2029a1d024664dde6ae9e3187b3c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Alessandro Portale
2022-08-18 15:42:54 +02:00
parent 95edda95b4
commit e070d826e5
5 changed files with 79 additions and 190 deletions

View File

@@ -12,10 +12,13 @@
#include <utils/treemodel.h>
QT_BEGIN_NAMESPACE
class QTreeView;
class QComboBox;
class QLabel;
class QPushButton;
class QModelIndex;
QT_END_NAMESPACE
namespace Utils { class TreeViewComboBox; }
namespace Core { class IVersionControl; }
namespace ProjectExplorer {
@@ -23,8 +26,6 @@ namespace Internal {
class AddNewTree;
namespace Ui { class WizardPage; }
// Documentation inside.
class ProjectWizardPage : public Utils::WizardPage
{
@@ -70,13 +71,20 @@ private:
void setProjectToolTip(const QString &);
bool expandTree(const QModelIndex &root);
Ui::WizardPage *m_ui;
QStringList m_projectToolTips;
Utils::TreeModel<> m_model;
QList<Core::IVersionControl*> m_activeVersionControls;
QString m_commonDirectory;
bool m_repositoryExists = false;
QLabel *m_projectLabel;
Utils::TreeViewComboBox *m_projectComboBox;
QLabel *m_additionalInfo;
QLabel *m_addToVersionControlLabel;
QComboBox *m_addToVersionControlComboBox;
QPushButton *m_vcsManageButton;
QLabel *m_filesLabel;
};
} // namespace Internal