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 SKSETTINGSWIDGET_H_ | 10 #ifndef SKSETTINGSWIDGET_H_ |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 } | 63 } |
64 | 64 |
65 QCheckBox* getRasterCheckBox() { | 65 QCheckBox* getRasterCheckBox() { |
66 return &fRasterCheckBox; | 66 return &fRasterCheckBox; |
67 } | 67 } |
68 | 68 |
69 QCheckBox* getOverdrawVizCheckBox() { | 69 QCheckBox* getOverdrawVizCheckBox() { |
70 return &fOverdrawVizCheckBox; | 70 return &fOverdrawVizCheckBox; |
71 } | 71 } |
72 | 72 |
| 73 QCheckBox* getMegaVizCheckBox() { |
| 74 return &fMegaVizCheckBox; |
| 75 } |
| 76 |
73 private slots: | 77 private slots: |
74 void updateCommand(int newCommand); | 78 void updateCommand(int newCommand); |
75 void updateHit(int newHit); | 79 void updateHit(int newHit); |
76 | 80 |
77 signals: | 81 signals: |
78 void scrollingPreferences(bool isStickyActivate); | 82 void scrollingPreferences(bool isStickyActivate); |
79 void showStyle(bool isSingleCommand); | 83 void showStyle(bool isSingleCommand); |
80 void visibilityFilterChanged(); | 84 void visibilityFilterChanged(); |
81 void texFilterSettingsChanged(); | 85 void texFilterSettingsChanged(); |
82 #if SK_SUPPORT_GPU | 86 #if SK_SUPPORT_GPU |
(...skipping 23 matching lines...) Expand all Loading... |
106 QLineEdit fCommandHitBox; | 110 QLineEdit fCommandHitBox; |
107 | 111 |
108 QFrame fCanvasFrame; | 112 QFrame fCanvasFrame; |
109 QVBoxLayout fCanvasLayout; | 113 QVBoxLayout fCanvasLayout; |
110 QLabel fCanvasToggle; | 114 QLabel fCanvasToggle; |
111 | 115 |
112 QHBoxLayout fRasterLayout; | 116 QHBoxLayout fRasterLayout; |
113 QLabel fRasterLabel; | 117 QLabel fRasterLabel; |
114 QCheckBox fRasterCheckBox; | 118 QCheckBox fRasterCheckBox; |
115 | 119 |
116 QHBoxLayout fOverdrawVizLayout; | 120 QHBoxLayout fVizLayout; |
117 QLabel fOverdrawVizLabel; | 121 QLabel fOverdrawVizLabel; |
118 QCheckBox fOverdrawVizCheckBox; | 122 QCheckBox fOverdrawVizCheckBox; |
| 123 QLabel fMegaVizLabel; |
| 124 QCheckBox fMegaVizCheckBox; |
119 | 125 |
120 #if SK_SUPPORT_GPU | 126 #if SK_SUPPORT_GPU |
121 QHBoxLayout fGLLayout; | 127 QHBoxLayout fGLLayout; |
122 QLabel fGLLabel; | 128 QLabel fGLLabel; |
123 QCheckBox fGLCheckBox; | 129 QCheckBox fGLCheckBox; |
124 QGroupBox fGLMSAAButtonGroup; | 130 QGroupBox fGLMSAAButtonGroup; |
125 QVBoxLayout fGLMSAALayout; | 131 QVBoxLayout fGLMSAALayout; |
126 QComboBox fGLMSAACombo; | 132 QComboBox fGLMSAACombo; |
127 #endif | 133 #endif |
128 | 134 |
129 // for filtering group | 135 // for filtering group |
130 QGroupBox fFilterButtonGroup; | 136 QGroupBox fFilterButtonGroup; |
131 QComboBox fFilterCombo; | 137 QComboBox fFilterCombo; |
132 QVBoxLayout fFilterLayout; | 138 QVBoxLayout fFilterLayout; |
133 | 139 |
134 QFrame fZoomFrame; | 140 QFrame fZoomFrame; |
135 QHBoxLayout fZoomLayout; | 141 QHBoxLayout fZoomLayout; |
136 QLabel fZoomSetting; | 142 QLabel fZoomSetting; |
137 QLineEdit fZoomBox; | 143 QLineEdit fZoomBox; |
138 }; | 144 }; |
139 | 145 |
140 #endif /* SKSETTINGSWIDGET_H_ */ | 146 #endif /* SKSETTINGSWIDGET_H_ */ |
OLD | NEW |