aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--debugger/QT/SkDebuggerGUI.cpp12
-rw-r--r--debugger/QT/SkDebuggerGUI.h1
2 files changed, 12 insertions, 1 deletions
diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp
index 67277070e5..502447a03d 100644
--- a/debugger/QT/SkDebuggerGUI.cpp
+++ b/debugger/QT/SkDebuggerGUI.cpp
@@ -44,6 +44,7 @@ SkDebuggerGUI::SkDebuggerGUI(QWidget *parent) :
, fActionDirectory(this)
, fActionGoToLine(this)
, fActionInspector(this)
+ , fActionSettings(this)
, fActionPlay(this)
, fActionPause(this)
, fActionRewind(this)
@@ -82,7 +83,7 @@ SkDebuggerGUI::SkDebuggerGUI(QWidget *parent) :
connect(&fActionStepForward, SIGNAL(triggered()), this, SLOT(actionStepForward()));
connect(&fActionBreakpoint, SIGNAL(triggered()), this, SLOT(actionBreakpoints()));
connect(&fActionInspector, SIGNAL(triggered()), this, SLOT(actionInspector()));
- connect(&fActionInspector, SIGNAL(triggered()), this, SLOT(actionSettings()));
+ connect(&fActionSettings, SIGNAL(triggered()), this, SLOT(actionSettings()));
connect(&fFilter, SIGNAL(activated(QString)), this, SLOT(toggleFilter(QString)));
connect(&fActionProfile, SIGNAL(triggered()), this, SLOT(actionProfile()));
connect(&fActionCancel, SIGNAL(triggered()), this, SLOT(actionCancel()));
@@ -706,6 +707,13 @@ void SkDebuggerGUI::setupUi(QMainWindow *SkDebuggerGUI) {
fActionInspector.setIcon(inspector);
fActionInspector.setText("Inspector");
+ QIcon settings;
+ settings.addFile(QString::fromUtf8(":/inspector.png"),
+ QSize(), QIcon::Normal, QIcon::Off);
+ fActionSettings.setShortcut(QKeySequence(tr("Ctrl+G")));
+ fActionSettings.setIcon(settings);
+ fActionSettings.setText("Settings");
+
QIcon play;
play.addFile(QString::fromUtf8(":/play.png"), QSize(),
QIcon::Normal, QIcon::Off);
@@ -819,6 +827,7 @@ void SkDebuggerGUI::setupUi(QMainWindow *SkDebuggerGUI) {
fToolBar.addAction(&fActionPlay);
fToolBar.addSeparator();
fToolBar.addAction(&fActionInspector);
+ fToolBar.addAction(&fActionSettings);
fToolBar.addSeparator();
fToolBar.addAction(&fActionProfile);
@@ -863,6 +872,7 @@ void SkDebuggerGUI::setupUi(QMainWindow *SkDebuggerGUI) {
fMenuWindows.setTitle("Window");
fMenuWindows.addAction(&fActionInspector);
+ fMenuWindows.addAction(&fActionSettings);
fMenuWindows.addAction(&fActionDirectory);
fActionGoToLine.setText("Go to Line...");
diff --git a/debugger/QT/SkDebuggerGUI.h b/debugger/QT/SkDebuggerGUI.h
index 90cccd041b..31226384a6 100644
--- a/debugger/QT/SkDebuggerGUI.h
+++ b/debugger/QT/SkDebuggerGUI.h
@@ -245,6 +245,7 @@ private:
QAction fActionDirectory;
QAction fActionGoToLine;
QAction fActionInspector;
+ QAction fActionSettings;
QAction fActionPlay;
QAction fActionPause;
QAction fActionRewind;