Changeset View
Changeset View
Standalone View
Standalone View
krusader/Konfigurator/kgstartup.cpp
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Line(s) | 34 | { | |||
---|---|---|---|---|---|
69 | KONFIGURATOR_CHECKBOX_PARAM settings[] = { // cfg_class cfg_name default text restart tooltip | 69 | KONFIGURATOR_CHECKBOX_PARAM settings[] = { // cfg_class cfg_name default text restart tooltip | ||
70 | {"Look&Feel", "Show splashscreen", _ShowSplashScreen, i18n("Show splashscreen"), false, i18n("Display a splashscreen when starting Krusader.") }, | 70 | {"Look&Feel", "Show splashscreen", _ShowSplashScreen, i18n("Show splashscreen"), false, i18n("Display a splashscreen when starting Krusader.") }, | ||
71 | {"Look&Feel", "Single Instance Mode", _SingleInstanceMode, i18n("Single instance mode"), false, i18n("Only one Krusader instance is allowed to run.") } | 71 | {"Look&Feel", "Single Instance Mode", _SingleInstanceMode, i18n("Single instance mode"), false, i18n("Only one Krusader instance is allowed to run.") } | ||
72 | }; | 72 | }; | ||
73 | 73 | | |||
74 | KonfiguratorCheckBoxGroup* cbs = createCheckBoxGroup(2, 0, settings, 2 /* settings count */, panelsGrp); | 74 | KonfiguratorCheckBoxGroup* cbs = createCheckBoxGroup(2, 0, settings, 2 /* settings count */, panelsGrp); | ||
75 | panelsGrid->addWidget(cbs, 2, 0, 1, 2); | 75 | panelsGrid->addWidget(cbs, 2, 0, 1, 2); | ||
76 | 76 | | |||
77 | QHBoxLayout *iconThemeLayout = new QHBoxLayout(); | ||||
78 | QLabel *iconThemeLabel = new QLabel(i18n("Fallback Icon Theme:")); | ||||
79 | iconThemeLabel->setWhatsThis(i18n("Whenever icon is not found in system icon theme, " | ||||
80 | "this theme will be used as a fallback. " | ||||
81 | "If fallback theme doesn't contain the icon, " | ||||
82 | "Breeze or Oxygen will be used if any of these are present.")); | ||||
83 | iconThemeLayout->addWidget(iconThemeLabel); | ||||
84 | KonfiguratorEditBox *iconThemeEditBox = createEditBox("Startup", "Fallback Icon Theme", "breeze", | ||||
85 | panelsGrp, true); | ||||
86 | iconThemeLayout->addWidget(iconThemeEditBox); | ||||
87 | iconThemeLayout->addStretch(1); | ||||
88 | panelsGrid->addLayout(iconThemeLayout, 3, 0, 1, 2); | ||||
89 | | ||||
77 | kgStartupLayout->addWidget(panelsGrp, 0, 0); | 90 | kgStartupLayout->addWidget(panelsGrp, 0, 0); | ||
78 | 91 | | |||
79 | // ------------------------ USERINTERFACE GROUPBOX ------------------------------ | 92 | // ------------------------ USERINTERFACE GROUPBOX ------------------------------ | ||
80 | 93 | | |||
81 | QGroupBox *uiGrp = createFrame(i18n("User Interface"), innerWidget); | 94 | QGroupBox *uiGrp = createFrame(i18n("User Interface"), innerWidget); | ||
82 | QGridLayout *uiGrid = createGridLayout(uiGrp); | 95 | QGridLayout *uiGrid = createGridLayout(uiGrp); | ||
83 | 96 | | |||
84 | KONFIGURATOR_CHECKBOX_PARAM uiSettings[] = { | 97 | KONFIGURATOR_CHECKBOX_PARAM uiSettings[] = { | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |