| 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 | 9 |
| 10 #ifndef SKINSPECTORWIDGET_H_ | 10 #ifndef SKINSPECTORWIDGET_H_ |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 The InspectorWidget contains the overview and details tab. These contain | 24 The InspectorWidget contains the overview and details tab. These contain |
| 25 information about the whole picture and details about each draw command. | 25 information about the whole picture and details about each draw command. |
| 26 */ | 26 */ |
| 27 class SkInspectorWidget : public QWidget { | 27 class SkInspectorWidget : public QWidget { |
| 28 Q_OBJECT | 28 Q_OBJECT |
| 29 | 29 |
| 30 public: | 30 public: |
| 31 enum TabType { | 31 enum TabType { |
| 32 kOverview_TabType, | 32 kOverview_TabType, |
| 33 kDetail_TabType, | 33 kDetail_TabType, |
| 34 kClipStack_TabType, |
| 34 kTotalTabCount, | 35 kTotalTabCount, |
| 35 }; | 36 }; |
| 36 | 37 |
| 37 /** | 38 /** |
| 38 Constructs a widget with the specified parent for layout purposes. | 39 Constructs a widget with the specified parent for layout purposes. |
| 39 @param parent The parent container of this widget | 40 @param parent The parent container of this widget |
| 40 */ | 41 */ |
| 41 SkInspectorWidget(); | 42 SkInspectorWidget(); |
| 42 | 43 |
| 43 void setDisabled(bool isDisabled) { | 44 void setDisabled(bool isDisabled) { |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 QLabel fClipLabel; | 98 QLabel fClipLabel; |
| 98 QVBoxLayout fClipLayout; | 99 QVBoxLayout fClipLayout; |
| 99 QHBoxLayout fClipRow[2]; | 100 QHBoxLayout fClipRow[2]; |
| 100 QLineEdit fClipEntry[4]; | 101 QLineEdit fClipEntry[4]; |
| 101 | 102 |
| 102 QVBoxLayout* setupMatrix(); | 103 QVBoxLayout* setupMatrix(); |
| 103 QVBoxLayout* setupClip(); | 104 QVBoxLayout* setupClip(); |
| 104 }; | 105 }; |
| 105 | 106 |
| 106 #endif | 107 #endif |
| OLD | NEW |