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 |
(...skipping 10 matching lines...) Expand all Loading... |
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> |
| 31 #include <QtGui/QSplitter> |
31 #include <QtGui/QStatusBar> | 32 #include <QtGui/QStatusBar> |
32 #include <QtGui/QToolBar> | 33 #include <QtGui/QToolBar> |
33 #include <QtGui/QVBoxLayout> | 34 #include <QtGui/QVBoxLayout> |
34 #include <QtGui/QWidget> | 35 #include <QtGui/QWidget> |
35 #include <QtGui/QMenu> | 36 #include <QtGui/QMenu> |
36 #include <QtGui/QMenuBar> | 37 #include <QtGui/QMenuBar> |
37 #include <vector> | 38 #include <vector> |
38 | 39 |
39 class SkTimedPicture; | 40 class SkTimedPicture; |
40 namespace sk_tools { | 41 namespace sk_tools { |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 */ | 228 */ |
228 void toggleDirectory(); | 229 void toggleDirectory(); |
229 | 230 |
230 /** | 231 /** |
231 Filters the list widgets command visibility based on the currently | 232 Filters the list widgets command visibility based on the currently |
232 active selection. | 233 active selection. |
233 */ | 234 */ |
234 void toggleFilter(QString string); | 235 void toggleFilter(QString string); |
235 | 236 |
236 private: | 237 private: |
237 QWidget fCentralWidget; | 238 QSplitter fCentralSplitter; |
238 QStatusBar fStatusBar; | 239 QStatusBar fStatusBar; |
239 QToolBar fToolBar; | 240 QToolBar fToolBar; |
240 | 241 |
241 QAction fActionOpen; | 242 QAction fActionOpen; |
242 QAction fActionBreakpoint; | 243 QAction fActionBreakpoint; |
243 QAction fActionProfile; | 244 QAction fActionProfile; |
244 QAction fActionCancel; | 245 QAction fActionCancel; |
245 QAction fActionClearBreakpoints; | 246 QAction fActionClearBreakpoints; |
246 QAction fActionClearDeletes; | 247 QAction fActionClearDeletes; |
247 QAction fActionClose; | 248 QAction fActionClose; |
(...skipping 11 matching lines...) Expand all Loading... |
259 QAction fActionShowDeletes; | 260 QAction fActionShowDeletes; |
260 QAction fActionStepBack; | 261 QAction fActionStepBack; |
261 QAction fActionStepForward; | 262 QAction fActionStepForward; |
262 QAction fActionZoomIn; | 263 QAction fActionZoomIn; |
263 QAction fActionZoomOut; | 264 QAction fActionZoomOut; |
264 QSignalMapper fMapper; | 265 QSignalMapper fMapper; |
265 | 266 |
266 QWidget fSpacer; | 267 QWidget fSpacer; |
267 QComboBox fFilter; | 268 QComboBox fFilter; |
268 | 269 |
269 QHBoxLayout fContainerLayout; | 270 QSplitter fLeftColumnSplitter; |
270 QVBoxLayout fLeftColumnLayout; | 271 QWidget fMainAndRightColumnWidget; |
271 QVBoxLayout fMainAndRightColumnLayout; | 272 QVBoxLayout fMainAndRightColumnLayout; |
272 QHBoxLayout fCanvasSettingsAndImageLayout; | 273 QHBoxLayout fCanvasSettingsAndImageLayout; |
273 QVBoxLayout fSettingsAndImageLayout; | 274 QVBoxLayout fSettingsAndImageLayout; |
274 | 275 |
275 QListWidget fListWidget; | 276 QListWidget fListWidget; |
276 QListWidget fDirectoryWidget; | 277 QListWidget fDirectoryWidget; |
277 | 278 |
278 SkDebugger fDebugger; | 279 SkDebugger fDebugger; |
279 SkCanvasWidget fCanvasWidget; | 280 SkCanvasWidget fCanvasWidget; |
280 SkImageWidget fImageWidget; | 281 SkImageWidget fImageWidget; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 /** | 334 /** |
334 Render the supplied picture several times tracking the time consumed | 335 Render the supplied picture several times tracking the time consumed |
335 by each command. | 336 by each command. |
336 */ | 337 */ |
337 void run(SkTimedPicture* pict, | 338 void run(SkTimedPicture* pict, |
338 sk_tools::PictureRenderer* renderer, | 339 sk_tools::PictureRenderer* renderer, |
339 int repeats); | 340 int repeats); |
340 }; | 341 }; |
341 | 342 |
342 #endif // SKDEBUGGERUI_H | 343 #endif // SKDEBUGGERUI_H |
OLD | NEW |