\hypertarget{a07020}{}\section{View\+Mode\+Interface Class Reference}
\label{a07020}\index{View\+Mode\+Interface@{View\+Mode\+Interface}}


Interface class for adding view modes to the ui.  




{\ttfamily \#include $<$Open\+Flipper/\+Base\+Plugin/\+View\+Mode\+Interface.\+hh$>$}

Inheritance diagram for View\+Mode\+Interface\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a07020}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{a07020_a5a89cc13257d4ba5d95b18c4a424a79e}{define\+View\+Mode\+Toolboxes} (Q\+String \+\_\+mode, Q\+String\+List \+\_\+used\+Widgets)
\begin{DoxyCompactList}\small\item\em Defines a \hyperlink{a09840}{View\+Mode} for the Toolboxes. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07020_aaf82ed857c3d1bd332a9d93da2465a9d}\label{a07020_aaf82ed857c3d1bd332a9d93da2465a9d}} 
virtual \hyperlink{a07020_aaf82ed857c3d1bd332a9d93da2465a9d}{$\sim$\+View\+Mode\+Interface} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual void \hyperlink{a07020_a9215d604bcb5eec19db02ca7893a8ab2}{define\+View\+Mode\+Toolbars} (Q\+String \+\_\+mode, Q\+String\+List \+\_\+used\+Toolbars)
\begin{DoxyCompactList}\small\item\em Defines a \hyperlink{a09840}{View\+Mode} for the Toolbars. \end{DoxyCompactList}\item 
virtual void \hyperlink{a07020_ab6e3601b72fd4f5f4c771794c5c84979}{define\+View\+Mode\+Context\+Menus} (Q\+String \+\_\+mode, Q\+String\+List \+\_\+used\+Context\+Menus)
\begin{DoxyCompactList}\small\item\em Defines a \hyperlink{a09840}{View\+Mode} for the context menus. \end{DoxyCompactList}\item 
virtual void \hyperlink{a07020_aaf0da29262adac10ecca33e7c2e6e039}{define\+View\+Mode\+Icon} (Q\+String \+\_\+mode, Q\+String \+\_\+icon\+Name)
\begin{DoxyCompactList}\small\item\em Defines an Icon for a \hyperlink{a09840}{View\+Mode}. \end{DoxyCompactList}\item 
virtual void \hyperlink{a07020_a80d58d9cebab3de795bc461fbcbff112}{set\+View\+Mode} (Q\+String \+\_\+mode, bool \+\_\+expand\+All=false)
\begin{DoxyCompactList}\small\item\em Set a \hyperlink{a09840}{View\+Mode}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Interface class for adding view modes to the ui. 

~\newline
\hyperlink{viewModeInterfacePage}{Detailed description} ~\newline


Definition at line 60 of file View\+Mode\+Interface.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a07020_ab6e3601b72fd4f5f4c771794c5c84979}\label{a07020_ab6e3601b72fd4f5f4c771794c5c84979}} 
\index{View\+Mode\+Interface@{View\+Mode\+Interface}!define\+View\+Mode\+Context\+Menus@{define\+View\+Mode\+Context\+Menus}}
\index{define\+View\+Mode\+Context\+Menus@{define\+View\+Mode\+Context\+Menus}!View\+Mode\+Interface@{View\+Mode\+Interface}}
\subsubsection{\texorpdfstring{define\+View\+Mode\+Context\+Menus()}{defineViewModeContextMenus()}}
{\footnotesize\ttfamily virtual void View\+Mode\+Interface\+::define\+View\+Mode\+Context\+Menus (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+mode,  }\item[{Q\+String\+List}]{\+\_\+used\+Context\+Menus }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Defines a \hyperlink{a09840}{View\+Mode} for the context menus. 

With this function you can define a set of context menus which should be visible for the specified view mode.


\begin{DoxyParams}{Parameters}
{\em \+\_\+mode} & Name of the \hyperlink{a09840}{View\+Mode} \\
\hline
{\em \+\_\+used\+Context\+Menus} & List of used context menus \\
\hline
\end{DoxyParams}


Definition at line 99 of file View\+Mode\+Interface.\+hh.

\mbox{\Hypertarget{a07020_aaf0da29262adac10ecca33e7c2e6e039}\label{a07020_aaf0da29262adac10ecca33e7c2e6e039}} 
\index{View\+Mode\+Interface@{View\+Mode\+Interface}!define\+View\+Mode\+Icon@{define\+View\+Mode\+Icon}}
\index{define\+View\+Mode\+Icon@{define\+View\+Mode\+Icon}!View\+Mode\+Interface@{View\+Mode\+Interface}}
\subsubsection{\texorpdfstring{define\+View\+Mode\+Icon()}{defineViewModeIcon()}}
{\footnotesize\ttfamily virtual void View\+Mode\+Interface\+::define\+View\+Mode\+Icon (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+mode,  }\item[{Q\+String}]{\+\_\+icon\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Defines an Icon for a \hyperlink{a09840}{View\+Mode}. 

With this function you can define an Icon associated with this view mode The Icon will be taken from the standard Icon path or in the Open\+Flipper home directory.~\newline
The Icon should have a size of 150x150 pixels.


\begin{DoxyParams}{Parameters}
{\em \+\_\+mode} & Name of the \hyperlink{a09840}{View\+Mode} \\
\hline
{\em \+\_\+icon\+Name} & Filename of the Icon used for this view mode \\
\hline
\end{DoxyParams}


Definition at line 111 of file View\+Mode\+Interface.\+hh.

\mbox{\Hypertarget{a07020_a9215d604bcb5eec19db02ca7893a8ab2}\label{a07020_a9215d604bcb5eec19db02ca7893a8ab2}} 
\index{View\+Mode\+Interface@{View\+Mode\+Interface}!define\+View\+Mode\+Toolbars@{define\+View\+Mode\+Toolbars}}
\index{define\+View\+Mode\+Toolbars@{define\+View\+Mode\+Toolbars}!View\+Mode\+Interface@{View\+Mode\+Interface}}
\subsubsection{\texorpdfstring{define\+View\+Mode\+Toolbars()}{defineViewModeToolbars()}}
{\footnotesize\ttfamily virtual void View\+Mode\+Interface\+::define\+View\+Mode\+Toolbars (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+mode,  }\item[{Q\+String\+List}]{\+\_\+used\+Toolbars }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Defines a \hyperlink{a09840}{View\+Mode} for the Toolbars. 

With this function you can define a set of toolbars which should be visible for the specified view mode.


\begin{DoxyParams}{Parameters}
{\em \+\_\+mode} & Name of the \hyperlink{a09840}{View\+Mode} \\
\hline
{\em \+\_\+used\+Toolbars} & List of used toolbars \\
\hline
\end{DoxyParams}


Definition at line 89 of file View\+Mode\+Interface.\+hh.

\mbox{\Hypertarget{a07020_a5a89cc13257d4ba5d95b18c4a424a79e}\label{a07020_a5a89cc13257d4ba5d95b18c4a424a79e}} 
\index{View\+Mode\+Interface@{View\+Mode\+Interface}!define\+View\+Mode\+Toolboxes@{define\+View\+Mode\+Toolboxes}}
\index{define\+View\+Mode\+Toolboxes@{define\+View\+Mode\+Toolboxes}!View\+Mode\+Interface@{View\+Mode\+Interface}}
\subsubsection{\texorpdfstring{define\+View\+Mode\+Toolboxes}{defineViewModeToolboxes}}
{\footnotesize\ttfamily virtual void View\+Mode\+Interface\+::define\+View\+Mode\+Toolboxes (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+mode,  }\item[{Q\+String\+List}]{\+\_\+used\+Widgets }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [signal]}}



Defines a \hyperlink{a09840}{View\+Mode} for the Toolboxes. 

With this function you can define a set of toolboxes which should be visible for the specified view mode.


\begin{DoxyParams}{Parameters}
{\em \+\_\+mode} & Name of the \hyperlink{a09840}{View\+Mode} \\
\hline
{\em \+\_\+used\+Widgets} & List of used Widgets names \\
\hline
\end{DoxyParams}


Definition at line 79 of file View\+Mode\+Interface.\+hh.

\mbox{\Hypertarget{a07020_a80d58d9cebab3de795bc461fbcbff112}\label{a07020_a80d58d9cebab3de795bc461fbcbff112}} 
\index{View\+Mode\+Interface@{View\+Mode\+Interface}!set\+View\+Mode@{set\+View\+Mode}}
\index{set\+View\+Mode@{set\+View\+Mode}!View\+Mode\+Interface@{View\+Mode\+Interface}}
\subsubsection{\texorpdfstring{set\+View\+Mode()}{setViewMode()}}
{\footnotesize\ttfamily virtual void View\+Mode\+Interface\+::set\+View\+Mode (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+mode,  }\item[{bool}]{\+\_\+expand\+All = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Set a \hyperlink{a09840}{View\+Mode}. 

With this function you can switch to a view\+Mode This will show all corresponding toolboxes/toolbars


\begin{DoxyParams}{Parameters}
{\em \+\_\+mode} & Name of the \hyperlink{a09840}{View\+Mode} \\
\hline
{\em \+\_\+expand\+All} & Expand all toolboxes \\
\hline
\end{DoxyParams}


Definition at line 121 of file View\+Mode\+Interface.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/\+Base\+Plugin/\hyperlink{a00146}{View\+Mode\+Interface.\+hh}\end{DoxyCompactItemize}
