Changeset View
Changeset View
Standalone View
Standalone View
src/kcmdesignerfields.cpp
Show First 20 Lines • Show All 289 Lines • ▼ Show 20 Line(s) | |||||
290 | 290 | | |||
291 | void KCMDesignerFields::defaults() | 291 | void KCMDesignerFields::defaults() | ||
292 | { | 292 | { | ||
293 | } | 293 | } | ||
294 | 294 | | |||
295 | void KCMDesignerFields::initGUI() | 295 | void KCMDesignerFields::initGUI() | ||
296 | { | 296 | { | ||
297 | QVBoxLayout *layout = new QVBoxLayout(this); | 297 | QVBoxLayout *layout = new QVBoxLayout(this); | ||
298 | layout->setMargin(0); | 298 | layout->setContentsMargins(0, 0, 0, 0); | ||
299 | 299 | | |||
300 | bool noDesigner = QStandardPaths::findExecutable(QStringLiteral("designer")).isEmpty(); | 300 | bool noDesigner = QStandardPaths::findExecutable(QStringLiteral("designer")).isEmpty(); | ||
301 | 301 | | |||
302 | if (noDesigner) { | 302 | if (noDesigner) { | ||
303 | QString txt | 303 | QString txt | ||
304 | = i18n("<qt><b>Warning:</b> Qt Designer could not be found. It is probably not " | 304 | = i18n("<qt><b>Warning:</b> Qt Designer could not be found. It is probably not " | ||
305 | "installed. You will only be able to import existing designer files.</qt>"); | 305 | "installed. You will only be able to import existing designer files.</qt>"); | ||
306 | QLabel *lbl = new QLabel(txt, this); | 306 | QLabel *lbl = new QLabel(txt, this); | ||
▲ Show 20 Lines • Show All 171 Lines • Show Last 20 Lines |