forked from qt-creator/qt-creator
Merge QML inspector into debugger plugin
Merge QmlJSInspector plugin into the debugger. Also merge the extra Inspector window with the Locals & Watchers: It now shows the QML object tree in the running state. Change-Id: I59ae0c1b970a48ba10ecda92ed3ba765d94b1d9c Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
@@ -994,11 +994,15 @@ void WatchTreeView::setModel(QAbstractItemModel *model)
|
||||
setRootIsDecorated(true);
|
||||
if (header()) {
|
||||
header()->setDefaultAlignment(Qt::AlignLeft);
|
||||
if (m_type != LocalsType)
|
||||
if (m_type != LocalsType && m_type != InspectType)
|
||||
header()->hide();
|
||||
}
|
||||
|
||||
connect(model, SIGNAL(layoutChanged()), SLOT(resetHelper()));
|
||||
|
||||
QTC_ASSERT(qobject_cast<WatchModel*>(model), return);
|
||||
connect(model, SIGNAL(setCurrentIndex(QModelIndex)),
|
||||
SLOT(setCurrentIndex(QModelIndex)));
|
||||
}
|
||||
|
||||
void WatchTreeView::resetHelper()
|
||||
|
||||
Reference in New Issue
Block a user