... |
... |
@@ -236,9 +236,6 @@ SettingPanel::syncSettings() |
236
|
236
|
void
|
237
|
237
|
SettingPanel::createConnections()
|
238
|
238
|
{
|
239
|
|
- connect(hintingCheckBox_, &QCheckBox::clicked,
|
240
|
|
- this, &SettingPanel::checkHinting);
|
241
|
|
-
|
242
|
239
|
// use `qOverload` here to prevent ambiguity.
|
243
|
240
|
connect(hintingModeComboBox_,
|
244
|
241
|
qOverload<int>(&QComboBox::currentIndexChanged),
|
... |
... |
@@ -250,7 +247,21 @@ SettingPanel::createConnections() |
250
|
247
|
qOverload<int>(&QComboBox::currentIndexChanged),
|
251
|
248
|
this, &SettingPanel::checkLCDFilter);
|
252
|
249
|
|
253
|
|
- // TODO: some connections are missing
|
|
250
|
+ connect(gammaSlider_, &QSlider::valueChanged,
|
|
251
|
+ this, &SettingPanel::repaintNeeded);
|
|
252
|
+
|
|
253
|
+ connect(hintingCheckBox_, &QCheckBox::clicked,
|
|
254
|
+ this, &SettingPanel::checkHinting);
|
|
255
|
+
|
|
256
|
+ connect(horizontalHintingCheckBox_, &QCheckBox::clicked,
|
|
257
|
+ this, &SettingPanel::repaintNeeded);
|
|
258
|
+ connect(verticalHintingCheckBox_, &QCheckBox::clicked,
|
|
259
|
+ this, &SettingPanel::repaintNeeded);
|
|
260
|
+ connect(blueZoneHintingCheckBox_, &QCheckBox::clicked,
|
|
261
|
+ this, &SettingPanel::repaintNeeded);
|
|
262
|
+ connect(segmentDrawingCheckBox_, &QCheckBox::clicked,
|
|
263
|
+ this, &SettingPanel::repaintNeeded);
|
|
264
|
+
|
254
|
265
|
connect(autoHintingCheckBox_, &QCheckBox::clicked,
|
255
|
266
|
this, &SettingPanel::checkAutoHinting);
|
256
|
267
|
connect(showBitmapCheckBox_, &QCheckBox::clicked,
|