| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #ifndef SKDEBUGGERUI_H | 9 #ifndef SKDEBUGGERUI_H |
| 10 #define SKDEBUGGERUI_H | 10 #define SKDEBUGGERUI_H |
| 11 | 11 |
| 12 | 12 |
| 13 #include "SkCanvas.h" | 13 #include "SkCanvas.h" |
| 14 #include "SkCanvasWidget.h" | 14 #include "SkCanvasWidget.h" |
| 15 #include "SkDebugger.h" | 15 #include "SkDebugger.h" |
| 16 #include "SkGLWidget.h" | 16 #include "SkGLWidget.h" |
| 17 #include "SkListWidget.h" | 17 #include "SkListWidget.h" |
| 18 #include "SkInspectorWidget.h" | 18 #include "SkInspectorWidget.h" |
| 19 #include "SkRasterWidget.h" | 19 #include "SkRasterWidget.h" |
| 20 #include "SkDrawCommandGeometryWidget.h" | 20 #include "SkDrawCommandGeometryWidget.h" |
| 21 #include "SkSettingsWidget.h" | 21 #include "SkSettingsWidget.h" |
| 22 #include <QtCore/QSignalMapper> |
| 22 #include <QtCore/QVariant> | 23 #include <QtCore/QVariant> |
| 23 #include <QtGui/QAction> | 24 #include <QtGui/QAction> |
| 24 #include <QtGui/QApplication> | 25 #include <QtGui/QApplication> |
| 25 #include <QtGui/QButtonGroup> | 26 #include <QtGui/QButtonGroup> |
| 26 #include <QtGui/QHBoxLayout> | 27 #include <QtGui/QHBoxLayout> |
| 27 #include <QtGui/QHeaderView> | 28 #include <QtGui/QHeaderView> |
| 28 #include <QtGui/QListView> | 29 #include <QtGui/QListView> |
| 29 #include <QtGui/QListWidget> | 30 #include <QtGui/QListWidget> |
| 30 #include <QtGui/QMainWindow> | 31 #include <QtGui/QMainWindow> |
| 31 #include <QtGui/QSplitter> | 32 #include <QtGui/QSplitter> |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 */ | 227 */ |
| 227 void toggleDirectory(); | 228 void toggleDirectory(); |
| 228 | 229 |
| 229 /** | 230 /** |
| 230 Filters the list widgets command visibility based on the currently | 231 Filters the list widgets command visibility based on the currently |
| 231 active selection. | 232 active selection. |
| 232 */ | 233 */ |
| 233 void toggleFilter(QString string); | 234 void toggleFilter(QString string); |
| 234 | 235 |
| 235 void updateHit(int newHit); | 236 void updateHit(int newHit); |
| 237 |
| 238 void updateImage(); |
| 236 private: | 239 private: |
| 237 QSplitter fCentralSplitter; | 240 QSplitter fCentralSplitter; |
| 238 QStatusBar fStatusBar; | 241 QStatusBar fStatusBar; |
| 239 QToolBar fToolBar; | 242 QToolBar fToolBar; |
| 240 | 243 |
| 241 QAction fActionOpen; | 244 QAction fActionOpen; |
| 242 QAction fActionBreakpoint; | 245 QAction fActionBreakpoint; |
| 243 QAction fActionToggleIndexStyle; | 246 QAction fActionToggleIndexStyle; |
| 244 QAction fActionProfile; | 247 QAction fActionProfile; |
| 245 QAction fActionCancel; | 248 QAction fActionCancel; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 void run(const SkPicture* pict, | 348 void run(const SkPicture* pict, |
| 346 sk_tools::PictureRenderer* renderer, | 349 sk_tools::PictureRenderer* renderer, |
| 347 int repeats); | 350 int repeats); |
| 348 | 351 |
| 349 bool isPaused() const { | 352 bool isPaused() const { |
| 350 return fActionPause.isChecked(); | 353 return fActionPause.isChecked(); |
| 351 } | 354 } |
| 352 }; | 355 }; |
| 353 | 356 |
| 354 #endif // SKDEBUGGERUI_H | 357 #endif // SKDEBUGGERUI_H |
| OLD | NEW |