Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/KSWidget.cpp
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Line(s) | 42 | { | |||
---|---|---|---|---|---|
107 | connect(mWindowDecorations, &QCheckBox::clicked, lConfigMgr, &SpectacleConfig::setIncludeDecorationsChecked); | 107 | connect(mWindowDecorations, &QCheckBox::clicked, lConfigMgr, &SpectacleConfig::setIncludeDecorationsChecked); | ||
108 | 108 | | |||
109 | mCaptureTransientOnly = new QCheckBox(i18n("Capture the current pop-up only"), this); | 109 | mCaptureTransientOnly = new QCheckBox(i18n("Capture the current pop-up only"), this); | ||
110 | mCaptureTransientOnly->setToolTip(i18n("Capture only the current pop-up window (like a menu, tooltip etc).\n" | 110 | mCaptureTransientOnly->setToolTip(i18n("Capture only the current pop-up window (like a menu, tooltip etc).\n" | ||
111 | "If disabled, the pop-up is captured along with the parent window")); | 111 | "If disabled, the pop-up is captured along with the parent window")); | ||
112 | mCaptureTransientOnly->setEnabled(false); | 112 | mCaptureTransientOnly->setEnabled(false); | ||
113 | connect(mCaptureTransientOnly, &QCheckBox::clicked, lConfigMgr, &SpectacleConfig::setCaptureTransientWindowOnlyChecked); | 113 | connect(mCaptureTransientOnly, &QCheckBox::clicked, lConfigMgr, &SpectacleConfig::setCaptureTransientWindowOnlyChecked); | ||
114 | 114 | | |||
115 | mQuitAfterSaveOrCopy = new QCheckBox(i18n("Quit after Save or Copy"), this); | 115 | mQuitAfterSaveOrCopy = new QCheckBox(i18n("Quit after manual Save or Copy"), this); | ||
116 | mQuitAfterSaveOrCopy->setToolTip(i18n("Quit Spectacle after saving or copying the image")); | 116 | mQuitAfterSaveOrCopy->setToolTip(i18n("Quit Spectacle after manually saving or copying the image")); | ||
117 | connect(mQuitAfterSaveOrCopy, &QCheckBox::clicked, lConfigMgr, &SpectacleConfig::setQuitAfterSaveOrCopyChecked); | 117 | connect(mQuitAfterSaveOrCopy, &QCheckBox::clicked, lConfigMgr, &SpectacleConfig::setQuitAfterSaveOrCopyChecked); | ||
118 | 118 | | |||
119 | mContentOptionsForm = new QVBoxLayout; | 119 | mContentOptionsForm = new QVBoxLayout; | ||
120 | mContentOptionsForm->addWidget(mMousePointer); | 120 | mContentOptionsForm->addWidget(mMousePointer); | ||
121 | mContentOptionsForm->addWidget(mWindowDecorations); | 121 | mContentOptionsForm->addWidget(mWindowDecorations); | ||
122 | mContentOptionsForm->addWidget(mCaptureTransientOnly); | 122 | mContentOptionsForm->addWidget(mCaptureTransientOnly); | ||
123 | mContentOptionsForm->addWidget(mQuitAfterSaveOrCopy); | 123 | mContentOptionsForm->addWidget(mQuitAfterSaveOrCopy); | ||
124 | mContentOptionsForm->setContentsMargins(24, 0, 0, 0); | 124 | mContentOptionsForm->setContentsMargins(24, 0, 0, 0); | ||
▲ Show 20 Lines • Show All 163 Lines • Show Last 20 Lines |