Files
qt-creator/src/plugins/debugger/debuggermainwindow.h

40 lines
736 B
C
Raw Normal View History

#ifndef DEBUGGERMAINWINDOW_H
#define DEBUGGERMAINWINDOW_H
#include <utils/fancymainwindow.h>
2010-02-17 11:56:12 +01:00
QT_FORWARD_DECLARE_CLASS(QMenu);
namespace Debugger {
class DebuggerUISwitcher;
namespace Internal {
class DebugToolWindow {
public:
DebugToolWindow() : m_visible(false) {}
QDockWidget* m_dockWidget;
int m_languageId;
bool m_visible;
};
class DebuggerMainWindow : public Utils::FancyMainWindow
{
Q_OBJECT
public:
explicit DebuggerMainWindow(DebuggerUISwitcher *uiSwitcher, QWidget *parent = 0);
virtual ~DebuggerMainWindow();
protected:
virtual QMenu *createPopupMenu();
private:
DebuggerUISwitcher *m_uiSwitcher;
};
} // namespace Internal
} // namespace Debugger
#endif // DEBUGGERMAINWINDOW_H