Switch to unified view

a/src/qtgui/confgui/confguiindex.cpp b/src/qtgui/confgui/confguiindex.cpp
...
...
162
{
162
{
163
    QVBoxLayout *vboxLayout = new QVBoxLayout(this);
163
    QVBoxLayout *vboxLayout = new QVBoxLayout(this);
164
    vboxLayout->setSpacing(spacing);
164
    vboxLayout->setSpacing(spacing);
165
    vboxLayout->setMargin(margin);
165
    vboxLayout->setMargin(margin);
166
166
167
#ifndef RCL_INDEX_STRIPCHARS
168
    if (!o_index_stripchars) {
167
    if (!o_index_stripchars) {
169
    ConfLink lnk1(new ConfLinkRclRep(config, "autodiacsens"));
168
  ConfLink lnk1(new ConfLinkRclRep(config, "autodiacsens"));
170
    ConfParamBoolW* cp1 = 
169
  ConfParamBoolW* cp1 = 
171
        new ConfParamBoolW(this, lnk1, tr("Automatic diacritics sensitivity"),
170
      new ConfParamBoolW(this, lnk1, tr("Automatic diacritics sensitivity"),
172
                           tr("<p>Automatically trigger diacritics sensitivity "
171
                 tr("<p>Automatically trigger diacritics sensitivity "
173
                  "if the search term has accented characters "
172
                "if the search term has accented characters "
174
                  "(not in unac_except_trans). Else you need to "
173
                "(not in unac_except_trans). Else you need to "
175
                  "use the query language and the <i>D</i> "
174
                "use the query language and the <i>D</i> "
176
                  "modifier to specify "
175
                "modifier to specify "
177
                  "diacritics sensitivity."
176
                "diacritics sensitivity."
178
              ));
177
                 ));
179
    vboxLayout->addWidget(cp1);
178
  vboxLayout->addWidget(cp1);
180
179
181
    ConfLink lnk2(new ConfLinkRclRep(config, "autocasesens"));
180
  ConfLink lnk2(new ConfLinkRclRep(config, "autocasesens"));
182
    ConfParamBoolW* cp2 = 
181
  ConfParamBoolW* cp2 = 
183
        new ConfParamBoolW(this, lnk2, 
182
      new ConfParamBoolW(this, lnk2, 
184
               tr("Automatic character case sensitivity"),
183
                   tr("Automatic character case sensitivity"),
185
               tr("<p>Automatically trigger character case "
184
                   tr("<p>Automatically trigger character case "
186
                  "sensitivity if the entry has upper-case "
185
                "sensitivity if the entry has upper-case "
187
                  "characters in any but the first position. "
186
                "characters in any but the first position. "
188
                  "Else you need to use the query language and "
187
                "Else you need to use the query language and "
189
                  "the <i>C</i> modifier to specify character-case "
188
                "the <i>C</i> modifier to specify character-case "
190
                  "sensitivity."
189
                "sensitivity."
191
                   ));
190
                 ));
192
    vboxLayout->addWidget(cp2);
191
  vboxLayout->addWidget(cp2);
193
    }
192
    }
194
#endif
195
193
196
    ConfLink lnk3(new ConfLinkRclRep(config, "maxTermExpand"));
194
    ConfLink lnk3(new ConfLinkRclRep(config, "maxTermExpand"));
197
    ConfParamIntW* cp3 = 
195
    ConfParamIntW* cp3 = 
198
        new ConfParamIntW(this, lnk3, 
196
        new ConfParamIntW(this, lnk3, 
199
               tr("Maximum term expansion count"),
197
               tr("Maximum term expansion count"),