|
a/src/qtgui/ssearch_w.cpp |
|
b/src/qtgui/ssearch_w.cpp |
|
... |
|
... |
86 |
HelpClient::installMap(this->name(), "RCL.SEARCH.SIMPLE");
|
86 |
HelpClient::installMap(this->name(), "RCL.SEARCH.SIMPLE");
|
87 |
|
87 |
|
88 |
// Also fix tooltips
|
88 |
// Also fix tooltips
|
89 |
switch (typ) {
|
89 |
switch (typ) {
|
90 |
case SST_LANG:
|
90 |
case SST_LANG:
|
91 |
queryText->setToolTip(
|
91 |
QToolTip::add(queryText,
|
92 |
"Enter query language expression. Cheat sheet:<br>\n"
|
92 |
"Enter query language expression. Cheat sheet:<br>\n"
|
93 |
"<i>term1 term2</i> : 'term1' and 'term2' in any field.<br>\n"
|
93 |
"<i>term1 term2</i> : 'term1' and 'term2' in any field.<br>\n"
|
94 |
"<i>field:term1</i> : 'term1' in field 'field'.<br>\n"
|
94 |
"<i>field:term1</i> : 'term1' in field 'field'.<br>\n"
|
95 |
" Standard field names/synonyms:<br>\n"
|
95 |
" Standard field names/synonyms:<br>\n"
|
96 |
" title/subject/caption, author/from, recipient/to, filename, ext.<br>\n"
|
96 |
" title/subject/caption, author/from, recipient/to, filename, ext.<br>\n"
|
|
... |
|
... |
102 |
"<i>\"term1 term2\"p</i> : unordered proximity search with default distance.<br>\n"
|
102 |
"<i>\"term1 term2\"p</i> : unordered proximity search with default distance.<br>\n"
|
103 |
"Use <b>Show Query</b> link when in doubt about result and see manual (<F1>) for more detail.\n"
|
103 |
"Use <b>Show Query</b> link when in doubt about result and see manual (<F1>) for more detail.\n"
|
104 |
);
|
104 |
);
|
105 |
break;
|
105 |
break;
|
106 |
case SST_FNM:
|
106 |
case SST_FNM:
|
107 |
queryText->setToolTip("Enter file name wildcard expression.");
|
107 |
QToolTip::add(queryText, "Enter file name wildcard expression.");
|
108 |
break;
|
108 |
break;
|
109 |
case SST_ANY:
|
109 |
case SST_ANY:
|
110 |
case SST_ALL:
|
110 |
case SST_ALL:
|
111 |
default:
|
111 |
default:
|
|
|
112 |
QToolTip::add(queryText,
|
112 |
queryText->setToolTip("Enter search terms here. Type ESC SPC for completions of current term.");
|
113 |
"Enter search terms here. Type ESC SPC for completions of current term.");
|
113 |
}
|
114 |
}
|
114 |
}
|
115 |
}
|
115 |
|
116 |
|
116 |
void SSearch::startSimpleSearch()
|
117 |
void SSearch::startSimpleSearch()
|
117 |
{
|
118 |
{
|