summaryrefslogtreecommitdiffstats
path: root/tools/qmldebugger/expressionquerywidget.h
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2009-10-26 04:11:32 (GMT)
committerBea Lam <bea.lam@nokia.com>2009-10-26 04:11:32 (GMT)
commit90a883796acb961a572c90d53c0505110a466a8a (patch)
tree63ea307cb9cd2fa2db7d649726ce0d8323a23192 /tools/qmldebugger/expressionquerywidget.h
parentd0f965f1bde20babbb0574007f9cf8439b955a9b (diff)
downloadQt-90a883796acb961a572c90d53c0505110a466a8a.zip
Qt-90a883796acb961a572c90d53c0505110a466a8a.tar.gz
Qt-90a883796acb961a572c90d53c0505110a466a8a.tar.bz2
Fix to show expression query widget and allow QmlEngineDebug values
for widgets to be changed after construction.
Diffstat (limited to 'tools/qmldebugger/expressionquerywidget.h')
-rw-r--r--tools/qmldebugger/expressionquerywidget.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/qmldebugger/expressionquerywidget.h b/tools/qmldebugger/expressionquerywidget.h
index 8db8f9f..3d9b580 100644
--- a/tools/qmldebugger/expressionquerywidget.h
+++ b/tools/qmldebugger/expressionquerywidget.h
@@ -21,7 +21,9 @@ public:
Shell
};
- ExpressionQueryWidget(QmlEngineDebug *client, QWidget *parent = 0);
+ ExpressionQueryWidget(QmlEngineDebug *client = 0, QWidget *parent = 0);
+
+ void setEngineDebug(QmlEngineDebug *client);
protected:
bool eventFilter(QObject *obj, QEvent *event);
@@ -44,7 +46,6 @@ private:
QmlEngineDebug *m_client;
QmlDebugExpressionQuery *m_query;
- QGroupBox *m_groupBox;
QTextEdit *m_textEdit;
QLineEdit *m_lineEdit;
QPushButton *m_button;
@@ -52,6 +53,8 @@ private:
QString m_expr;
QString m_lastExpr;
+ QString m_title;
+
QmlDebugObjectReference m_currObject;
QmlDebugObjectReference m_objectAtLastFocus;
};