QmlProfiler: Clear button in toolbar

Change-Id: Id9739b7828b080b016aa41b13b4f5313a2319172
Reviewed-on: http://codereview.qt.nokia.com/750
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Christiaan Janssen
2011-06-24 18:19:08 +02:00
parent 843db69441
commit 9baa4f51a1
11 changed files with 113 additions and 40 deletions

View File

@@ -312,6 +312,8 @@ void TraceWindow::reset(QDeclarativeDebugConnection *conn)
connect(m_view->rootObject(), SIGNAL(updateCursorPosition()), this, SLOT(updateCursorPosition()));
connect(m_view->rootObject(), SIGNAL(updateTimer()), this, SLOT(updateTimer()));
connect(this, SIGNAL(internalClearDisplay()), m_view->rootObject(), SLOT(clearAll()));
}
void TraceWindow::updateCursorPosition()
@@ -329,6 +331,8 @@ void TraceWindow::clearDisplay()
{
if (m_plugin)
m_plugin.data()->clearView();
else
emit internalClearDisplay();
}
void TraceWindow::setRecording(bool recording)