forked from qt-creator/qt-creator
Changed QML Inspector from a separate global mode to a plugin.
The new QML Inspector depends on DebuggerPlugin. Also added a dropdown menu into the debugger toolbar from which the user can select the used debugging language, e.g. C++ or QML.
This commit is contained in:
28
src/plugins/debugger/debuggermainwindow.h
Normal file
28
src/plugins/debugger/debuggermainwindow.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef DEBUGGERMAINWINDOW_H
|
||||
#define DEBUGGERMAINWINDOW_H
|
||||
|
||||
#include "debuggeruiswitcher.h"
|
||||
#include <utils/fancymainwindow.h>
|
||||
|
||||
|
||||
class QMenu;
|
||||
|
||||
namespace Debugger {
|
||||
|
||||
class DebuggerMainWindow : public Utils::FancyMainWindow
|
||||
{
|
||||
public:
|
||||
DebuggerMainWindow(DebuggerUISwitcher *uiSwitcher, QWidget *parent = 0);
|
||||
~DebuggerMainWindow();
|
||||
|
||||
|
||||
protected:
|
||||
virtual QMenu *createPopupMenu();
|
||||
|
||||
private:
|
||||
DebuggerUISwitcher *m_uiSwitcher;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // DEBUGGERMAINWINDOW_H
|
||||
Reference in New Issue
Block a user