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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 } | 67 } |
68 | 68 |
69 QCheckBox* getOverdrawVizCheckBox() { | 69 QCheckBox* getOverdrawVizCheckBox() { |
70 return &fOverdrawVizCheckBox; | 70 return &fOverdrawVizCheckBox; |
71 } | 71 } |
72 | 72 |
73 QCheckBox* getMegaVizCheckBox() { | 73 QCheckBox* getMegaVizCheckBox() { |
74 return &fMegaVizCheckBox; | 74 return &fMegaVizCheckBox; |
75 } | 75 } |
76 | 76 |
| 77 QCheckBox* getPathOpsCheckBox() { |
| 78 return &fPathOpsCheckBox; |
| 79 } |
| 80 |
77 private slots: | 81 private slots: |
78 void updateCommand(int newCommand); | 82 void updateCommand(int newCommand); |
79 void updateHit(int newHit); | 83 void updateHit(int newHit); |
80 | 84 |
81 signals: | 85 signals: |
82 void scrollingPreferences(bool isStickyActivate); | 86 void scrollingPreferences(bool isStickyActivate); |
83 void showStyle(bool isSingleCommand); | 87 void showStyle(bool isSingleCommand); |
84 void visibilityFilterChanged(); | 88 void visibilityFilterChanged(); |
85 void texFilterSettingsChanged(); | 89 void texFilterSettingsChanged(); |
86 #if SK_SUPPORT_GPU | 90 #if SK_SUPPORT_GPU |
(...skipping 28 matching lines...) Expand all Loading... |
115 | 119 |
116 QHBoxLayout fRasterLayout; | 120 QHBoxLayout fRasterLayout; |
117 QLabel fRasterLabel; | 121 QLabel fRasterLabel; |
118 QCheckBox fRasterCheckBox; | 122 QCheckBox fRasterCheckBox; |
119 | 123 |
120 QHBoxLayout fVizLayout; | 124 QHBoxLayout fVizLayout; |
121 QLabel fOverdrawVizLabel; | 125 QLabel fOverdrawVizLabel; |
122 QCheckBox fOverdrawVizCheckBox; | 126 QCheckBox fOverdrawVizCheckBox; |
123 QLabel fMegaVizLabel; | 127 QLabel fMegaVizLabel; |
124 QCheckBox fMegaVizCheckBox; | 128 QCheckBox fMegaVizCheckBox; |
| 129 QLabel fPathOpsLabel; |
| 130 QCheckBox fPathOpsCheckBox; |
125 | 131 |
126 #if SK_SUPPORT_GPU | 132 #if SK_SUPPORT_GPU |
127 QHBoxLayout fGLLayout; | 133 QHBoxLayout fGLLayout; |
128 QLabel fGLLabel; | 134 QLabel fGLLabel; |
129 QCheckBox fGLCheckBox; | 135 QCheckBox fGLCheckBox; |
130 QGroupBox fGLMSAAButtonGroup; | 136 QGroupBox fGLMSAAButtonGroup; |
131 QVBoxLayout fGLMSAALayout; | 137 QVBoxLayout fGLMSAALayout; |
132 QComboBox fGLMSAACombo; | 138 QComboBox fGLMSAACombo; |
133 #endif | 139 #endif |
134 | 140 |
135 // for filtering group | 141 // for filtering group |
136 QGroupBox fFilterButtonGroup; | 142 QGroupBox fFilterButtonGroup; |
137 QComboBox fFilterCombo; | 143 QComboBox fFilterCombo; |
138 QVBoxLayout fFilterLayout; | 144 QVBoxLayout fFilterLayout; |
139 | 145 |
140 QFrame fZoomFrame; | 146 QFrame fZoomFrame; |
141 QHBoxLayout fZoomLayout; | 147 QHBoxLayout fZoomLayout; |
142 QLabel fZoomSetting; | 148 QLabel fZoomSetting; |
143 QLineEdit fZoomBox; | 149 QLineEdit fZoomBox; |
144 }; | 150 }; |
145 | 151 |
146 #endif /* SKSETTINGSWIDGET_H_ */ | 152 #endif /* SKSETTINGSWIDGET_H_ */ |
OLD | NEW |