summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/debuggeruiswitcher.h
diff options
context:
space:
mode:
authorLasse Holmstedt <lasse.holmstedt@nokia.com>2010-02-26 16:36:02 +0100
committerLasse Holmstedt <lasse.holmstedt@nokia.com>2010-02-26 16:39:12 +0100
commit49100862771bf174512fe9f50651b2c768d9e87f (patch)
treeac57b7a26682f36aa940b6a14880f0a0d5ed08cd /src/plugins/debugger/debuggeruiswitcher.h
parent73a5bd479fb778ba36b27124d79ceb6d3f873d70 (diff)
downloadqt-creator-49100862771bf174512fe9f50651b2c768d9e87f.tar.gz
Moved debugger language selection from toolbar to menu
Diffstat (limited to 'src/plugins/debugger/debuggeruiswitcher.h')
-rw-r--r--src/plugins/debugger/debuggeruiswitcher.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggeruiswitcher.h b/src/plugins/debugger/debuggeruiswitcher.h
index 7ace45b40e..8c2d69ac15 100644
--- a/src/plugins/debugger/debuggeruiswitcher.h
+++ b/src/plugins/debugger/debuggeruiswitcher.h
@@ -17,6 +17,7 @@ QT_FORWARD_DECLARE_CLASS(Action);
QT_FORWARD_DECLARE_CLASS(QDockWidget);
QT_FORWARD_DECLARE_CLASS(QStackedWidget);
QT_FORWARD_DECLARE_CLASS(QComboBox);
+QT_FORWARD_DECLARE_CLASS(QActionGroup);
namespace Debugger {
class DebuggerMainWindow;
@@ -74,6 +75,7 @@ private slots:
void modeChanged(Core::IMode *mode);
void changeDebuggerUI(int langId);
void resetDebuggerLayout();
+ void langChangeTriggered();
private:
void hideInactiveWidgets();
@@ -90,9 +92,11 @@ private:
QList< Internal::DebugToolWindow* > m_dockWidgets;
QStandardItemModel *m_model;
QStackedWidget *m_toolbarStack;
- QComboBox *m_langBox;
DebuggerMainWindow *m_mainWindow;
+ QList<int> m_debuggercontext;
+ QActionGroup *m_languageActionGroup;
+
int m_activeLanguage;
bool m_isActiveMode;
bool m_changingUI;
@@ -101,6 +105,7 @@ private:
const static int StackIndexRole = Qt::UserRole + 11;
+ Core::ActionContainer *m_languageMenu;
Core::ActionContainer *m_viewsMenu;
Core::ActionContainer *m_debugMenu;