| 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 #include "SkSettingsWidget.h" | 10 #include "SkSettingsWidget.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 fGLGroup.setLayout(&fGLLayout); | 57 fGLGroup.setLayout(&fGLLayout); |
| 58 | 58 |
| 59 connect(&fGLGroup, SIGNAL(toggled(bool)), this, | 59 connect(&fGLGroup, SIGNAL(toggled(bool)), this, |
| 60 SIGNAL(glSettingsChanged())); | 60 SIGNAL(glSettingsChanged())); |
| 61 connect(&fGLMSAACombo, SIGNAL(activated(int)), this, | 61 connect(&fGLMSAACombo, SIGNAL(activated(int)), this, |
| 62 SIGNAL(glSettingsChanged())); | 62 SIGNAL(glSettingsChanged())); |
| 63 | 63 |
| 64 fVerticalLayout.addRow(&fGLGroup); | 64 fVerticalLayout.addRow(&fGLGroup); |
| 65 #endif | 65 #endif |
| 66 | 66 |
| 67 fFilterCombo.addItem("As encoded", QVariant(SkPaint::kNone_FilterLevel)); | 67 fFilterCombo.addItem("As encoded", QVariant(kNone_SkFilterQuality)); |
| 68 fFilterCombo.addItem("None", QVariant(SkPaint::kNone_FilterLevel)); | 68 fFilterCombo.addItem("None", QVariant(kNone_SkFilterQuality)); |
| 69 fFilterCombo.addItem("Low", QVariant(SkPaint::kLow_FilterLevel)); | 69 fFilterCombo.addItem("Low", QVariant(kLow_SkFilterQuality)); |
| 70 fFilterCombo.addItem("Medium", QVariant(SkPaint::kMedium_FilterLevel)); | 70 fFilterCombo.addItem("Medium", QVariant(kMedium_SkFilterQuality)); |
| 71 fFilterCombo.addItem("High", QVariant(SkPaint::kHigh_FilterLevel)); | 71 fFilterCombo.addItem("High", QVariant(kHigh_SkFilterQuality)); |
| 72 connect(&fFilterCombo, SIGNAL(activated(int)), this, SIGNAL(texFilterSetting
sChanged())); | 72 connect(&fFilterCombo, SIGNAL(activated(int)), this, SIGNAL(texFilterSetting
sChanged())); |
| 73 | 73 |
| 74 fVerticalLayout.addRow("Filtering", &fFilterCombo); | 74 fVerticalLayout.addRow("Filtering", &fFilterCombo); |
| 75 this->setDisabled(true); | 75 this->setDisabled(true); |
| 76 } | 76 } |
| 77 | 77 |
| OLD | NEW |