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

Side by Side Diff: debugger/QT/SkDebuggerGUI.h

Issue 787143004: debugger: Make draw command image widget resize (Closed) Base URL: https://skia.googlesource.com/skia.git@debugger-resize-01-settings-layout
Patch Set: address review comments Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | debugger/QT/SkDebuggerGUI.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | debugger/QT/SkDebuggerGUI.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698