\hypertarget{classSearchBarWidget}{
\section{SearchBarWidget Class Reference}
\label{classSearchBarWidget}\index{SearchBarWidget@{SearchBarWidget}}
}


Displays search bar.  




{\ttfamily \#include $<$SearchBarWidget.h$>$}

\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classSearchBarWidget_a2513fe29e47f6f22f79e54cfa7338beb}{setEnabled} (bool enabled=true)
\begin{DoxyCompactList}\small\item\em Enable or disable search word line edit and history buttons. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classSearchBarWidget_a72e7ffc17c918cc8839f892d0161521b}{
void \hyperlink{classSearchBarWidget_a72e7ffc17c918cc8839f892d0161521b}{searchForTranslations} (QString)}
\label{classSearchBarWidget_a72e7ffc17c918cc8839f892d0161521b}

\begin{DoxyCompactList}\small\item\em Requests to search for translation of word passed as parameter. \item\end{DoxyCompactList}\item 
\hypertarget{classSearchBarWidget_a126dc7f997386fce833d879f643a077b}{
void \hyperlink{classSearchBarWidget_a126dc7f997386fce833d879f643a077b}{stopSearching} ()}
\label{classSearchBarWidget_a126dc7f997386fce833d879f643a077b}

\begin{DoxyCompactList}\small\item\em Request to stop all active searchings. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classSearchBarWidget_a8bb7132063a5fca3cc81673b48189f2f}{
{\bfseries SearchBarWidget} (\hyperlink{classBackbone}{Backbone} $\ast$backbone, QWidget $\ast$parent=0)}
\label{classSearchBarWidget_a8bb7132063a5fca3cc81673b48189f2f}

\item 
bool \hyperlink{classSearchBarWidget_af586eb0e30d27df6dd91e565199e57d2}{isSearching} () const 
\begin{DoxyCompactList}\small\item\em Returns searching status. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Displays search bar. Contains line edit field to input word which user would like to find and buttons to browse search history. 

\subsection{Member Function Documentation}
\hypertarget{classSearchBarWidget_af586eb0e30d27df6dd91e565199e57d2}{
\index{SearchBarWidget@{SearchBarWidget}!isSearching@{isSearching}}
\index{isSearching@{isSearching}!SearchBarWidget@{SearchBarWidget}}
\subsubsection[{isSearching}]{\setlength{\rightskip}{0pt plus 5cm}bool SearchBarWidget::isSearching () const}}
\label{classSearchBarWidget_af586eb0e30d27df6dd91e565199e57d2}


Returns searching status. 

If backbone is still searching returns true \hypertarget{classSearchBarWidget_a2513fe29e47f6f22f79e54cfa7338beb}{
\index{SearchBarWidget@{SearchBarWidget}!setEnabled@{setEnabled}}
\index{setEnabled@{setEnabled}!SearchBarWidget@{SearchBarWidget}}
\subsubsection[{setEnabled}]{\setlength{\rightskip}{0pt plus 5cm}void SearchBarWidget::setEnabled (bool {\em enabled} = {\ttfamily true})\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classSearchBarWidget_a2513fe29e47f6f22f79e54cfa7338beb}


Enable or disable search word line edit and history buttons. 

While searching it disables only history button and line edit. Search/Stop button is always enabled 

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
SearchBarWidget.h\item 
SearchBarWidget.cpp\item 
moc\_\-SearchBarWidget.cpp\end{DoxyCompactItemize}
