Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2278)

Unified Diff: debugger/QT/SkDebuggerGUI.cpp

Issue 18279002: Separate showing and hiding the debugger settings and inspector. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « debugger/QT/SkDebuggerGUI.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: debugger/QT/SkDebuggerGUI.cpp
===================================================================
--- debugger/QT/SkDebuggerGUI.cpp (revision 9826)
+++ debugger/QT/SkDebuggerGUI.cpp (working copy)
@@ -44,6 +44,7 @@
, fActionDirectory(this)
, fActionGoToLine(this)
, fActionInspector(this)
+ , fActionSettings(this)
, fActionPlay(this)
, fActionPause(this)
, fActionRewind(this)
@@ -82,7 +83,7 @@
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 @@
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 @@
fToolBar.addAction(&fActionPlay);
fToolBar.addSeparator();
fToolBar.addAction(&fActionInspector);
+ fToolBar.addAction(&fActionSettings);
fToolBar.addSeparator();
fToolBar.addAction(&fActionProfile);
@@ -863,6 +872,7 @@
fMenuWindows.setTitle("Window");
fMenuWindows.addAction(&fActionInspector);
+ fMenuWindows.addAction(&fActionSettings);
fMenuWindows.addAction(&fActionDirectory);
fActionGoToLine.setText("Go to Line...");
« no previous file with comments | « debugger/QT/SkDebuggerGUI.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698