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

@@ -52,12 +52,14 @@ class DebuggerMainWindowPrivate;
class DEBUGGER_EXPORT DebuggerMainWindow : public Utils::FancyMainWindow
{
Q_OBJECT
public:
DebuggerMainWindow();
~DebuggerMainWindow();
// Debugger toolbars are registered with this function.
void setToolBar(const DebuggerLanguage &language, QWidget *widget);
void setToolBar(DebuggerLanguage language, QWidget *widget);
// Active languages to be debugged.
DebuggerLanguages activeDebugLanguages() const;
@@ -78,6 +80,9 @@ public:
void readSettings();
void writeSettings() const;
signals:
void activeDebugLanguagesChanged(Debugger::DebuggerLanguages);
private:
friend class Internal::DebuggerMainWindowPrivate;
Internal::DebuggerMainWindowPrivate *d;