Added documentation
[mdictionary] / doc / latex / classGUIInterface.tex
1 \hypertarget{classGUIInterface}{
2 \section{GUIInterface Class Reference}
3 \label{classGUIInterface}\index{GUIInterface@{GUIInterface}}
4 }
5
6
7 Interface for different GUIs.  
8
9
10
11
12 {\ttfamily \#include $<$GUIInterface.h$>$}
13
14 Inheritance diagram for GUIInterface:\begin{figure}[H]
15 \begin{center}
16 \leavevmode
17 \includegraphics[height=2cm]{classGUIInterface}
18 \end{center}
19 \end{figure}
20 \subsection*{Public Slots}
21 \begin{DoxyCompactItemize}
22 \item 
23 virtual void \hyperlink{classGUIInterface_a39d3969fbadaea6da410a93dc3bebdd7}{searchExact} (QString word)=0
24 \begin{DoxyCompactList}\small\item\em Search in exact mode for given word. \item\end{DoxyCompactList}\item 
25 virtual void \hyperlink{classGUIInterface_a4081962fcbd7e8063bb87fcc444b6124}{addToHistory} (QList$<$ \hyperlink{classTranslation}{Translation} $\ast$ $>$)=0
26 \begin{DoxyCompactList}\small\item\em Adds to history key words from given translations. \item\end{DoxyCompactList}\item 
27 \hypertarget{classGUIInterface_aa7a21fe2438ac72d9bc7843733ee2e3b}{
28 virtual void \hyperlink{classGUIInterface_aa7a21fe2438ac72d9bc7843733ee2e3b}{showHistory} ()=0}
29 \label{classGUIInterface_aa7a21fe2438ac72d9bc7843733ee2e3b}
30
31 \begin{DoxyCompactList}\small\item\em Shows history dialog. \item\end{DoxyCompactList}\item 
32 virtual void \hyperlink{classGUIInterface_a9b9d53a56b052cf4c7d5e5bc158b8036}{historyNext} ()=0
33 \begin{DoxyCompactList}\small\item\em Shows translation of next word in history. \item\end{DoxyCompactList}\item 
34 virtual void \hyperlink{classGUIInterface_a47243e01c2d2e3887ee3fef656f84475}{historyPrev} ()=0
35 \begin{DoxyCompactList}\small\item\em Shows translation of previous word in history. \item\end{DoxyCompactList}\item 
36 virtual void \hyperlink{classGUIInterface_a0387f70e18b390cf1e229cbeb27a61c8}{wordListReady} ()=0
37 \begin{DoxyCompactList}\small\item\em Gets word list from backbone and prepares received list to display. \item\end{DoxyCompactList}\item 
38 \hypertarget{classGUIInterface_abd81fe53691de8c942be152a099bd21b}{
39 virtual void \hyperlink{classGUIInterface_abd81fe53691de8c942be152a099bd21b}{translationsReady} ()=0}
40 \label{classGUIInterface_abd81fe53691de8c942be152a099bd21b}
41
42 \begin{DoxyCompactList}\small\item\em Gets translation strings from backbone and emit signal to display them. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
43 \subsection*{Signals}
44 \begin{DoxyCompactItemize}
45 \item 
46 void \hyperlink{classGUIInterface_a66c9b1a0743e55a456831b91d4674d86}{quit} ()
47 \item 
48 void \hyperlink{classGUIInterface_af1012152ba1c3683c19bb5de68cc34ec}{searchWordList} (QString word)
49 \begin{DoxyCompactList}\small\item\em Emited when user want to search for list of words matching given word. \item\end{DoxyCompactList}\item 
50 void \hyperlink{classGUIInterface_a9855cd24df15d961ec062f0c6b80a263}{searchTranslations} (QList$<$ \hyperlink{classTranslation}{Translation} $\ast$ $>$)
51 \begin{DoxyCompactList}\small\item\em Emited when user wants to see translation of words. \item\end{DoxyCompactList}\item 
52 void \hyperlink{classGUIInterface_a2af4fcfe33ffab1cb2de6972b2eb66b8}{setBusy} ()
53 \item 
54 \hypertarget{classGUIInterface_a605a50fb08e4149cbe26c00189227a88}{
55 void \hyperlink{classGUIInterface_a605a50fb08e4149cbe26c00189227a88}{setIdle} ()}
56 \label{classGUIInterface_a605a50fb08e4149cbe26c00189227a88}
57
58 \begin{DoxyCompactList}\small\item\em Emited when searching ends, will enable GUI components. \item\end{DoxyCompactList}\item 
59 \hypertarget{classGUIInterface_aee6a89f4fd62e09d552af5522121a036}{
60 void \hyperlink{classGUIInterface_aee6a89f4fd62e09d552af5522121a036}{stopSearching} ()}
61 \label{classGUIInterface_aee6a89f4fd62e09d552af5522121a036}
62
63 \begin{DoxyCompactList}\small\item\em Emited when user want to break search. \item\end{DoxyCompactList}\item 
64 void \hyperlink{classGUIInterface_acaa643ecd68519b1b66f76cb5eaabe4e}{showWordList} (QHash$<$ QString, QList$<$ \hyperlink{classTranslation}{Translation} $\ast$ $>$ $>$)
65 \item 
66 void \hyperlink{classGUIInterface_a10454da99d774b68a38f1f0c374c4c51}{showTranslation} (QStringList)
67 \item 
68 void \hyperlink{classGUIInterface_a39f9eea230008cb063d5aeac0158e13a}{addNewDictionary} (\hyperlink{classCommonDictInterface}{CommonDictInterface} $\ast$)
69 \begin{DoxyCompactList}\small\item\em Emited when user wants to add new dictionary. \item\end{DoxyCompactList}\item 
70 void \hyperlink{classGUIInterface_a4bcc5403e1c18a67e5378de713bd6c66}{removeDictionary} (\hyperlink{classCommonDictInterface}{CommonDictInterface} $\ast$)
71 \begin{DoxyCompactList}\small\item\em Emited when user wants to remove dictionary. \item\end{DoxyCompactList}\item 
72 void \hyperlink{classGUIInterface_a46465786e5e8b629b51b5dd2e5c51181}{selectedDictionaries} (QList$<$ \hyperlink{classCommonDictInterface}{CommonDictInterface} $\ast$ $>$)
73 \begin{DoxyCompactList}\small\item\em Emited when user changes dictionaries active/inactive states. \item\end{DoxyCompactList}\item 
74 \hypertarget{classGUIInterface_a1a18cd7940751b2993ab9cf36749206e}{
75 void {\bfseries addToBookmarks} (QList$<$ \hyperlink{classTranslation}{Translation} $\ast$ $>$)}
76 \label{classGUIInterface_a1a18cd7940751b2993ab9cf36749206e}
77
78 \end{DoxyCompactItemize}
79 \subsection*{Public Member Functions}
80 \begin{DoxyCompactItemize}
81 \item 
82 \hypertarget{classGUIInterface_a840b9805dfc2a13ec9d71c9cf64fcde3}{
83 {\bfseries GUIInterface} (QWidget $\ast$parent=0)}
84 \label{classGUIInterface_a840b9805dfc2a13ec9d71c9cf64fcde3}
85
86 \item 
87 virtual QHash$<$ \hyperlink{classCommonDictInterface}{CommonDictInterface} $\ast$, bool $>$ \hyperlink{classGUIInterface_a65f5532b1d404c41f22e6408138bd87a}{getDictionaries} ()=0
88 \item 
89 virtual QList$<$ \hyperlink{classCommonDictInterface}{CommonDictInterface} $\ast$ $>$ \hyperlink{classGUIInterface_a232872064056fdcfa752b314d9e34bfa}{getPlugins} ()=0
90 \begin{DoxyCompactList}\small\item\em Returns all loaded plugins. \item\end{DoxyCompactList}\item 
91 bool \hyperlink{classGUIInterface_a83f7716f43447730aeda078cc202d48b}{exactSearch} ()
92 \begin{DoxyCompactList}\small\item\em Indicates if GUI is in exact search mode. \item\end{DoxyCompactList}\item 
93 void \hyperlink{classGUIInterface_a4d9a8b5392fdbcec9a0b8663eba3c571}{setExactSearch} (bool exactSearch)
94 \begin{DoxyCompactList}\small\item\em Sets GUI exact search mode. \item\end{DoxyCompactList}\item 
95 \hypertarget{classGUIInterface_a4575172e6a78aef865a143ca356cd3f7}{
96 virtual \hyperlink{classSettings}{Settings} $\ast$ {\bfseries settings} ()=0}
97 \label{classGUIInterface_a4575172e6a78aef865a143ca356cd3f7}
98
99 \item 
100 \hypertarget{classGUIInterface_a8e1d089eddb19d43e2b5692ec7fb48f7}{
101 virtual void {\bfseries setSettings} (\hyperlink{classSettings}{Settings} $\ast$)=0}
102 \label{classGUIInterface_a8e1d089eddb19d43e2b5692ec7fb48f7}
103
104 \end{DoxyCompactItemize}
105
106
107 \subsection{Detailed Description}
108 Interface for different GUIs. Default base class for all GUIs is QMainWindow 
109
110 \subsection{Member Function Documentation}
111 \hypertarget{classGUIInterface_a39f9eea230008cb063d5aeac0158e13a}{
112 \index{GUIInterface@{GUIInterface}!addNewDictionary@{addNewDictionary}}
113 \index{addNewDictionary@{addNewDictionary}!GUIInterface@{GUIInterface}}
114 \subsubsection[{addNewDictionary}]{\setlength{\rightskip}{0pt plus 5cm}void GUIInterface::addNewDictionary ({\bf CommonDictInterface} $\ast$ {\em \_\-t1})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
115 \label{classGUIInterface_a39f9eea230008cb063d5aeac0158e13a}
116
117
118 Emited when user wants to add new dictionary. 
119
120
121 \begin{DoxyParams}{Parameters}
122 \item[{\em new}]dictionary returned by specyfic plugin dialog \end{DoxyParams}
123 \hypertarget{classGUIInterface_a4081962fcbd7e8063bb87fcc444b6124}{
124 \index{GUIInterface@{GUIInterface}!addToHistory@{addToHistory}}
125 \index{addToHistory@{addToHistory}!GUIInterface@{GUIInterface}}
126 \subsubsection[{addToHistory}]{\setlength{\rightskip}{0pt plus 5cm}virtual void GUIInterface::addToHistory (QList$<$ {\bf Translation} $\ast$ $>$)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual, slot\mbox{]}}}}
127 \label{classGUIInterface_a4081962fcbd7e8063bb87fcc444b6124}
128
129
130 Adds to history key words from given translations. 
131
132 By default this slot is connected to signal searchTranslations, and passed translation list contains only translation with the same key, so only one word is added to history. 
133 \begin{DoxyParams}{Parameters}
134 \item[{\em list}]of translations with key words \end{DoxyParams}
135 \begin{DoxySeeAlso}{See also}
136 \hyperlink{classGUIInterface_a9855cd24df15d961ec062f0c6b80a263}{searchTranslations()}; 
137 \end{DoxySeeAlso}
138
139
140 Implemented in \hyperlink{classMainWindow_ab88154764298f46e81f942262170f4b9}{MainWindow}.
141
142 \hypertarget{classGUIInterface_a83f7716f43447730aeda078cc202d48b}{
143 \index{GUIInterface@{GUIInterface}!exactSearch@{exactSearch}}
144 \index{exactSearch@{exactSearch}!GUIInterface@{GUIInterface}}
145 \subsubsection[{exactSearch}]{\setlength{\rightskip}{0pt plus 5cm}bool GUIInterface::exactSearch ()}}
146 \label{classGUIInterface_a83f7716f43447730aeda078cc202d48b}
147
148
149 Indicates if GUI is in exact search mode. 
150
151 When GUI is in exact search mode it search for word, and if find exacly matching translation it directly displays it, whithout displaying matching word list. This mode should be used for browsing search history and search words from application arguments. \begin{DoxyReturn}{Returns}
152 flag indicating if GUI is in exact search mode 
153 \end{DoxyReturn}
154
155
156 Reimplemented in \hyperlink{classMainWindow_a88a06565de22a608629bfa4a15ad5839}{MainWindow}.
157
158 \hypertarget{classGUIInterface_a65f5532b1d404c41f22e6408138bd87a}{
159 \index{GUIInterface@{GUIInterface}!getDictionaries@{getDictionaries}}
160 \index{getDictionaries@{getDictionaries}!GUIInterface@{GUIInterface}}
161 \subsubsection[{getDictionaries}]{\setlength{\rightskip}{0pt plus 5cm}virtual QHash$<${\bf CommonDictInterface}$\ast$, bool$>$ GUIInterface::getDictionaries ()\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
162 \label{classGUIInterface_a65f5532b1d404c41f22e6408138bd87a}
163 Returns all loaded dictionaries with infromation about that they are active/inactive
164
165 \begin{DoxyReturn}{Returns}
166 Hash of pointers to dictionary and boolean flag indicating if dictionary is active 
167 \end{DoxyReturn}
168
169
170 Implemented in \hyperlink{classMainWindow_a0fd2d755ce951f3dfb535d555b957de7}{MainWindow}.
171
172 \hypertarget{classGUIInterface_a232872064056fdcfa752b314d9e34bfa}{
173 \index{GUIInterface@{GUIInterface}!getPlugins@{getPlugins}}
174 \index{getPlugins@{getPlugins}!GUIInterface@{GUIInterface}}
175 \subsubsection[{getPlugins}]{\setlength{\rightskip}{0pt plus 5cm}virtual QList$<${\bf CommonDictInterface}$\ast$$>$ GUIInterface::getPlugins ()\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
176 \label{classGUIInterface_a232872064056fdcfa752b314d9e34bfa}
177
178
179 Returns all loaded plugins. 
180
181 \begin{DoxyReturn}{Returns}
182 List of pointers to plugins 
183 \end{DoxyReturn}
184
185
186 Implemented in \hyperlink{classMainWindow_a021ff10f30db21337b54b3dfaae0e9a0}{MainWindow}.
187
188 \hypertarget{classGUIInterface_a9b9d53a56b052cf4c7d5e5bc158b8036}{
189 \index{GUIInterface@{GUIInterface}!historyNext@{historyNext}}
190 \index{historyNext@{historyNext}!GUIInterface@{GUIInterface}}
191 \subsubsection[{historyNext}]{\setlength{\rightskip}{0pt plus 5cm}virtual void GUIInterface::historyNext ()\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual, slot\mbox{]}}}}
192 \label{classGUIInterface_a9b9d53a56b052cf4c7d5e5bc158b8036}
193
194
195 Shows translation of next word in history. 
196
197 It will work only if there is available next word in history. \hyperlink{classTranslation}{Translation} of word is searched with \hyperlink{classGUIInterface_a39d3969fbadaea6da410a93dc3bebdd7}{searchExact()} function \begin{DoxySeeAlso}{See also}
198 \hyperlink{classGUIInterface_a39d3969fbadaea6da410a93dc3bebdd7}{searchExact()} 
199 \end{DoxySeeAlso}
200
201
202 Implemented in \hyperlink{classMainWindow_aaac2ae9385150bf83eb6c1d73e745e3c}{MainWindow}.
203
204 \hypertarget{classGUIInterface_a47243e01c2d2e3887ee3fef656f84475}{
205 \index{GUIInterface@{GUIInterface}!historyPrev@{historyPrev}}
206 \index{historyPrev@{historyPrev}!GUIInterface@{GUIInterface}}
207 \subsubsection[{historyPrev}]{\setlength{\rightskip}{0pt plus 5cm}virtual void GUIInterface::historyPrev ()\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual, slot\mbox{]}}}}
208 \label{classGUIInterface_a47243e01c2d2e3887ee3fef656f84475}
209
210
211 Shows translation of previous word in history. 
212
213 It will work only if there is available previous word in history. \hyperlink{classTranslation}{Translation} of word is searched with \hyperlink{classGUIInterface_a39d3969fbadaea6da410a93dc3bebdd7}{searchExact()} function \begin{DoxySeeAlso}{See also}
214 \hyperlink{classGUIInterface_a39d3969fbadaea6da410a93dc3bebdd7}{searchExact()} 
215 \end{DoxySeeAlso}
216
217
218 Implemented in \hyperlink{classMainWindow_ab3d88584e7391cedb791248dc7b13b78}{MainWindow}.
219
220 \hypertarget{classGUIInterface_a66c9b1a0743e55a456831b91d4674d86}{
221 \index{GUIInterface@{GUIInterface}!quit@{quit}}
222 \index{quit@{quit}!GUIInterface@{GUIInterface}}
223 \subsubsection[{quit}]{\setlength{\rightskip}{0pt plus 5cm}void GUIInterface::quit ()\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
224 \label{classGUIInterface_a66c9b1a0743e55a456831b91d4674d86}
225 Should be emited when user wants to close application to stop all ongoing searches \hypertarget{classGUIInterface_a4bcc5403e1c18a67e5378de713bd6c66}{
226 \index{GUIInterface@{GUIInterface}!removeDictionary@{removeDictionary}}
227 \index{removeDictionary@{removeDictionary}!GUIInterface@{GUIInterface}}
228 \subsubsection[{removeDictionary}]{\setlength{\rightskip}{0pt plus 5cm}void GUIInterface::removeDictionary ({\bf CommonDictInterface} $\ast$ {\em \_\-t1})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
229 \label{classGUIInterface_a4bcc5403e1c18a67e5378de713bd6c66}
230
231
232 Emited when user wants to remove dictionary. 
233
234
235 \begin{DoxyParams}{Parameters}
236 \item[{\em dictionary}]which will be removed \end{DoxyParams}
237 \hypertarget{classGUIInterface_a39d3969fbadaea6da410a93dc3bebdd7}{
238 \index{GUIInterface@{GUIInterface}!searchExact@{searchExact}}
239 \index{searchExact@{searchExact}!GUIInterface@{GUIInterface}}
240 \subsubsection[{searchExact}]{\setlength{\rightskip}{0pt plus 5cm}virtual void GUIInterface::searchExact (QString {\em word})\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual, slot\mbox{]}}}}
241 \label{classGUIInterface_a39d3969fbadaea6da410a93dc3bebdd7}
242
243
244 Search in exact mode for given word. 
245
246 GUI will be automaticaly set into exact search mode, and after search or break will be unset from exact search mode. 
247 \begin{DoxyParams}{Parameters}
248 \item[{\em word}]which will be searched in dictionaries \end{DoxyParams}
249
250
251 Implemented in \hyperlink{classMainWindow_a16d0c7d46fc49bfa1cada597e349549a}{MainWindow}.
252
253 \hypertarget{classGUIInterface_a9855cd24df15d961ec062f0c6b80a263}{
254 \index{GUIInterface@{GUIInterface}!searchTranslations@{searchTranslations}}
255 \index{searchTranslations@{searchTranslations}!GUIInterface@{GUIInterface}}
256 \subsubsection[{searchTranslations}]{\setlength{\rightskip}{0pt plus 5cm}void GUIInterface::searchTranslations (QList$<$ {\bf Translation} $\ast$ $>$ {\em \_\-t1})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
257 \label{classGUIInterface_a9855cd24df15d961ec062f0c6b80a263}
258
259
260 Emited when user wants to see translation of words. 
261
262
263 \begin{DoxyParams}{Parameters}
264 \item[{\em list}]of translations for given word which will be received in \hyperlink{classGUIInterface_a0387f70e18b390cf1e229cbeb27a61c8}{wordListReady()} slot \end{DoxyParams}
265 \begin{DoxySeeAlso}{See also}
266 \hyperlink{classGUIInterface_a0387f70e18b390cf1e229cbeb27a61c8}{wordListReady()} 
267 \end{DoxySeeAlso}
268 \hypertarget{classGUIInterface_af1012152ba1c3683c19bb5de68cc34ec}{
269 \index{GUIInterface@{GUIInterface}!searchWordList@{searchWordList}}
270 \index{searchWordList@{searchWordList}!GUIInterface@{GUIInterface}}
271 \subsubsection[{searchWordList}]{\setlength{\rightskip}{0pt plus 5cm}void GUIInterface::searchWordList (QString {\em word})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
272 \label{classGUIInterface_af1012152ba1c3683c19bb5de68cc34ec}
273
274
275 Emited when user want to search for list of words matching given word. 
276
277
278 \begin{DoxyParams}{Parameters}
279 \item[{\em word}]word which will be matched, it can contains wildcards \end{DoxyParams}
280 \hypertarget{classGUIInterface_a46465786e5e8b629b51b5dd2e5c51181}{
281 \index{GUIInterface@{GUIInterface}!selectedDictionaries@{selectedDictionaries}}
282 \index{selectedDictionaries@{selectedDictionaries}!GUIInterface@{GUIInterface}}
283 \subsubsection[{selectedDictionaries}]{\setlength{\rightskip}{0pt plus 5cm}void GUIInterface::selectedDictionaries (QList$<$ {\bf CommonDictInterface} $\ast$ $>$ {\em \_\-t1})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
284 \label{classGUIInterface_a46465786e5e8b629b51b5dd2e5c51181}
285
286
287 Emited when user changes dictionaries active/inactive states. 
288
289
290 \begin{DoxyParams}{Parameters}
291 \item[{\em list}]of only active dictionaries \end{DoxyParams}
292 \hypertarget{classGUIInterface_a2af4fcfe33ffab1cb2de6972b2eb66b8}{
293 \index{GUIInterface@{GUIInterface}!setBusy@{setBusy}}
294 \index{setBusy@{setBusy}!GUIInterface@{GUIInterface}}
295 \subsubsection[{setBusy}]{\setlength{\rightskip}{0pt plus 5cm}void GUIInterface::setBusy ()\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
296 \label{classGUIInterface_a2af4fcfe33ffab1cb2de6972b2eb66b8}
297 Emited when starting search, will disable GUI components and shows progress bars \hypertarget{classGUIInterface_a4d9a8b5392fdbcec9a0b8663eba3c571}{
298 \index{GUIInterface@{GUIInterface}!setExactSearch@{setExactSearch}}
299 \index{setExactSearch@{setExactSearch}!GUIInterface@{GUIInterface}}
300 \subsubsection[{setExactSearch}]{\setlength{\rightskip}{0pt plus 5cm}void GUIInterface::setExactSearch (bool {\em exactSearch})}}
301 \label{classGUIInterface_a4d9a8b5392fdbcec9a0b8663eba3c571}
302
303
304 Sets GUI exact search mode. 
305
306 \begin{DoxySeeAlso}{See also}
307 \hyperlink{classGUIInterface_a83f7716f43447730aeda078cc202d48b}{exactSearch()} 
308 \end{DoxySeeAlso}
309
310
311 Reimplemented in \hyperlink{classMainWindow_a78e044c5bd7446b0d2105f98573b9489}{MainWindow}.
312
313 \hypertarget{classGUIInterface_a10454da99d774b68a38f1f0c374c4c51}{
314 \index{GUIInterface@{GUIInterface}!showTranslation@{showTranslation}}
315 \index{showTranslation@{showTranslation}!GUIInterface@{GUIInterface}}
316 \subsubsection[{showTranslation}]{\setlength{\rightskip}{0pt plus 5cm}void GUIInterface::showTranslation (QStringList {\em \_\-t1})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
317 \label{classGUIInterface_a10454da99d774b68a38f1f0c374c4c51}
318 Emited after received translation strings in \hyperlink{classGUIInterface_abd81fe53691de8c942be152a099bd21b}{translationsReady()} slot, will display translation of given word
319
320
321 \begin{DoxyParams}{Parameters}
322 \item[{\em list}]of translations from different dictionaries in dictionaries \end{DoxyParams}
323 \hypertarget{classGUIInterface_acaa643ecd68519b1b66f76cb5eaabe4e}{
324 \index{GUIInterface@{GUIInterface}!showWordList@{showWordList}}
325 \index{showWordList@{showWordList}!GUIInterface@{GUIInterface}}
326 \subsubsection[{showWordList}]{\setlength{\rightskip}{0pt plus 5cm}void GUIInterface::showWordList (QHash$<$ QString, QList$<$ {\bf Translation} $\ast$ $>$ $>$ {\em \_\-t1})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
327 \label{classGUIInterface_acaa643ecd68519b1b66f76cb5eaabe4e}
328 Emited after received word list in \hyperlink{classGUIInterface_a0387f70e18b390cf1e229cbeb27a61c8}{wordListReady()} slot, will display list of matched words
329
330
331 \begin{DoxyParams}{Parameters}
332 \item[{\em hash}]of word and list of translation of this word found in dictionaries \end{DoxyParams}
333 \hypertarget{classGUIInterface_a0387f70e18b390cf1e229cbeb27a61c8}{
334 \index{GUIInterface@{GUIInterface}!wordListReady@{wordListReady}}
335 \index{wordListReady@{wordListReady}!GUIInterface@{GUIInterface}}
336 \subsubsection[{wordListReady}]{\setlength{\rightskip}{0pt plus 5cm}virtual void GUIInterface::wordListReady ()\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual, slot\mbox{]}}}}
337 \label{classGUIInterface_a0387f70e18b390cf1e229cbeb27a61c8}
338
339
340 Gets word list from backbone and prepares received list to display. 
341
342 Checks if received list is empty, in that case displays suitable information. If GUI is in exact search mode it will search for exact word in received list, and if word is found it will emit signal to display it's translation. Otherwise it will display list of matching words and show suitable information. \begin{DoxySeeAlso}{See also}
343 \hyperlink{classGUIInterface_a83f7716f43447730aeda078cc202d48b}{exactSearch()} 
344
345 \hyperlink{classGUIInterface_a10454da99d774b68a38f1f0c374c4c51}{showTranslation()} 
346 \end{DoxySeeAlso}
347
348
349 Implemented in \hyperlink{classMainWindow_a9a56d2e699da84f9647984852cb6041b}{MainWindow}.
350
351
352
353 The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
354 \item 
355 \hyperlink{GUIInterface_8h}{GUIInterface.h}\item 
356 moc\_\-GUIInterface.cpp\end{DoxyCompactItemize}