|
a/src/qtgui/uiprefs_w.cpp |
|
b/src/qtgui/uiprefs_w.cpp |
|
... |
|
... |
156 |
|
156 |
|
157 |
buildAbsCB->setChecked(prefs.queryBuildAbstract);
|
157 |
buildAbsCB->setChecked(prefs.queryBuildAbstract);
|
158 |
replAbsCB->setEnabled(prefs.queryBuildAbstract);
|
158 |
replAbsCB->setEnabled(prefs.queryBuildAbstract);
|
159 |
replAbsCB->setChecked(prefs.queryReplaceAbstract);
|
159 |
replAbsCB->setChecked(prefs.queryReplaceAbstract);
|
160 |
|
160 |
|
|
|
161 |
autoSuffsCB->setChecked(prefs.autoSuffsEnable);
|
|
|
162 |
autoSuffsLE->setText(prefs.autoSuffs);
|
|
|
163 |
|
161 |
// Initialize the extra indexes listboxes
|
164 |
// Initialize the extra indexes listboxes
|
162 |
idxLV->clear();
|
165 |
idxLV->clear();
|
163 |
for (list<string>::iterator it = prefs.allExtraDbs.begin();
|
166 |
for (list<string>::iterator it = prefs.allExtraDbs.begin();
|
164 |
it != prefs.allExtraDbs.end(); it++) {
|
167 |
it != prefs.allExtraDbs.end(); it++) {
|
165 |
QCheckListItem *item =
|
168 |
QCheckListItem *item =
|
|
... |
|
... |
220 |
prefs.keepSort = keepSortCB->isChecked();
|
223 |
prefs.keepSort = keepSortCB->isChecked();
|
221 |
prefs.previewHtml = previewHtmlCB->isChecked();
|
224 |
prefs.previewHtml = previewHtmlCB->isChecked();
|
222 |
|
225 |
|
223 |
prefs.syntAbsLen = syntlenSB->value();
|
226 |
prefs.syntAbsLen = syntlenSB->value();
|
224 |
prefs.syntAbsCtx = syntctxSB->value();
|
227 |
prefs.syntAbsCtx = syntctxSB->value();
|
|
|
228 |
|
|
|
229 |
|
|
|
230 |
prefs.autoSuffsEnable = autoSuffsCB->isChecked();
|
|
|
231 |
prefs.autoSuffs = autoSuffsLE->text();
|
225 |
|
232 |
|
226 |
QListViewItemIterator it(idxLV);
|
233 |
QListViewItemIterator it(idxLV);
|
227 |
prefs.allExtraDbs.clear();
|
234 |
prefs.allExtraDbs.clear();
|
228 |
prefs.activeExtraDbs.clear();
|
235 |
prefs.activeExtraDbs.clear();
|
229 |
while (it.current()) {
|
236 |
while (it.current()) {
|