\hypertarget{a09852}{}\section{Pick\+Mode Class Reference}
\label{a09852}\index{Pick\+Mode@{Pick\+Mode}}


Struct containing information about pick\+Modes.  




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

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09852_aa26decc1dae43dd0db0b7fe84c15c6c1}\label{a09852_aa26decc1dae43dd0db0b7fe84c15c6c1}} 
\hyperlink{a09852_aa26decc1dae43dd0db0b7fe84c15c6c1}{Pick\+Mode} (const std\+::string \&\+\_\+n, const bool \+\_\+t, const bool \+\_\+v, Q\+Cursor \+\_\+c, Q\+Tool\+Bar $\ast$\+\_\+tb=0)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09852_a4f346371b0355274d2e3dc0babe73c19}\label{a09852_a4f346371b0355274d2e3dc0babe73c19}} 
\hyperlink{a09852_a4f346371b0355274d2e3dc0babe73c19}{$\sim$\+Pick\+Mode} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
void \hyperlink{a09852_ad2d292e93f7128fafd1e00d48de236ba}{visible} (const bool \+\_\+visible)
\begin{DoxyCompactList}\small\item\em \hyperlink{a09852}{Pick\+Mode} visible. \end{DoxyCompactList}\item 
bool \hyperlink{a09852_ae9418bf480b85ee3a6537f379b3bbe8c}{visible} () const
\begin{DoxyCompactList}\small\item\em \hyperlink{a09852}{Pick\+Mode} visible. \end{DoxyCompactList}\item 
std\+::string \hyperlink{a09852_abc1542a5ba064a0a0ad07a7dd29b97ed}{name} () const
\begin{DoxyCompactList}\small\item\em \hyperlink{a09852}{Pick\+Mode} Name. \end{DoxyCompactList}\item 
void \hyperlink{a09852_aa6edcd2c10118fb89cefc4b618d5f5ae}{tracking} (const bool \+\_\+tracking)
\begin{DoxyCompactList}\small\item\em \hyperlink{a09852}{Pick\+Mode} mouse tracking. \end{DoxyCompactList}\item 
bool \hyperlink{a09852_ad520d0ea60f2f0f0af8d483db83f03f1}{tracking} () const
\begin{DoxyCompactList}\small\item\em \hyperlink{a09852}{Pick\+Mode} mouse tracking. \end{DoxyCompactList}\item 
Q\+Cursor \hyperlink{a09852_ac53abbf770f445ac06ee9e8a4e79c69e}{cursor} () const
\begin{DoxyCompactList}\small\item\em \hyperlink{a09852}{Pick\+Mode} cursor. \end{DoxyCompactList}\item 
void \hyperlink{a09852_ae0418b2486953081cef87b341559df0d}{cursor} (const Q\+Cursor \+\_\+cursor)
\begin{DoxyCompactList}\small\item\em \hyperlink{a09852}{Pick\+Mode} cursor. \end{DoxyCompactList}\item 
void \hyperlink{a09852_a09c6e42efe94817a29c142b51b84e4aa}{toolbar} (Q\+Tool\+Bar $\ast$\+\_\+toolbar)
\begin{DoxyCompactList}\small\item\em \hyperlink{a09852}{Pick\+Mode} toolbar. \end{DoxyCompactList}\item 
Q\+Tool\+Bar $\ast$ \hyperlink{a09852_a772ff1522984077309a83d2741c2f2d3}{toolbar} () const
\begin{DoxyCompactList}\small\item\em \hyperlink{a09852}{Pick\+Mode} toolbar. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09852_af290286ae3d2ad32586465cd677f32d1}\label{a09852_af290286ae3d2ad32586465cd677f32d1}} 
std\+::string \hyperlink{a09852_af290286ae3d2ad32586465cd677f32d1}{name\+\_\+}
\begin{DoxyCompactList}\small\item\em Name of the pick\+Mode. \end{DoxyCompactList}\item 
bool \hyperlink{a09852_a42f6b1c501707576715ea45a83ad9da4}{tracking\+\_\+}
\item 
bool \hyperlink{a09852_a1f1112aba27460c4a1aa262ca297ed81}{visible\+\_\+}
\item 
Q\+Cursor \hyperlink{a09852_a822eaffe26527ffb6eeab69cbdf15732}{cursor\+\_\+}
\item 
Q\+Tool\+Bar $\ast$ \hyperlink{a09852_a41ab23986d178df039149997d3fb1327}{toolbar\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Struct containing information about pick\+Modes. 

This is an internal Data\+Structure! Don\textquotesingle{}t use it. It\textquotesingle{}s used to manage the pickmode information internally. 

Definition at line 179 of file Core\+Widget.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a09852_ac53abbf770f445ac06ee9e8a4e79c69e}\label{a09852_ac53abbf770f445ac06ee9e8a4e79c69e}} 
\index{Pick\+Mode@{Pick\+Mode}!cursor@{cursor}}
\index{cursor@{cursor}!Pick\+Mode@{Pick\+Mode}}
\subsubsection{\texorpdfstring{cursor()}{cursor()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Q\+Cursor Pick\+Mode\+::cursor (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



\hyperlink{a09852}{Pick\+Mode} cursor. 

The cursor associated with this pick mode. You can define a non standard cursor that is visible, if this pick mode is active. 

Definition at line 111 of file Core\+Widget.\+cc.

\mbox{\Hypertarget{a09852_ae0418b2486953081cef87b341559df0d}\label{a09852_ae0418b2486953081cef87b341559df0d}} 
\index{Pick\+Mode@{Pick\+Mode}!cursor@{cursor}}
\index{cursor@{cursor}!Pick\+Mode@{Pick\+Mode}}
\subsubsection{\texorpdfstring{cursor()}{cursor()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Pick\+Mode\+::cursor (\begin{DoxyParamCaption}\item[{const Q\+Cursor}]{\+\_\+cursor }\end{DoxyParamCaption})}



\hyperlink{a09852}{Pick\+Mode} cursor. 

The cursor associated with this pick mode. You can define a non standard cursor that is visible, if this pick mode is active.


\begin{DoxyParams}{Parameters}
{\em \+\_\+cursor} & The cursor to be used in this pickmode \\
\hline
\end{DoxyParams}


Definition at line 107 of file Core\+Widget.\+cc.

\mbox{\Hypertarget{a09852_abc1542a5ba064a0a0ad07a7dd29b97ed}\label{a09852_abc1542a5ba064a0a0ad07a7dd29b97ed}} 
\index{Pick\+Mode@{Pick\+Mode}!name@{name}}
\index{name@{name}!Pick\+Mode@{Pick\+Mode}}
\subsubsection{\texorpdfstring{name()}{name()}}
{\footnotesize\ttfamily std\+::string Pick\+Mode\+::name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



\hyperlink{a09852}{Pick\+Mode} Name. 

Name of the pick mode 

Definition at line 95 of file Core\+Widget.\+cc.

\mbox{\Hypertarget{a09852_a09c6e42efe94817a29c142b51b84e4aa}\label{a09852_a09c6e42efe94817a29c142b51b84e4aa}} 
\index{Pick\+Mode@{Pick\+Mode}!toolbar@{toolbar}}
\index{toolbar@{toolbar}!Pick\+Mode@{Pick\+Mode}}
\subsubsection{\texorpdfstring{toolbar()}{toolbar()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Pick\+Mode\+::toolbar (\begin{DoxyParamCaption}\item[{Q\+Tool\+Bar $\ast$}]{\+\_\+toolbar }\end{DoxyParamCaption})}



\hyperlink{a09852}{Pick\+Mode} toolbar. 

Each pickmode can have a toolbar that will be visible at the top of the screen. This toolbar is stored here.


\begin{DoxyParams}{Parameters}
{\em \+\_\+toolbar} & The used toolbar \\
\hline
\end{DoxyParams}


Definition at line 115 of file Core\+Widget.\+cc.

\mbox{\Hypertarget{a09852_a772ff1522984077309a83d2741c2f2d3}\label{a09852_a772ff1522984077309a83d2741c2f2d3}} 
\index{Pick\+Mode@{Pick\+Mode}!toolbar@{toolbar}}
\index{toolbar@{toolbar}!Pick\+Mode@{Pick\+Mode}}
\subsubsection{\texorpdfstring{toolbar()}{toolbar()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Q\+Tool\+Bar $\ast$ Pick\+Mode\+::toolbar (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



\hyperlink{a09852}{Pick\+Mode} toolbar. 

Each pickmode can have a toolbar that will be visible at the top of the screen. This toolbar is stored here. 

Definition at line 119 of file Core\+Widget.\+cc.

\mbox{\Hypertarget{a09852_aa6edcd2c10118fb89cefc4b618d5f5ae}\label{a09852_aa6edcd2c10118fb89cefc4b618d5f5ae}} 
\index{Pick\+Mode@{Pick\+Mode}!tracking@{tracking}}
\index{tracking@{tracking}!Pick\+Mode@{Pick\+Mode}}
\subsubsection{\texorpdfstring{tracking()}{tracking()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Pick\+Mode\+::tracking (\begin{DoxyParamCaption}\item[{const bool}]{\+\_\+tracking }\end{DoxyParamCaption})}



\hyperlink{a09852}{Pick\+Mode} mouse tracking. 

If the pick mode has mouse tracking enabled, it will emit mouse events with every movement and not only on button events.


\begin{DoxyParams}{Parameters}
{\em \+\_\+tracking} & mouse tracking enabled or not \\
\hline
\end{DoxyParams}


Definition at line 99 of file Core\+Widget.\+cc.

\mbox{\Hypertarget{a09852_ad520d0ea60f2f0f0af8d483db83f03f1}\label{a09852_ad520d0ea60f2f0f0af8d483db83f03f1}} 
\index{Pick\+Mode@{Pick\+Mode}!tracking@{tracking}}
\index{tracking@{tracking}!Pick\+Mode@{Pick\+Mode}}
\subsubsection{\texorpdfstring{tracking()}{tracking()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool Pick\+Mode\+::tracking (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



\hyperlink{a09852}{Pick\+Mode} mouse tracking. 

If the pick mode has mouse tracking enabled, it will emit mouse events with every movement and not only on button events. 

Definition at line 103 of file Core\+Widget.\+cc.

\mbox{\Hypertarget{a09852_ad2d292e93f7128fafd1e00d48de236ba}\label{a09852_ad2d292e93f7128fafd1e00d48de236ba}} 
\index{Pick\+Mode@{Pick\+Mode}!visible@{visible}}
\index{visible@{visible}!Pick\+Mode@{Pick\+Mode}}
\subsubsection{\texorpdfstring{visible()}{visible()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Pick\+Mode\+::visible (\begin{DoxyParamCaption}\item[{const bool}]{\+\_\+visible }\end{DoxyParamCaption})}



\hyperlink{a09852}{Pick\+Mode} visible. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+visible} & Should this be a visible or a hidden pick mode? \\
\hline
\end{DoxyParams}


Definition at line 87 of file Core\+Widget.\+cc.

\mbox{\Hypertarget{a09852_ae9418bf480b85ee3a6537f379b3bbe8c}\label{a09852_ae9418bf480b85ee3a6537f379b3bbe8c}} 
\index{Pick\+Mode@{Pick\+Mode}!visible@{visible}}
\index{visible@{visible}!Pick\+Mode@{Pick\+Mode}}
\subsubsection{\texorpdfstring{visible()}{visible()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool Pick\+Mode\+::visible (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



\hyperlink{a09852}{Pick\+Mode} visible. 

Visible or hidden pick mode 

Definition at line 91 of file Core\+Widget.\+cc.



\subsection{Member Data Documentation}
\mbox{\Hypertarget{a09852_a822eaffe26527ffb6eeab69cbdf15732}\label{a09852_a822eaffe26527ffb6eeab69cbdf15732}} 
\index{Pick\+Mode@{Pick\+Mode}!cursor\+\_\+@{cursor\+\_\+}}
\index{cursor\+\_\+@{cursor\+\_\+}!Pick\+Mode@{Pick\+Mode}}
\subsubsection{\texorpdfstring{cursor\+\_\+}{cursor\_}}
{\footnotesize\ttfamily Q\+Cursor Pick\+Mode\+::cursor\+\_\+\hspace{0.3cm}{\ttfamily [private]}}

Cursor used in this pick\+Mode 

Definition at line 270 of file Core\+Widget.\+hh.

\mbox{\Hypertarget{a09852_a41ab23986d178df039149997d3fb1327}\label{a09852_a41ab23986d178df039149997d3fb1327}} 
\index{Pick\+Mode@{Pick\+Mode}!toolbar\+\_\+@{toolbar\+\_\+}}
\index{toolbar\+\_\+@{toolbar\+\_\+}!Pick\+Mode@{Pick\+Mode}}
\subsubsection{\texorpdfstring{toolbar\+\_\+}{toolbar\_}}
{\footnotesize\ttfamily Q\+Tool\+Bar$\ast$ Pick\+Mode\+::toolbar\+\_\+\hspace{0.3cm}{\ttfamily [private]}}

Additional toolbar showed in this pick\+Mode 

Definition at line 274 of file Core\+Widget.\+hh.

\mbox{\Hypertarget{a09852_a42f6b1c501707576715ea45a83ad9da4}\label{a09852_a42f6b1c501707576715ea45a83ad9da4}} 
\index{Pick\+Mode@{Pick\+Mode}!tracking\+\_\+@{tracking\+\_\+}}
\index{tracking\+\_\+@{tracking\+\_\+}!Pick\+Mode@{Pick\+Mode}}
\subsubsection{\texorpdfstring{tracking\+\_\+}{tracking\_}}
{\footnotesize\ttfamily bool Pick\+Mode\+::tracking\+\_\+\hspace{0.3cm}{\ttfamily [private]}}

Mouse\+Tracking enabled for this mode? 

Definition at line 262 of file Core\+Widget.\+hh.

\mbox{\Hypertarget{a09852_a1f1112aba27460c4a1aa262ca297ed81}\label{a09852_a1f1112aba27460c4a1aa262ca297ed81}} 
\index{Pick\+Mode@{Pick\+Mode}!visible\+\_\+@{visible\+\_\+}}
\index{visible\+\_\+@{visible\+\_\+}!Pick\+Mode@{Pick\+Mode}}
\subsubsection{\texorpdfstring{visible\+\_\+}{visible\_}}
{\footnotesize\ttfamily bool Pick\+Mode\+::visible\+\_\+\hspace{0.3cm}{\ttfamily [private]}}

Defines if the Mode will be visible in the popup \hyperlink{a10084}{Menu} 

Definition at line 266 of file Core\+Widget.\+hh.



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