\hypertarget{a09936}{}\section{Logger\+Widget Class Reference}
\label{a09936}\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]{a09936}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09936_af6d7a2cba0c0a3aaf26f164e4a93e9ab}\label{a09936_af6d7a2cba0c0a3aaf26f164e4a93e9ab}} 
{\bfseries Logger\+Widget} (Q\+Widget $\ast$parent=0)
\item 
void \hyperlink{a09936_a5fa84a6114059ad531d232be4765a254}{append} (const Q\+String \&\+\_\+text, \hyperlink{a00035_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 
\mbox{\Hypertarget{a09936_a5c23f6a46b32eea6e22ebbceda6b6a5b}\label{a09936_a5c23f6a46b32eea6e22ebbceda6b6a5b}} 
Q\+Action $\ast$ {\bfseries open\+Mesh\+Filter\+Action\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a09936_ab7629a4dc539aab69b3ab2daf2b24b9f}{key\+Press\+Event} (Q\+Key\+Event $\ast$\+\_\+event)
\begin{DoxyCompactList}\small\item\em Grab key events. \end{DoxyCompactList}\item 
void \hyperlink{a09936_adfe07419fdffea26522591ca9484434a}{context\+Menu\+Event} (Q\+Context\+Menu\+Event $\ast$event)
\begin{DoxyCompactList}\small\item\em Show context menu. \end{DoxyCompactList}\item 
void \hyperlink{a09936_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 
\mbox{\Hypertarget{a09936_a0ea39d03906921d428f69a7c7a93a999}\label{a09936_a0ea39d03906921d428f69a7c7a93a999}} 
void \hyperlink{a09936_a0ea39d03906921d428f69a7c7a93a999}{update\+List} ()
\begin{DoxyCompactList}\small\item\em update the list if a button was pressed \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09936_a6e84d15e9239d049579821c929b90457}\label{a09936_a6e84d15e9239d049579821c929b90457}} 
void \hyperlink{a09936_a6e84d15e9239d049579821c929b90457}{copy\+Selected} ()
\begin{DoxyCompactList}\small\item\em copy Selected rows to clipboard \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09936_a71d94aac71398b98bba8183f3b42ada9}\label{a09936_a71d94aac71398b98bba8183f3b42ada9}} 
void \hyperlink{a09936_a71d94aac71398b98bba8183f3b42ada9}{slot\+Scroll\+Update} ()
\begin{DoxyCompactList}\small\item\em Called when we want to scroll to the bottom. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09936_aa280ea0c6374e150ea9f34455e116527}\label{a09936_aa280ea0c6374e150ea9f34455e116527}} 
void \hyperlink{a09936_aa280ea0c6374e150ea9f34455e116527}{slot\+Filter\+Menu} ()
\begin{DoxyCompactList}\small\item\em Called when filter button is pressed. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09936_a0547914c7c6a5febe86f095e579bef2a}\label{a09936_a0547914c7c6a5febe86f095e579bef2a}} 
Q\+List\+Widget $\ast$ {\bfseries list\+\_\+}
\item 
\mbox{\Hypertarget{a09936_a7aaff543aaff3265288f9224d5b088df}\label{a09936_a7aaff543aaff3265288f9224d5b088df}} 
bool {\bfseries block\+Next\+\_\+}
\item 
\mbox{\Hypertarget{a09936_a0736001240bea81bd64a0939eb650315}\label{a09936_a0736001240bea81bd64a0939eb650315}} 
Q\+Push\+Button $\ast$ {\bfseries all\+Button\+\_\+}
\item 
\mbox{\Hypertarget{a09936_a0d2c11d49a66a5a39586909666a690aa}\label{a09936_a0d2c11d49a66a5a39586909666a690aa}} 
Q\+Push\+Button $\ast$ {\bfseries info\+Button\+\_\+}
\item 
\mbox{\Hypertarget{a09936_ac729bf5856622476ed218cffad23628a}\label{a09936_ac729bf5856622476ed218cffad23628a}} 
Q\+Push\+Button $\ast$ {\bfseries warn\+Button\+\_\+}
\item 
\mbox{\Hypertarget{a09936_a4fbf48a779b2ecd00b3be435a314d36f}\label{a09936_a4fbf48a779b2ecd00b3be435a314d36f}} 
Q\+Push\+Button $\ast$ {\bfseries error\+Button\+\_\+}
\item 
\mbox{\Hypertarget{a09936_a6a03af40bb844c1b1be1c9d7d7be3fb3}\label{a09936_a6a03af40bb844c1b1be1c9d7d7be3fb3}} 
Q\+Push\+Button $\ast$ {\bfseries filter\+Button\+\_\+}
\item 
\mbox{\Hypertarget{a09936_a9f972cd79fb5cd3512de99877bde67c9}\label{a09936_a9f972cd79fb5cd3512de99877bde67c9}} 
Q\+Push\+Button $\ast$ {\bfseries clear\+Button\+\_\+}
\item 
\mbox{\Hypertarget{a09936_a351f6947c7f6baa7b6881796a97af6c4}\label{a09936_a351f6947c7f6baa7b6881796a97af6c4}} 
Q\+Menu $\ast$ {\bfseries context\+\_\+}
\item 
\mbox{\Hypertarget{a09936_a1c02d70d025134c690200536e8e0454e}\label{a09936_a1c02d70d025134c690200536e8e0454e}} 
Q\+Menu $\ast$ {\bfseries filter\+Menu\+\_\+}
\item 
\mbox{\Hypertarget{a09936_a8474936cfbb4eedde942e904350acf5b}\label{a09936_a8474936cfbb4eedde942e904350acf5b}} 
Q\+Timer {\bfseries logger\+Update\+Timer\+\_\+}
\item 
\mbox{\Hypertarget{a09936_ab89cb56c800ccf61bbb95b1d12a3fabc}\label{a09936_ab89cb56c800ccf61bbb95b1d12a3fabc}} 
bool {\bfseries new\+Data\+\_\+}
\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 61 of file logger\+Widget.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a09936_a5fa84a6114059ad531d232be4765a254}\label{a09936_a5fa84a6114059ad531d232be4765a254}} 
\index{Logger\+Widget@{Logger\+Widget}!append@{append}}
\index{append@{append}!Logger\+Widget@{Logger\+Widget}}
\subsubsection{\texorpdfstring{append()}{append()}}
{\footnotesize\ttfamily void Logger\+Widget\+::append (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{\+\_\+text,  }\item[{\hyperlink{a00035_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype}}]{\+\_\+type }\end{DoxyParamCaption})}



Append a new logmessage to log viewer. 

Display log message of given logtype 

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

\mbox{\Hypertarget{a09936_adfe07419fdffea26522591ca9484434a}\label{a09936_adfe07419fdffea26522591ca9484434a}} 
\index{Logger\+Widget@{Logger\+Widget}!context\+Menu\+Event@{context\+Menu\+Event}}
\index{context\+Menu\+Event@{context\+Menu\+Event}!Logger\+Widget@{Logger\+Widget}}
\subsubsection{\texorpdfstring{context\+Menu\+Event()}{contextMenuEvent()}}
{\footnotesize\ttfamily void Logger\+Widget\+::context\+Menu\+Event (\begin{DoxyParamCaption}\item[{Q\+Context\+Menu\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Show context menu. 

show context menu

This function shows the context menu 

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

\mbox{\Hypertarget{a09936_ab7629a4dc539aab69b3ab2daf2b24b9f}\label{a09936_ab7629a4dc539aab69b3ab2daf2b24b9f}} 
\index{Logger\+Widget@{Logger\+Widget}!key\+Press\+Event@{key\+Press\+Event}}
\index{key\+Press\+Event@{key\+Press\+Event}!Logger\+Widget@{Logger\+Widget}}
\subsubsection{\texorpdfstring{key\+Press\+Event()}{keyPressEvent()}}
{\footnotesize\ttfamily void Logger\+Widget\+::key\+Press\+Event (\begin{DoxyParamCaption}\item[{Q\+Key\+Event $\ast$}]{\+\_\+event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



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 308 of file logger\+Widget.\+cc.

\mbox{\Hypertarget{a09936_acc2b14c351e174c18c0fc506859117ea}\label{a09936_acc2b14c351e174c18c0fc506859117ea}} 
\index{Logger\+Widget@{Logger\+Widget}!show\+Event@{show\+Event}}
\index{show\+Event@{show\+Event}!Logger\+Widget@{Logger\+Widget}}
\subsubsection{\texorpdfstring{show\+Event()}{showEvent()}}
{\footnotesize\ttfamily void Logger\+Widget\+::show\+Event (\begin{DoxyParamCaption}\item[{Q\+Show\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Called when the widget is shown. 

Function scrolls to bottom if the object gets visible 

Definition at line 301 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}
