Changeset View
Changeset View
Standalone View
Standalone View
krusader/Konfigurator/kgstartup.cpp
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 69 | KONFIGURATOR_CHECKBOX_PARAM settings[] = { // cfg_class cfg_name default text restart tooltip | |||
---|---|---|---|---|---|
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 | auto *iconThemeLayout = new QHBoxLayout(); | 77 | auto *iconThemeLayout = new QHBoxLayout(); | ||
78 | QLabel *iconThemeLabel = new QLabel(i18n("Fallback Icon Theme:")); | 78 | QLabel *iconThemeLabel = new QLabel(i18n("Fallback Icon Theme:")); | ||
79 | iconThemeLabel->setWhatsThis(i18n("Whenever icon is not found in system icon theme, " | 79 | QString toolTip = i18n("Whenever icon is not found in system icon theme, " | ||
80 | "this theme will be used as a fallback. " | 80 | "this theme will be used as a fallback. " | ||
81 | "If fallback theme doesn't contain the icon, " | 81 | "If fallback theme doesn't contain the icon, " | ||
82 | "Breeze or Oxygen will be used if any of these are present.")); | 82 | "Breeze or Oxygen will be used if any of these are present."); | ||
83 | iconThemeLayout->addWidget(iconThemeLabel); | 83 | iconThemeLayout->addWidget(iconThemeLabel); | ||
84 | KonfiguratorEditBox *iconThemeEditBox = createEditBox("Startup", "Fallback Icon Theme", "", | 84 | KonfiguratorEditBox *iconThemeEditBox = createEditBox("Startup", "Fallback Icon Theme", "", | ||
85 | panelsGrp, true); | 85 | iconThemeLabel, panelsGrp, true, toolTip); | ||
86 | iconThemeLayout->addWidget(iconThemeEditBox); | 86 | iconThemeLayout->addWidget(iconThemeEditBox); | ||
87 | iconThemeLayout->addStretch(1); | 87 | iconThemeLayout->addStretch(1); | ||
88 | panelsGrid->addLayout(iconThemeLayout, 3, 0, 1, 2); | 88 | panelsGrid->addLayout(iconThemeLayout, 3, 0, 1, 2); | ||
89 | 89 | | |||
90 | kgStartupLayout->addWidget(panelsGrp, 0, 0); | 90 | kgStartupLayout->addWidget(panelsGrp, 0, 0); | ||
91 | 91 | | |||
92 | // ------------------------ USERINTERFACE GROUPBOX ------------------------------ | 92 | // ------------------------ USERINTERFACE GROUPBOX ------------------------------ | ||
93 | 93 | | |||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |