#ifndef ENGINE_H #define ENGINE_H #include #include #include #include #include QT_BEGIN_NAMESPACE class QmlDebugConnection; class EngineClientPlugin; class QLineEdit; class QTreeWidget; class QTreeWidgetItem; class QTableWidget; class EnginePane : public QWidget { Q_OBJECT public: EnginePane(QmlDebugConnection *, QWidget *parent = 0); private slots: void queryEngines(); void enginesChanged(); void queryContext(int); void contextChanged(); void fetchClicked(); void fetchObject(int); void objectFetched(); void engineSelected(int); void itemClicked(QTreeWidgetItem *); void showProperties(); private: void dump(const QmlDebugContextReference &, int); void dump(const QmlDebugObjectReference &, int); void buildTree(const QmlDebugObjectReference &, QTreeWidgetItem *parent); QmlEngineDebug m_client; QmlDebugEnginesQuery *m_engines; QmlDebugRootContextQuery *m_context; QmlDebugObjectQuery *m_object; QLineEdit *m_text; QTreeWidget *m_objTree; QTableWidget *m_propTable; QFxView *m_engineView; QList m_engineItems; }; QT_END_NAMESPACE #endif // ENGINE_H