MiniProjectTargetSelector: Use Utils::TreeView

... instead of QListWidget.
This is needed for a follow-up change. Also, it's less code.

Change-Id: I2222b7c9c7c3ea0a493dc72fde7e4308353c327f
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2020-01-10 16:21:33 +01:00
parent 4fe2d9a43d
commit 2a7d77d346
2 changed files with 404 additions and 511 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -42,9 +42,9 @@ class ProjectConfiguration;
class RunConfiguration;
namespace Internal {
class ProjectListWidget;
class KitAreaWidget;
class GenericListWidget;
class ProjectListView;
class KitAreaWidget;
class MiniProjectTargetSelector : public QWidget
{
@@ -104,7 +104,7 @@ private:
QAction *m_projectAction;
enum TYPES { PROJECT = 0, TARGET = 1, BUILD = 2, DEPLOY = 3, RUN = 4, LAST = 5 };
ProjectListWidget *m_projectListWidget;
ProjectListView *m_projectListWidget;
KitAreaWidget *m_kitAreaWidget;
QVector<GenericListWidget *> m_listWidgets;
QVector<QWidget *> m_titleWidgets;