Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/SettingsDialog/SaveOptionsPage.cpp
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Line(s) | 95 | const QString helpText = i18n( | |||
---|---|---|---|---|---|
98 | 98 | | |||
99 | "<blockquote>" | 99 | "<blockquote>" | ||
100 | "<b>%Y</b>: Year (4 digit)<br />" | 100 | "<b>%Y</b>: Year (4 digit)<br />" | ||
101 | "<b>%y</b>: Year (2 digit)<br />" | 101 | "<b>%y</b>: Year (2 digit)<br />" | ||
102 | "<b>%M</b>: Month<br />" | 102 | "<b>%M</b>: Month<br />" | ||
103 | "<b>%D</b>: Day<br />" | 103 | "<b>%D</b>: Day<br />" | ||
104 | "<b>%H</b>: Hour<br />" | 104 | "<b>%H</b>: Hour<br />" | ||
105 | "<b>%m</b>: Minute<br />" | 105 | "<b>%m</b>: Minute<br />" | ||
106 | "<b>%S</b>: Second" | 106 | "<b>%S</b>: Second<br />" | ||
107 | "<b>%T</b>: Window title" | ||||
rkflx: `<br />` missing | |||||
rkflx: Window's → Window | |||||
107 | "</blockquote>" | 108 | "</blockquote>" | ||
108 | ); | 109 | ); | ||
109 | 110 | | |||
110 | QLabel *fmtHelpText = new QLabel(helpText, this); | 111 | QLabel *fmtHelpText = new QLabel(helpText, this); | ||
111 | fmtHelpText->setWordWrap(true); | 112 | fmtHelpText->setWordWrap(true); | ||
112 | fmtHelpText->setTextFormat(Qt::RichText); | 113 | fmtHelpText->setTextFormat(Qt::RichText); | ||
114 | fmtHelpText->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); | ||||
113 | fmtLayout->addWidget(fmtHelpText); | 115 | fmtLayout->addWidget(fmtHelpText); | ||
114 | 116 | | |||
115 | // read in the data | 117 | // read in the data | ||
116 | 118 | | |||
117 | resetChanges(); | 119 | resetChanges(); | ||
118 | 120 | | |||
119 | // finish up with the main layout | 121 | // finish up with the main layout | ||
120 | 122 | | |||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |
<br /> missing