forked from qt-creator/qt-creator
Inspector: Set the context of console
The current selected item in the inspector view is set as the context of the console. Task-number: QTCREATORBUG-7439 Change-Id: Ibc980218751ce4afacf714cf1ab34f0a36550b2c Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -58,6 +58,9 @@ public slots:
|
||||
void watchExpression(const QString &exp, const QString &name);
|
||||
void handleItemIsExpanded(const QModelIndex &idx);
|
||||
|
||||
signals:
|
||||
void currentIndexChanged(const QModelIndex ¤tIndex);
|
||||
|
||||
private:
|
||||
Q_SLOT void resetHelper();
|
||||
Q_SLOT void expandNode(const QModelIndex &idx);
|
||||
@@ -70,6 +73,7 @@ private:
|
||||
void dragMoveEvent(QDragMoveEvent *ev);
|
||||
void mouseDoubleClickEvent(QMouseEvent *ev);
|
||||
bool event(QEvent *ev);
|
||||
void currentChanged(const QModelIndex ¤t, const QModelIndex &previous);
|
||||
|
||||
void editItem(const QModelIndex &idx);
|
||||
void resetHelper(const QModelIndex &idx);
|
||||
|
||||
Reference in New Issue
Block a user