forked from qt-creator/qt-creator
Inline pluginview widget code
No need to have a single treeview in a .ui file, and one step closer to make it searchable. Change-Id: I3aa27ac695ea3c55000473ae56e8c5b0330c1adf Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include <QIcon>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QTreeWidget;
|
||||
class QTreeWidgetItem;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
@@ -46,12 +47,6 @@ class PluginManager;
|
||||
class PluginSpec;
|
||||
class PluginCollection;
|
||||
|
||||
namespace Internal {
|
||||
namespace Ui {
|
||||
class PluginView;
|
||||
} // namespace Ui
|
||||
} // namespace Internal
|
||||
|
||||
class EXTENSIONSYSTEM_EXPORT PluginView : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -79,7 +74,7 @@ private:
|
||||
void updatePluginDependencies();
|
||||
int parsePluginSpecs(QTreeWidgetItem *parentItem, Qt::CheckState &groupState, QList<PluginSpec*> plugins);
|
||||
|
||||
Internal::Ui::PluginView *m_ui;
|
||||
QTreeWidget *m_categoryWidget;
|
||||
QList<QTreeWidgetItem*> m_items;
|
||||
QHash<PluginSpec*, QTreeWidgetItem*> m_specToItem;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user