\hypertarget{a00783}{\section{Logger\+Widget Class Reference}
\label{a00783}\index{Logger\+Widget@{Logger\+Widget}}
}


Implementation of the logger Widget.  




{\ttfamily \#include $<$Open\+Flipper/widgets/logger\+Widget/logger\+Widget.\+hh$>$}

Inheritance diagram for Logger\+Widget\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00783}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00783_af6d7a2cba0c0a3aaf26f164e4a93e9ab}{{\bfseries Logger\+Widget} (Q\+Widget $\ast$parent=0)}\label{a00783_af6d7a2cba0c0a3aaf26f164e4a93e9ab}

\item 
void \hyperlink{a00783_a5fa84a6114059ad531d232be4765a254}{append} (const Q\+String \&\+\_\+text, \hyperlink{a02444_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type)
\begin{DoxyCompactList}\small\item\em Append a new logmessage to log viewer. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00783_a5c23f6a46b32eea6e22ebbceda6b6a5b}{Q\+Action $\ast$ {\bfseries open\+Mesh\+Filter\+Action\+\_\+}}\label{a00783_a5c23f6a46b32eea6e22ebbceda6b6a5b}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00783_ab7629a4dc539aab69b3ab2daf2b24b9f}{key\+Press\+Event} (Q\+Key\+Event $\ast$\+\_\+event)
\begin{DoxyCompactList}\small\item\em Grab key events. \end{DoxyCompactList}\item 
void \hyperlink{a00783_adfe07419fdffea26522591ca9484434a}{context\+Menu\+Event} (Q\+Context\+Menu\+Event $\ast$event)
\begin{DoxyCompactList}\small\item\em Show context menu. \end{DoxyCompactList}\item 
void \hyperlink{a00783_acc2b14c351e174c18c0fc506859117ea}{show\+Event} (Q\+Show\+Event $\ast$event)
\begin{DoxyCompactList}\small\item\em Called when the widget is shown. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00783_a0ea39d03906921d428f69a7c7a93a999}{void \hyperlink{a00783_a0ea39d03906921d428f69a7c7a93a999}{update\+List} ()}\label{a00783_a0ea39d03906921d428f69a7c7a93a999}

\begin{DoxyCompactList}\small\item\em update the list if a button was pressed \end{DoxyCompactList}\item 
\hypertarget{a00783_a6e84d15e9239d049579821c929b90457}{void \hyperlink{a00783_a6e84d15e9239d049579821c929b90457}{copy\+Selected} ()}\label{a00783_a6e84d15e9239d049579821c929b90457}

\begin{DoxyCompactList}\small\item\em copy Selected rows to clipboard \end{DoxyCompactList}\item 
\hypertarget{a00783_a71d94aac71398b98bba8183f3b42ada9}{void \hyperlink{a00783_a71d94aac71398b98bba8183f3b42ada9}{slot\+Scroll\+Update} ()}\label{a00783_a71d94aac71398b98bba8183f3b42ada9}

\begin{DoxyCompactList}\small\item\em Called when we want to scroll to the bottom. \end{DoxyCompactList}\item 
\hypertarget{a00783_aa280ea0c6374e150ea9f34455e116527}{void \hyperlink{a00783_aa280ea0c6374e150ea9f34455e116527}{slot\+Filter\+Menu} ()}\label{a00783_aa280ea0c6374e150ea9f34455e116527}

\begin{DoxyCompactList}\small\item\em Called when filter button is pressed. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00783_a0547914c7c6a5febe86f095e579bef2a}{Q\+List\+Widget $\ast$ {\bfseries list\+\_\+}}\label{a00783_a0547914c7c6a5febe86f095e579bef2a}

\item 
\hypertarget{a00783_a7aaff543aaff3265288f9224d5b088df}{bool {\bfseries block\+Next\+\_\+}}\label{a00783_a7aaff543aaff3265288f9224d5b088df}

\item 
\hypertarget{a00783_a0736001240bea81bd64a0939eb650315}{Q\+Push\+Button $\ast$ {\bfseries all\+Button\+\_\+}}\label{a00783_a0736001240bea81bd64a0939eb650315}

\item 
\hypertarget{a00783_a0d2c11d49a66a5a39586909666a690aa}{Q\+Push\+Button $\ast$ {\bfseries info\+Button\+\_\+}}\label{a00783_a0d2c11d49a66a5a39586909666a690aa}

\item 
\hypertarget{a00783_ac729bf5856622476ed218cffad23628a}{Q\+Push\+Button $\ast$ {\bfseries warn\+Button\+\_\+}}\label{a00783_ac729bf5856622476ed218cffad23628a}

\item 
\hypertarget{a00783_a4fbf48a779b2ecd00b3be435a314d36f}{Q\+Push\+Button $\ast$ {\bfseries error\+Button\+\_\+}}\label{a00783_a4fbf48a779b2ecd00b3be435a314d36f}

\item 
\hypertarget{a00783_a6a03af40bb844c1b1be1c9d7d7be3fb3}{Q\+Push\+Button $\ast$ {\bfseries filter\+Button\+\_\+}}\label{a00783_a6a03af40bb844c1b1be1c9d7d7be3fb3}

\item 
\hypertarget{a00783_a9f972cd79fb5cd3512de99877bde67c9}{Q\+Push\+Button $\ast$ {\bfseries clear\+Button\+\_\+}}\label{a00783_a9f972cd79fb5cd3512de99877bde67c9}

\item 
\hypertarget{a00783_a351f6947c7f6baa7b6881796a97af6c4}{Q\+Menu $\ast$ {\bfseries context\+\_\+}}\label{a00783_a351f6947c7f6baa7b6881796a97af6c4}

\item 
\hypertarget{a00783_a1c02d70d025134c690200536e8e0454e}{Q\+Menu $\ast$ {\bfseries filter\+Menu\+\_\+}}\label{a00783_a1c02d70d025134c690200536e8e0454e}

\item 
\hypertarget{a00783_a8474936cfbb4eedde942e904350acf5b}{Q\+Timer {\bfseries logger\+Update\+Timer\+\_\+}}\label{a00783_a8474936cfbb4eedde942e904350acf5b}

\item 
\hypertarget{a00783_ab89cb56c800ccf61bbb95b1d12a3fabc}{bool {\bfseries new\+Data\+\_\+}}\label{a00783_ab89cb56c800ccf61bbb95b1d12a3fabc}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Implementation of the logger Widget. 

This class adds some special features to the textedit for the log window 

Definition at line 70 of file logger\+Widget.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00783_a5fa84a6114059ad531d232be4765a254}{\index{Logger\+Widget@{Logger\+Widget}!append@{append}}
\index{append@{append}!Logger\+Widget@{Logger\+Widget}}
\subsubsection[{append}]{\setlength{\rightskip}{0pt plus 5cm}void Logger\+Widget\+::append (
\begin{DoxyParamCaption}
\item[{const Q\+String \&}]{\+\_\+text, }
\item[{{\bf Logtype}}]{\+\_\+type}
\end{DoxyParamCaption}
)}}\label{a00783_a5fa84a6114059ad531d232be4765a254}


Append a new logmessage to log viewer. 

Display log message of given logtype 

Definition at line 191 of file logger\+Widget.\+cc.

\hypertarget{a00783_adfe07419fdffea26522591ca9484434a}{\index{Logger\+Widget@{Logger\+Widget}!context\+Menu\+Event@{context\+Menu\+Event}}
\index{context\+Menu\+Event@{context\+Menu\+Event}!Logger\+Widget@{Logger\+Widget}}
\subsubsection[{context\+Menu\+Event}]{\setlength{\rightskip}{0pt plus 5cm}void Logger\+Widget\+::context\+Menu\+Event (
\begin{DoxyParamCaption}
\item[{Q\+Context\+Menu\+Event $\ast$}]{event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}}\label{a00783_adfe07419fdffea26522591ca9484434a}


Show context menu. 

show context menu

This function shows the context menu 

Definition at line 329 of file logger\+Widget.\+cc.

\hypertarget{a00783_ab7629a4dc539aab69b3ab2daf2b24b9f}{\index{Logger\+Widget@{Logger\+Widget}!key\+Press\+Event@{key\+Press\+Event}}
\index{key\+Press\+Event@{key\+Press\+Event}!Logger\+Widget@{Logger\+Widget}}
\subsubsection[{key\+Press\+Event}]{\setlength{\rightskip}{0pt plus 5cm}void Logger\+Widget\+::key\+Press\+Event (
\begin{DoxyParamCaption}
\item[{Q\+Key\+Event $\ast$}]{\+\_\+event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}}\label{a00783_ab7629a4dc539aab69b3ab2daf2b24b9f}


Grab key events. 

handle key\+Press\+Events

This function grabs all key events and passes them back to the core to handle them correctly 

Definition at line 314 of file logger\+Widget.\+cc.

\hypertarget{a00783_acc2b14c351e174c18c0fc506859117ea}{\index{Logger\+Widget@{Logger\+Widget}!show\+Event@{show\+Event}}
\index{show\+Event@{show\+Event}!Logger\+Widget@{Logger\+Widget}}
\subsubsection[{show\+Event}]{\setlength{\rightskip}{0pt plus 5cm}void Logger\+Widget\+::show\+Event (
\begin{DoxyParamCaption}
\item[{Q\+Show\+Event $\ast$}]{event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}}\label{a00783_acc2b14c351e174c18c0fc506859117ea}


Called when the widget is shown. 

Function scrolls to bottom if the object gets visible 

Definition at line 307 of file logger\+Widget.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/widgets/logger\+Widget/logger\+Widget.\+hh\item 
Open\+Flipper/widgets/logger\+Widget/logger\+Widget.\+cc\end{DoxyCompactItemize}
