|
a/src/qtgui/uiprefs_w.cpp |
|
b/src/qtgui/uiprefs_w.cpp |
|
... |
|
... |
104 |
previewPlainPreCB->setChecked(prefs.previewPlainPre);
|
104 |
previewPlainPreCB->setChecked(prefs.previewPlainPre);
|
105 |
// Query terms color
|
105 |
// Query terms color
|
106 |
qtermColorLE->setText(prefs.qtermcolor);
|
106 |
qtermColorLE->setText(prefs.qtermcolor);
|
107 |
// Abstract snippet separator string
|
107 |
// Abstract snippet separator string
|
108 |
abssepLE->setText(prefs.abssep);
|
108 |
abssepLE->setText(prefs.abssep);
|
|
|
109 |
dateformatLE->setText(prefs.reslistdateformat);
|
109 |
|
110 |
|
110 |
// Result list font family and size
|
111 |
// Result list font family and size
|
111 |
reslistFontFamily = prefs.reslistfontfamily;
|
112 |
reslistFontFamily = prefs.reslistfontfamily;
|
112 |
reslistFontSize = prefs.reslistfontsize;
|
113 |
reslistFontSize = prefs.reslistfontsize;
|
113 |
QString s;
|
114 |
QString s;
|
|
... |
|
... |
192 |
prefs.collapseDuplicates = collapseDupsCB->isChecked();
|
193 |
prefs.collapseDuplicates = collapseDupsCB->isChecked();
|
193 |
prefs.maxhltextmbs = maxHLTSB->value();
|
194 |
prefs.maxhltextmbs = maxHLTSB->value();
|
194 |
|
195 |
|
195 |
prefs.qtermcolor = qtermColorLE->text();
|
196 |
prefs.qtermcolor = qtermColorLE->text();
|
196 |
prefs.abssep = abssepLE->text();
|
197 |
prefs.abssep = abssepLE->text();
|
|
|
198 |
prefs.reslistdateformat = dateformatLE->text();
|
|
|
199 |
prefs.creslistdateformat = (const char*)prefs.reslistdateformat.toUtf8();
|
197 |
|
200 |
|
198 |
prefs.reslistfontfamily = reslistFontFamily;
|
201 |
prefs.reslistfontfamily = reslistFontFamily;
|
199 |
prefs.reslistfontsize = reslistFontSize;
|
202 |
prefs.reslistfontsize = reslistFontSize;
|
200 |
prefs.stylesheetFile = stylesheetFile;
|
203 |
prefs.stylesheetFile = stylesheetFile;
|
201 |
prefs.reslistformat = rlfTE->toPlainText();
|
204 |
prefs.reslistformat = rlfTE->toPlainText();
|