Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/SettingsDialog/SaveOptionsPage.cpp
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 39 | { | |||
---|---|---|---|---|---|
46 | connect(mUrlRequester, &KUrlRequester::textChanged, this, &SaveOptionsPage::markDirty); | 46 | connect(mUrlRequester, &KUrlRequester::textChanged, this, &SaveOptionsPage::markDirty); | ||
47 | mainLayout->addRow(i18n("Save Location:"), mUrlRequester); | 47 | mainLayout->addRow(i18n("Save Location:"), mUrlRequester); | ||
48 | 48 | | |||
49 | // copy file location to clipboard after saving | 49 | // copy file location to clipboard after saving | ||
50 | mCopyPathToClipboard = new QCheckBox(i18n("Copy file location to clipboard after saving"), this); | 50 | mCopyPathToClipboard = new QCheckBox(i18n("Copy file location to clipboard after saving"), this); | ||
51 | connect(mCopyPathToClipboard, &QCheckBox::toggled, this, &SaveOptionsPage::markDirty); | 51 | connect(mCopyPathToClipboard, &QCheckBox::toggled, this, &SaveOptionsPage::markDirty); | ||
52 | mainLayout->addRow(QString(), mCopyPathToClipboard); | 52 | mainLayout->addRow(QString(), mCopyPathToClipboard); | ||
53 | 53 | | |||
54 | | ||||
55 | mainLayout->addItem(new QSpacerItem(0, 18, QSizePolicy::Fixed, QSizePolicy::Fixed)); | 54 | mainLayout->addItem(new QSpacerItem(0, 18, QSizePolicy::Fixed, QSizePolicy::Fixed)); | ||
56 | 55 | | |||
57 | // Compression quality slider and current value display | 56 | // Compression quality slider and current value display | ||
58 | QHBoxLayout *sliderHorizLayout = new QHBoxLayout(); | 57 | QHBoxLayout *sliderHorizLayout = new QHBoxLayout(); | ||
59 | QVBoxLayout *sliderVertLayout = new QVBoxLayout(); | 58 | QVBoxLayout *sliderVertLayout = new QVBoxLayout(); | ||
60 | 59 | | |||
61 | // Current value | 60 | // Current value | ||
62 | QLabel *qualityValue = new QLabel(); | 61 | QLabel *qualityValue = new QLabel(); | ||
▲ Show 20 Lines • Show All 162 Lines • Show Last 20 Lines |