|
a/src/qtgui/confgui/confguiindex.cpp |
|
b/src/qtgui/confgui/confguiindex.cpp |
|
... |
|
... |
114 |
|
114 |
|
115 |
w = new ConfBeaglePanelW(this, m_conf);
|
115 |
w = new ConfBeaglePanelW(this, m_conf);
|
116 |
m_widgets.push_back(w);
|
116 |
m_widgets.push_back(w);
|
117 |
tabWidget->addTab(w, QObject::tr("Beagle web history"));
|
117 |
tabWidget->addTab(w, QObject::tr("Beagle web history"));
|
118 |
|
118 |
|
119 |
#ifndef RCL_INDEX_STRIPCHARS
|
|
|
120 |
if (!o_index_stripchars) {
|
|
|
121 |
w = new ConfSearchPanelW(this, m_conf);
|
119 |
w = new ConfSearchPanelW(this, m_conf);
|
122 |
m_widgets.push_back(w);
|
120 |
m_widgets.push_back(w);
|
123 |
tabWidget->addTab(w, QObject::tr("Search parameters"));
|
121 |
tabWidget->addTab(w, QObject::tr("Search parameters"));
|
124 |
}
|
|
|
125 |
#endif
|
|
|
126 |
}
|
122 |
}
|
127 |
|
123 |
|
128 |
ConfBeaglePanelW::ConfBeaglePanelW(QWidget *parent, ConfNull *config)
|
124 |
ConfBeaglePanelW::ConfBeaglePanelW(QWidget *parent, ConfNull *config)
|
129 |
: QWidget(parent)
|
125 |
: QWidget(parent)
|
130 |
{
|
126 |
{
|
|
... |
|
... |
168 |
{
|
164 |
{
|
169 |
QVBoxLayout *vboxLayout = new QVBoxLayout(this);
|
165 |
QVBoxLayout *vboxLayout = new QVBoxLayout(this);
|
170 |
vboxLayout->setSpacing(spacing);
|
166 |
vboxLayout->setSpacing(spacing);
|
171 |
vboxLayout->setMargin(margin);
|
167 |
vboxLayout->setMargin(margin);
|
172 |
|
168 |
|
|
|
169 |
#ifndef RCL_INDEX_STRIPCHARS
|
|
|
170 |
if (!o_index_stripchars) {
|
173 |
ConfLink lnk1(new ConfLinkRclRep(config, "autodiacsens"));
|
171 |
ConfLink lnk1(new ConfLinkRclRep(config, "autodiacsens"));
|
174 |
ConfParamBoolW* cp1 =
|
172 |
ConfParamBoolW* cp1 =
|
175 |
new ConfParamBoolW(this, lnk1, tr("Automatic diacritics sensitivity"),
|
173 |
new ConfParamBoolW(this, lnk1, tr("Automatic diacritics sensitivity"),
|
176 |
tr("<p>Automatically trigger diacritics sensitivity "
|
174 |
tr("<p>Automatically trigger diacritics sensitivity "
|
177 |
"if the search term has accented characters "
|
175 |
"if the search term has accented characters "
|
|
... |
|
... |
192 |
"Else you need to use the query language and "
|
190 |
"Else you need to use the query language and "
|
193 |
"the <i>C</i> modifier to specify character-case "
|
191 |
"the <i>C</i> modifier to specify character-case "
|
194 |
"sensitivity."
|
192 |
"sensitivity."
|
195 |
));
|
193 |
));
|
196 |
vboxLayout->addWidget(cp2);
|
194 |
vboxLayout->addWidget(cp2);
|
|
|
195 |
}
|
|
|
196 |
#endif
|
197 |
|
197 |
|
198 |
ConfLink lnk3(new ConfLinkRclRep(config, "maxTermExpand"));
|
198 |
ConfLink lnk3(new ConfLinkRclRep(config, "maxTermExpand"));
|
199 |
ConfParamIntW* cp3 =
|
199 |
ConfParamIntW* cp3 =
|
200 |
new ConfParamIntW(this, lnk3,
|
200 |
new ConfParamIntW(this, lnk3,
|
201 |
tr("Maximum term expansion count"),
|
201 |
tr("Maximum term expansion count"),
|