\hypertarget{a00958}{\section{Pick\+Mode Class Reference}
\label{a00958}\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 
\hypertarget{a00958_aa26decc1dae43dd0db0b7fe84c15c6c1}{\hyperlink{a00958_aa26decc1dae43dd0db0b7fe84c15c6c1}{Pick\+Mode} (const std\+::string \&\+\_\+n, const bool \+\_\+t, const bool \+\_\+v, Q\+Cursor \+\_\+c, Q\+Tool\+Bar $\ast$\+\_\+tb=0)}\label{a00958_aa26decc1dae43dd0db0b7fe84c15c6c1}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hypertarget{a00958_a4f346371b0355274d2e3dc0babe73c19}{\hyperlink{a00958_a4f346371b0355274d2e3dc0babe73c19}{$\sim$\+Pick\+Mode} ()}\label{a00958_a4f346371b0355274d2e3dc0babe73c19}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
void \hyperlink{a00958_ad2d292e93f7128fafd1e00d48de236ba}{visible} (const bool \+\_\+visible)
\begin{DoxyCompactList}\small\item\em \hyperlink{a00958}{Pick\+Mode} visible. \end{DoxyCompactList}\item 
bool \hyperlink{a00958_a2f7830e0d5e6e12fff389e20c642f1a6}{visible} () const 
\begin{DoxyCompactList}\small\item\em \hyperlink{a00958}{Pick\+Mode} visible. \end{DoxyCompactList}\item 
std\+::string \hyperlink{a00958_a432ddb2322e74fabd5a3012c1cae459c}{name} () const 
\begin{DoxyCompactList}\small\item\em \hyperlink{a00958}{Pick\+Mode} Name. \end{DoxyCompactList}\item 
void \hyperlink{a00958_aa6edcd2c10118fb89cefc4b618d5f5ae}{tracking} (const bool \+\_\+tracking)
\begin{DoxyCompactList}\small\item\em \hyperlink{a00958}{Pick\+Mode} mouse tracking. \end{DoxyCompactList}\item 
bool \hyperlink{a00958_ab32044243cd60d49999d52de218742ca}{tracking} () const 
\begin{DoxyCompactList}\small\item\em \hyperlink{a00958}{Pick\+Mode} mouse tracking. \end{DoxyCompactList}\item 
Q\+Cursor \hyperlink{a00958_a2dad5142124599b8347fcefce9d5a017}{cursor} () const 
\begin{DoxyCompactList}\small\item\em \hyperlink{a00958}{Pick\+Mode} cursor. \end{DoxyCompactList}\item 
void \hyperlink{a00958_ae0418b2486953081cef87b341559df0d}{cursor} (const Q\+Cursor \+\_\+cursor)
\begin{DoxyCompactList}\small\item\em \hyperlink{a00958}{Pick\+Mode} cursor. \end{DoxyCompactList}\item 
void \hyperlink{a00958_a09c6e42efe94817a29c142b51b84e4aa}{toolbar} (Q\+Tool\+Bar $\ast$\+\_\+toolbar)
\begin{DoxyCompactList}\small\item\em \hyperlink{a00958}{Pick\+Mode} toolbar. \end{DoxyCompactList}\item 
Q\+Tool\+Bar $\ast$ \hyperlink{a00958_ad2dacae2b2986dc97d78dbd831d572d2}{toolbar} () const 
\begin{DoxyCompactList}\small\item\em \hyperlink{a00958}{Pick\+Mode} toolbar. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00958_af290286ae3d2ad32586465cd677f32d1}{std\+::string \hyperlink{a00958_af290286ae3d2ad32586465cd677f32d1}{name\+\_\+}}\label{a00958_af290286ae3d2ad32586465cd677f32d1}

\begin{DoxyCompactList}\small\item\em Name of the pick\+Mode. \end{DoxyCompactList}\item 
bool \hyperlink{a00958_a42f6b1c501707576715ea45a83ad9da4}{tracking\+\_\+}
\item 
bool \hyperlink{a00958_a1f1112aba27460c4a1aa262ca297ed81}{visible\+\_\+}
\item 
Q\+Cursor \hyperlink{a00958_a822eaffe26527ffb6eeab69cbdf15732}{cursor\+\_\+}
\item 
Q\+Tool\+Bar $\ast$ \hyperlink{a00958_a41ab23986d178df039149997d3fb1327}{toolbar\+\_\+}
\end{DoxyCompactItemize}


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

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

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



\subsection{Member Function Documentation}
\hypertarget{a00958_a2dad5142124599b8347fcefce9d5a017}{\index{Pick\+Mode@{Pick\+Mode}!cursor@{cursor}}
\index{cursor@{cursor}!Pick\+Mode@{Pick\+Mode}}
\subsubsection[{cursor}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Cursor Pick\+Mode\+::cursor (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{a00958_a2dad5142124599b8347fcefce9d5a017}


\hyperlink{a00958}{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 115 of file Core\+Widget.\+cc.

\hypertarget{a00958_ae0418b2486953081cef87b341559df0d}{\index{Pick\+Mode@{Pick\+Mode}!cursor@{cursor}}
\index{cursor@{cursor}!Pick\+Mode@{Pick\+Mode}}
\subsubsection[{cursor}]{\setlength{\rightskip}{0pt plus 5cm}void Pick\+Mode\+::cursor (
\begin{DoxyParamCaption}
\item[{const Q\+Cursor}]{\+\_\+cursor}
\end{DoxyParamCaption}
)}}\label{a00958_ae0418b2486953081cef87b341559df0d}


\hyperlink{a00958}{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 111 of file Core\+Widget.\+cc.

\hypertarget{a00958_a432ddb2322e74fabd5a3012c1cae459c}{\index{Pick\+Mode@{Pick\+Mode}!name@{name}}
\index{name@{name}!Pick\+Mode@{Pick\+Mode}}
\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}std\+::string Pick\+Mode\+::name (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
) const}}\label{a00958_a432ddb2322e74fabd5a3012c1cae459c}


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

Name of the pick mode 

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

\hypertarget{a00958_a09c6e42efe94817a29c142b51b84e4aa}{\index{Pick\+Mode@{Pick\+Mode}!toolbar@{toolbar}}
\index{toolbar@{toolbar}!Pick\+Mode@{Pick\+Mode}}
\subsubsection[{toolbar}]{\setlength{\rightskip}{0pt plus 5cm}void Pick\+Mode\+::toolbar (
\begin{DoxyParamCaption}
\item[{Q\+Tool\+Bar $\ast$}]{\+\_\+toolbar}
\end{DoxyParamCaption}
)}}\label{a00958_a09c6e42efe94817a29c142b51b84e4aa}


\hyperlink{a00958}{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 119 of file Core\+Widget.\+cc.

\hypertarget{a00958_ad2dacae2b2986dc97d78dbd831d572d2}{\index{Pick\+Mode@{Pick\+Mode}!toolbar@{toolbar}}
\index{toolbar@{toolbar}!Pick\+Mode@{Pick\+Mode}}
\subsubsection[{toolbar}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Tool\+Bar $\ast$ Pick\+Mode\+::toolbar (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{a00958_ad2dacae2b2986dc97d78dbd831d572d2}


\hyperlink{a00958}{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 123 of file Core\+Widget.\+cc.

\hypertarget{a00958_aa6edcd2c10118fb89cefc4b618d5f5ae}{\index{Pick\+Mode@{Pick\+Mode}!tracking@{tracking}}
\index{tracking@{tracking}!Pick\+Mode@{Pick\+Mode}}
\subsubsection[{tracking}]{\setlength{\rightskip}{0pt plus 5cm}void Pick\+Mode\+::tracking (
\begin{DoxyParamCaption}
\item[{const bool}]{\+\_\+tracking}
\end{DoxyParamCaption}
)}}\label{a00958_aa6edcd2c10118fb89cefc4b618d5f5ae}


\hyperlink{a00958}{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 103 of file Core\+Widget.\+cc.

\hypertarget{a00958_ab32044243cd60d49999d52de218742ca}{\index{Pick\+Mode@{Pick\+Mode}!tracking@{tracking}}
\index{tracking@{tracking}!Pick\+Mode@{Pick\+Mode}}
\subsubsection[{tracking}]{\setlength{\rightskip}{0pt plus 5cm}bool Pick\+Mode\+::tracking (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{a00958_ab32044243cd60d49999d52de218742ca}


\hyperlink{a00958}{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 107 of file Core\+Widget.\+cc.

\hypertarget{a00958_ad2d292e93f7128fafd1e00d48de236ba}{\index{Pick\+Mode@{Pick\+Mode}!visible@{visible}}
\index{visible@{visible}!Pick\+Mode@{Pick\+Mode}}
\subsubsection[{visible}]{\setlength{\rightskip}{0pt plus 5cm}void Pick\+Mode\+::visible (
\begin{DoxyParamCaption}
\item[{const bool}]{\+\_\+visible}
\end{DoxyParamCaption}
)}}\label{a00958_ad2d292e93f7128fafd1e00d48de236ba}


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


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


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

\hypertarget{a00958_a2f7830e0d5e6e12fff389e20c642f1a6}{\index{Pick\+Mode@{Pick\+Mode}!visible@{visible}}
\index{visible@{visible}!Pick\+Mode@{Pick\+Mode}}
\subsubsection[{visible}]{\setlength{\rightskip}{0pt plus 5cm}bool Pick\+Mode\+::visible (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{a00958_a2f7830e0d5e6e12fff389e20c642f1a6}


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

Visible or hidden pick mode 

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



\subsection{Member Data Documentation}
\hypertarget{a00958_a822eaffe26527ffb6eeab69cbdf15732}{\index{Pick\+Mode@{Pick\+Mode}!cursor\+\_\+@{cursor\+\_\+}}
\index{cursor\+\_\+@{cursor\+\_\+}!Pick\+Mode@{Pick\+Mode}}
\subsubsection[{cursor\+\_\+}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Cursor Pick\+Mode\+::cursor\+\_\+\hspace{0.3cm}{\ttfamily [private]}}}\label{a00958_a822eaffe26527ffb6eeab69cbdf15732}
Cursor used in this pick\+Mode 

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

\hypertarget{a00958_a41ab23986d178df039149997d3fb1327}{\index{Pick\+Mode@{Pick\+Mode}!toolbar\+\_\+@{toolbar\+\_\+}}
\index{toolbar\+\_\+@{toolbar\+\_\+}!Pick\+Mode@{Pick\+Mode}}
\subsubsection[{toolbar\+\_\+}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Tool\+Bar$\ast$ Pick\+Mode\+::toolbar\+\_\+\hspace{0.3cm}{\ttfamily [private]}}}\label{a00958_a41ab23986d178df039149997d3fb1327}
Additional toolbar showed in this pick\+Mode 

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

\hypertarget{a00958_a42f6b1c501707576715ea45a83ad9da4}{\index{Pick\+Mode@{Pick\+Mode}!tracking\+\_\+@{tracking\+\_\+}}
\index{tracking\+\_\+@{tracking\+\_\+}!Pick\+Mode@{Pick\+Mode}}
\subsubsection[{tracking\+\_\+}]{\setlength{\rightskip}{0pt plus 5cm}bool Pick\+Mode\+::tracking\+\_\+\hspace{0.3cm}{\ttfamily [private]}}}\label{a00958_a42f6b1c501707576715ea45a83ad9da4}
Mouse\+Tracking enabled for this mode? 

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

\hypertarget{a00958_a1f1112aba27460c4a1aa262ca297ed81}{\index{Pick\+Mode@{Pick\+Mode}!visible\+\_\+@{visible\+\_\+}}
\index{visible\+\_\+@{visible\+\_\+}!Pick\+Mode@{Pick\+Mode}}
\subsubsection[{visible\+\_\+}]{\setlength{\rightskip}{0pt plus 5cm}bool Pick\+Mode\+::visible\+\_\+\hspace{0.3cm}{\ttfamily [private]}}}\label{a00958_a1f1112aba27460c4a1aa262ca297ed81}
Defines if the Mode will be visible in the popup \hyperlink{a00802}{Menu} 

Definition at line 271 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{a02640}{Core\+Widget.\+hh}\item 
Open\+Flipper/widgets/core\+Widget/Core\+Widget.\+cc\end{DoxyCompactItemize}
