Introduced a QML-specific debugger tool bar

This one has the common debugger actions as well as the QML Observer
specific part. This makes sure those actions are generally available and
not only from the QML Observer dock widget.

The filter in the tool bar should still be moved back.

Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Thorbjørn Lindeijer
2011-02-16 10:47:06 +01:00
parent 0b662609a0
commit f5c192bf38
9 changed files with 79 additions and 49 deletions

View File

@@ -391,7 +391,6 @@ const char * const BREAK_AT_MAIN = "Debugger.BreakAtMain";
// Don't add '1' to the string as it shows up in the shortcut dialog.
const char * const ADD_TO_WATCH1 = "Debugger.AddToWatch";
const char * const ADD_TO_WATCH2 = "Debugger.AddToWatch2";
const char * const OPERATE_BY_INSTRUCTION = "Debugger.OperateByInstruction";
const char * const FRAME_UP = "Debugger.FrameUp";
const char * const FRAME_DOWN = "Debugger.FrameDown";
@@ -3276,6 +3275,11 @@ DebuggerMainWindow *DebuggerPlugin::mainWindow()
return theDebuggerCore->m_mainWindow;
}
QAction *DebuggerPlugin::visibleDebugAction()
{
return theDebuggerCore->m_visibleDebugAction;
}
QWidget *DebugMode::widget()
{
if (!m_widget) {