Changeset View
Changeset View
Standalone View
Standalone View
krusader/Konfigurator/kgcolors.cpp
Show First 20 Lines • Show All 259 Lines • ▼ Show 20 Line(s) | 219 | #endif | |||
---|---|---|---|---|---|
260 | preview->setSortingEnabled(false); | 260 | preview->setSortingEnabled(false); | ||
261 | preview->setEnabled(false); | 261 | preview->setEnabled(false); | ||
262 | 262 | | |||
263 | previewGrid->addWidget(preview, 0 , 0); | 263 | previewGrid->addWidget(preview, 0 , 0); | ||
264 | hbox->addWidget(previewGrp); | 264 | hbox->addWidget(previewGrp); | ||
265 | 265 | | |||
266 | connect(generals->find("Enable Alternate Background"), &KonfiguratorCheckBox::stateChanged, this, &KgColors::generatePreview); | 266 | connect(generals->find("Enable Alternate Background"), &KonfiguratorCheckBox::stateChanged, this, &KgColors::generatePreview); | ||
267 | connect(colorTabWidget, &QTabWidget::currentChanged, this, &KgColors::generatePreview); | 267 | connect(colorTabWidget, &QTabWidget::currentChanged, this, &KgColors::generatePreview); | ||
268 | connect(dimFactor, QOverload<int>::of(&KonfiguratorSpinBox::valueChanged), this, &KgColors::generatePreview); | 268 | connect(dimFactor, static_cast<void (KonfiguratorSpinBox::*)(int)>(&KonfiguratorSpinBox::valueChanged), | ||
269 | this, &KgColors::generatePreview); | ||||
269 | 270 | | |||
270 | kgColorsLayout->addWidget(hboxWidget, 1 , 0, 1, 3); | 271 | kgColorsLayout->addWidget(hboxWidget, 1 , 0, 1, 3); | ||
271 | 272 | | |||
272 | importBtn = new QPushButton(i18n("Import color-scheme"), innerWidget); | 273 | importBtn = new QPushButton(i18n("Import color-scheme"), innerWidget); | ||
273 | kgColorsLayout->addWidget(importBtn, 2, 0); | 274 | kgColorsLayout->addWidget(importBtn, 2, 0); | ||
274 | exportBtn = new QPushButton(i18n("Export color-scheme"), innerWidget); | 275 | exportBtn = new QPushButton(i18n("Export color-scheme"), innerWidget); | ||
275 | kgColorsLayout->addWidget(exportBtn, 2, 1); | 276 | kgColorsLayout->addWidget(exportBtn, 2, 1); | ||
276 | kgColorsLayout->addWidget(createSpacer(innerWidget), 2, 2); | 277 | kgColorsLayout->addWidget(createSpacer(innerWidget), 2, 2); | ||
▲ Show 20 Lines • Show All 430 Lines • Show Last 20 Lines |