| 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 "SkImageWidget.h" | 20 #include "SkDrawCommandGeometryWidget.h" |
| 21 #include "SkSettingsWidget.h" | 21 #include "SkSettingsWidget.h" |
| 22 #include <QtCore/QVariant> | 22 #include <QtCore/QVariant> |
| 23 #include <QtGui/QAction> | 23 #include <QtGui/QAction> |
| 24 #include <QtGui/QApplication> | 24 #include <QtGui/QApplication> |
| 25 #include <QtGui/QButtonGroup> | 25 #include <QtGui/QButtonGroup> |
| 26 #include <QtGui/QHBoxLayout> | 26 #include <QtGui/QHBoxLayout> |
| 27 #include <QtGui/QHeaderView> | 27 #include <QtGui/QHeaderView> |
| 28 #include <QtGui/QListView> | 28 #include <QtGui/QListView> |
| 29 #include <QtGui/QListWidget> | 29 #include <QtGui/QListWidget> |
| 30 #include <QtGui/QMainWindow> | 30 #include <QtGui/QMainWindow> |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 QWidget fMainAndRightColumnWidget; | 274 QWidget fMainAndRightColumnWidget; |
| 275 QVBoxLayout fMainAndRightColumnLayout; | 275 QVBoxLayout fMainAndRightColumnLayout; |
| 276 QHBoxLayout fCanvasSettingsAndImageLayout; | 276 QHBoxLayout fCanvasSettingsAndImageLayout; |
| 277 QVBoxLayout fSettingsAndImageLayout; | 277 QVBoxLayout fSettingsAndImageLayout; |
| 278 | 278 |
| 279 QListWidget fListWidget; | 279 QListWidget fListWidget; |
| 280 QListWidget fDirectoryWidget; | 280 QListWidget fDirectoryWidget; |
| 281 | 281 |
| 282 SkDebugger fDebugger; | 282 SkDebugger fDebugger; |
| 283 SkCanvasWidget fCanvasWidget; | 283 SkCanvasWidget fCanvasWidget; |
| 284 SkImageWidget fImageWidget; | 284 |
| 285 SkInspectorWidget fInspectorWidget; | 285 SkInspectorWidget fInspectorWidget; |
| 286 SkSettingsWidget fSettingsWidget; | 286 SkSettingsWidget fSettingsWidget; |
| 287 | 287 |
| 288 QFrame fViewStateFrame; | 288 QFrame fViewStateFrame; |
| 289 QVBoxLayout fViewStateFrameLayout; | 289 QVBoxLayout fViewStateFrameLayout; |
| 290 QGroupBox fViewStateGroup; | 290 QGroupBox fViewStateGroup; |
| 291 QFormLayout fViewStateLayout; | 291 QFormLayout fViewStateLayout; |
| 292 QLineEdit fCurrentCommandBox; | 292 QLineEdit fCurrentCommandBox; |
| 293 QLineEdit fCommandHitBox; | 293 QLineEdit fCommandHitBox; |
| 294 QLineEdit fZoomBox; | 294 QLineEdit fZoomBox; |
| 295 SkDrawCommandGeometryWidget fDrawCommandGeometryWidget; |
| 295 | 296 |
| 296 QString fPath; | 297 QString fPath; |
| 297 SkString fFileName; | 298 SkString fFileName; |
| 298 SkTDArray<bool> fSkipCommands; // has a specific command been deleted? | 299 SkTDArray<bool> fSkipCommands; // has a specific command been deleted? |
| 299 bool fDirectoryWidgetActive; | 300 bool fDirectoryWidgetActive; |
| 300 | 301 |
| 301 QMenuBar fMenuBar; | 302 QMenuBar fMenuBar; |
| 302 QMenu fMenuFile; | 303 QMenu fMenuFile; |
| 303 QMenu fMenuEdit; | 304 QMenu fMenuEdit; |
| 304 QMenu fMenuNavigate; | 305 QMenu fMenuNavigate; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 /** | 352 /** |
| 352 Render the supplied picture several times tracking the time consumed | 353 Render the supplied picture several times tracking the time consumed |
| 353 by each command. | 354 by each command. |
| 354 */ | 355 */ |
| 355 void run(const SkPicture* pict, | 356 void run(const SkPicture* pict, |
| 356 sk_tools::PictureRenderer* renderer, | 357 sk_tools::PictureRenderer* renderer, |
| 357 int repeats); | 358 int repeats); |
| 358 }; | 359 }; |
| 359 | 360 |
| 360 #endif // SKDEBUGGERUI_H | 361 #endif // SKDEBUGGERUI_H |
| OLD | NEW |