blob: d2ea7d814dd82a708c57f82a7c420397b02801ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
#ifndef ENGINE_H
#define ENGINE_H
#include <QWidget>
#include <QtCore/qpointer.h>
#include <QtDeclarative/qmlengine.h>
#include <QtDeclarative/qmlcontext.h>
#include <QtDeclarative/qmlview.h>
#include <private/qmldebug_p.h>
QT_BEGIN_NAMESPACE
class ObjectPropertiesView;
class QmlDebugConnection;
class QmlDebugPropertyReference;
class QmlDebugWatch;
class ObjectTree;
class WatchTableModel;
class WatchTableView;
class ExpressionQueryWidget;
class QTabWidget;
class EnginePane : public QWidget
{
Q_OBJECT
public:
EnginePane(QmlDebugConnection *, QWidget *parent = 0);
public slots:
void refreshEngines();
private slots:
void enginesChanged();
void queryContext(int);
void contextChanged();
void engineSelected(int);
private:
QmlEngineDebug *m_client;
QmlDebugEnginesQuery *m_engines;
QmlDebugRootContextQuery *m_context;
ObjectTree *m_objTree;
QTabWidget *m_tabs;
WatchTableView *m_watchTableView;
WatchTableModel *m_watchTableModel;
ExpressionQueryWidget *m_exprQueryWidget;
QmlView *m_engineView;
QList<QObject *> m_engineItems;
ObjectPropertiesView *m_propertiesView;
};
QT_END_NAMESPACE
#endif // ENGINE_H
|