summaryrefslogtreecommitdiffstats
path: root/tools/qmldebugger/engine.h
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2009-10-14 04:31:18 (GMT)
committerBea Lam <bea.lam@nokia.com>2009-10-14 04:31:18 (GMT)
commitf303d6e3a44de30b9b1dc869c9a54c60cb383f8a (patch)
tree08cf230747f4a5d4b29ac2416bbf524080277ee6 /tools/qmldebugger/engine.h
parent91c85c76d83260d794701100b36a0cc04f848932 (diff)
downloadQt-f303d6e3a44de30b9b1dc869c9a54c60cb383f8a.zip
Qt-f303d6e3a44de30b9b1dc869c9a54c60cb383f8a.tar.gz
Qt-f303d6e3a44de30b9b1dc869c9a54c60cb383f8a.tar.bz2
Split the various debugger widgets out into their own files. The
debugger interface remains unchanged.
Diffstat (limited to 'tools/qmldebugger/engine.h')
-rw-r--r--tools/qmldebugger/engine.h43
1 files changed, 9 insertions, 34 deletions
diff --git a/tools/qmldebugger/engine.h b/tools/qmldebugger/engine.h
index c7707ed..8e8c0f2 100644
--- a/tools/qmldebugger/engine.h
+++ b/tools/qmldebugger/engine.h
@@ -10,21 +10,15 @@
QT_BEGIN_NAMESPACE
+class ObjectPropertiesView;
class QmlDebugConnection;
class QmlDebugPropertyReference;
class QmlDebugWatch;
-class QmlObjectTree;
-class EngineClientPlugin;
-class PropertyView;
+class ObjectTree;
class WatchTableModel;
-class QLineEdit;
-class QModelIndex;
-class QTreeWidget;
-class QTreeWidgetItem;
+class WatchTableView;
+
class QTabWidget;
-class QTableWidget;
-class QTableView;
-class QTableWidgetItem;
class EnginePane : public QWidget
{
@@ -41,42 +35,23 @@ private slots:
void queryContext(int);
void contextChanged();
- void fetchObject(int);
- void objectFetched();
-
void engineSelected(int);
- void itemClicked(QTreeWidgetItem *);
- void showProperties();
- void addExpressionWatch(int debugId, const QString &expr);
-
- void valueChanged(const QByteArray &property, const QVariant &value);
-
- void propertyActivated(const QmlDebugPropertyReference &property);
- void propertyWatchStateChanged();
- void watchedItemActivated(const QModelIndex &index);
- void stopWatching(int column);
-
private:
- void dump(const QmlDebugContextReference &, int);
- void dump(const QmlDebugObjectReference &, int);
- void buildTree(const QmlDebugObjectReference &, QTreeWidgetItem *parent);
-
- QmlEngineDebug m_client;
+ QmlEngineDebug *m_client;
QmlDebugEnginesQuery *m_engines;
QmlDebugRootContextQuery *m_context;
- QmlDebugObjectQuery *m_object;
- QmlObjectTree *m_objTree;
+ ObjectTree *m_objTree;
QTabWidget *m_tabs;
- PropertyView *m_propView;
- QTableView *m_watchTable;
+ WatchTableView *m_watchTableView;
QmlView *m_engineView;
QList<QObject *> m_engineItems;
- QmlDebugWatch *m_watchedObject;
WatchTableModel *m_watchTableModel;
+
+ ObjectPropertiesView *m_propertiesView;
};
QT_END_NAMESPACE