forked from qt-creator/qt-creator
		
	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:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user