Changeset View
Changeset View
Standalone View
Standalone View
krusader/Konfigurator/kgpanel.cpp
Show First 20 Lines • Show All 375 Lines • ▼ Show 20 Line(s) | 361 | { | |||
---|---|---|---|---|---|
376 | // ---------------------------------------------------------------------------------- | 376 | // ---------------------------------------------------------------------------------- | ||
377 | // ---------------------------- General settings ----------------------------------- | 377 | // ---------------------------- General settings ----------------------------------- | ||
378 | // ---------------------------------------------------------------------------------- | 378 | // ---------------------------------------------------------------------------------- | ||
379 | 379 | | |||
380 | // -------------------- Panel Font ---------------------------------- | 380 | // -------------------- Panel Font ---------------------------------- | ||
381 | auto *hbox = new QHBoxLayout(); | 381 | auto *hbox = new QHBoxLayout(); | ||
382 | 382 | | |||
383 | auto *fontLayout = new QHBoxLayout(); | 383 | auto *fontLayout = new QHBoxLayout(); | ||
384 | fontLayout->addWidget(new QLabel(i18n("View font:"), panelGrp)); | 384 | QLabel *labelFontLay = new QLabel(i18n("View font:"), panelGrp); | ||
385 | fontLayout->addWidget(labelFontLay); | ||||
385 | KonfiguratorFontChooser *chsr = | 386 | KonfiguratorFontChooser *chsr = | ||
386 | createFontChooser("Look&Feel", "Filelist Font", _FilelistFont, panelGrp, true, PAGE_VIEW); | 387 | createFontChooser("Look&Feel", "Filelist Font", _FilelistFont, | ||
388 | labelFontLay, panelGrp, true, QString(), PAGE_VIEW); | ||||
387 | fontLayout->addWidget(chsr); | 389 | fontLayout->addWidget(chsr); | ||
388 | fontLayout->addStretch(1); | 390 | fontLayout->addStretch(1); | ||
389 | hbox->addLayout(fontLayout, 1); | 391 | hbox->addLayout(fontLayout, 1); | ||
390 | 392 | | |||
391 | // -------------------- Panel Tooltip ---------------------------------- | 393 | // -------------------- Panel Tooltip ---------------------------------- | ||
392 | auto *tooltipLayout = new QHBoxLayout(); | 394 | auto *tooltipLayout = new QHBoxLayout(); | ||
393 | const QString delayTip = i18n("The duration after a tooltip is shown for a file item, in " | 395 | const QString delayTip = i18n("The duration after a tooltip is shown for a file item, in " | ||
394 | "milliseconds. Set a negative value to disable tooltips."); | 396 | "milliseconds. Set a negative value to disable tooltips."); | ||
▲ Show 20 Lines • Show All 449 Lines • Show Last 20 Lines |