\hypertarget{a01460}{\section{View\+Mode\+Interface Class Reference}
\label{a01460}\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]{a01460}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{a01460_a5a89cc13257d4ba5d95b18c4a424a79e}{define\+View\+Mode\+Toolboxes} (Q\+String \+\_\+mode, Q\+String\+List \+\_\+used\+Widgets)
\begin{DoxyCompactList}\small\item\em Defines a \hyperlink{a01458}{View\+Mode} for the Toolboxes. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01460_aaf82ed857c3d1bd332a9d93da2465a9d}{virtual \hyperlink{a01460_aaf82ed857c3d1bd332a9d93da2465a9d}{$\sim$\+View\+Mode\+Interface} ()}\label{a01460_aaf82ed857c3d1bd332a9d93da2465a9d}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual void \hyperlink{a01460_a9215d604bcb5eec19db02ca7893a8ab2}{define\+View\+Mode\+Toolbars} (Q\+String \+\_\+mode, Q\+String\+List \+\_\+used\+Toolbars)
\begin{DoxyCompactList}\small\item\em Defines a \hyperlink{a01458}{View\+Mode} for the Toolbars. \end{DoxyCompactList}\item 
virtual void \hyperlink{a01460_ab6e3601b72fd4f5f4c771794c5c84979}{define\+View\+Mode\+Context\+Menus} (Q\+String \+\_\+mode, Q\+String\+List \+\_\+used\+Context\+Menus)
\begin{DoxyCompactList}\small\item\em Defines a \hyperlink{a01458}{View\+Mode} for the context menus. \end{DoxyCompactList}\item 
virtual void \hyperlink{a01460_aaf0da29262adac10ecca33e7c2e6e039}{define\+View\+Mode\+Icon} (Q\+String \+\_\+mode, Q\+String \+\_\+icon\+Name)
\begin{DoxyCompactList}\small\item\em Defines an Icon for a \hyperlink{a01458}{View\+Mode}. \end{DoxyCompactList}\item 
virtual void \hyperlink{a01460_a80d58d9cebab3de795bc461fbcbff112}{set\+View\+Mode} (Q\+String \+\_\+mode, bool \+\_\+expand\+All=false)
\begin{DoxyCompactList}\small\item\em Set a \hyperlink{a01458}{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 77 of file View\+Mode\+Interface.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a01460_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[{define\+View\+Mode\+Context\+Menus}]{\setlength{\rightskip}{0pt plus 5cm}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]}}}\label{a01460_ab6e3601b72fd4f5f4c771794c5c84979}


Defines a \hyperlink{a01458}{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{a01458}{View\+Mode} \\
\hline
{\em \+\_\+used\+Context\+Menus} & List of used context menus \\
\hline
\end{DoxyParams}


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

\hypertarget{a01460_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[{define\+View\+Mode\+Icon}]{\setlength{\rightskip}{0pt plus 5cm}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]}}}\label{a01460_aaf0da29262adac10ecca33e7c2e6e039}


Defines an Icon for a \hyperlink{a01458}{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{a01458}{View\+Mode} \\
\hline
{\em \+\_\+icon\+Name} & Filename of the Icon used for this view mode \\
\hline
\end{DoxyParams}


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

\hypertarget{a01460_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[{define\+View\+Mode\+Toolbars}]{\setlength{\rightskip}{0pt plus 5cm}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]}}}\label{a01460_a9215d604bcb5eec19db02ca7893a8ab2}


Defines a \hyperlink{a01458}{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{a01458}{View\+Mode} \\
\hline
{\em \+\_\+used\+Toolbars} & List of used toolbars \\
\hline
\end{DoxyParams}


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

\hypertarget{a01460_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[{define\+View\+Mode\+Toolboxes}]{\setlength{\rightskip}{0pt plus 5cm}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]}}}\label{a01460_a5a89cc13257d4ba5d95b18c4a424a79e}


Defines a \hyperlink{a01458}{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{a01458}{View\+Mode} \\
\hline
{\em \+\_\+used\+Widgets} & List of used Widgets names \\
\hline
\end{DoxyParams}


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

\hypertarget{a01460_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[{set\+View\+Mode}]{\setlength{\rightskip}{0pt plus 5cm}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]}}}\label{a01460_a80d58d9cebab3de795bc461fbcbff112}


Set a \hyperlink{a01458}{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{a01458}{View\+Mode} \\
\hline
{\em \+\_\+expand\+All} & Expand all toolboxes \\
\hline
\end{DoxyParams}


Definition at line 138 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{a02475}{View\+Mode\+Interface.\+hh}\end{DoxyCompactItemize}
