\hypertarget{a09860}{}\section{Side\+Area Class Reference}
\label{a09860}\index{Side\+Area@{Side\+Area}}


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

Inheritance diagram for Side\+Area\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a09860}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a09860_a3fcf37931ca39ccc4c1648336a421b69}{Side\+Area} (Q\+Widget $\ast$\+\_\+parent=0)
\item 
void \hyperlink{a09860_a8a3edbf4322eeff9aa8270bee7a5cd79}{add\+Item} (Q\+Object const $\ast$const \+\_\+plugin, Q\+Widget $\ast$\+\_\+w, Q\+String \+\_\+name, Q\+Icon $\ast$\+\_\+icon=0, Q\+Widget $\ast$\+\_\+header\+Area\+Widget=0)
\item 
\mbox{\Hypertarget{a09860_aacf0f44f5bf49ac04592963f1e1af394}\label{a09860_aacf0f44f5bf49ac04592963f1e1af394}} 
void \hyperlink{a09860_aacf0f44f5bf49ac04592963f1e1af394}{clear} ()
\begin{DoxyCompactList}\small\item\em clears the whole tool widget area \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09860_aad565c078388369068ecee87464bd5db}\label{a09860_aad565c078388369068ecee87464bd5db}} 
void {\bfseries expand\+All} ()
\item 
\mbox{\Hypertarget{a09860_a2e32ebc581e621e76b2ea30703a14046}\label{a09860_a2e32ebc581e621e76b2ea30703a14046}} 
void {\bfseries expand} (Q\+Widget $\ast$side\+Element\+Widget, bool expand)
\item 
\mbox{\Hypertarget{a09860_afc174b30c2f3b9f0a8d5a8c56baee83f}\label{a09860_afc174b30c2f3b9f0a8d5a8c56baee83f}} 
void \hyperlink{a09860_afc174b30c2f3b9f0a8d5a8c56baee83f}{save\+State} (Q\+Settings \&\+\_\+settings)
\begin{DoxyCompactList}\small\item\em returns the current state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09860_ac8ddf23900f972372b9e4d1cdfa2ed27}\label{a09860_ac8ddf23900f972372b9e4d1cdfa2ed27}} 
void \hyperlink{a09860_ac8ddf23900f972372b9e4d1cdfa2ed27}{save\+View\+Mode\+State} (const Q\+String \&\+\_\+view\+Mode)
\begin{DoxyCompactList}\small\item\em saves the active state of \+\_\+view\+Mode \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09860_aca584c9a699fbc2ee722190c421d9f6b}\label{a09860_aca584c9a699fbc2ee722190c421d9f6b}} 
void \hyperlink{a09860_aca584c9a699fbc2ee722190c421d9f6b}{restore\+State} (Q\+Settings \&\+\_\+settings)
\begin{DoxyCompactList}\small\item\em restores the state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09860_a85bd53cf67777c4d47c9f0c59060ed27}\label{a09860_a85bd53cf67777c4d47c9f0c59060ed27}} 
void \hyperlink{a09860_a85bd53cf67777c4d47c9f0c59060ed27}{restore\+View\+Mode\+State} (const Q\+String \&\+\_\+view\+Mode)
\begin{DoxyCompactList}\small\item\em restores the active state of \+\_\+view\+Mode \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09860_a6934ef730c855d7b5169d27119f730e1}\label{a09860_a6934ef730c855d7b5169d27119f730e1}} 
void \hyperlink{a09860_a6934ef730c855d7b5169d27119f730e1}{set\+Element\+Active} (Q\+String \+\_\+name, bool \+\_\+active)
\begin{DoxyCompactList}\small\item\em set the active state of given element \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09860_a1651e93adbb3e82c71467ed2c6992dfc}\label{a09860_a1651e93adbb3e82c71467ed2c6992dfc}} 
void \hyperlink{a09860_a1651e93adbb3e82c71467ed2c6992dfc}{move\+Item\+To\+Position} (const Q\+String \&\+\_\+name, int \+\_\+position)
\begin{DoxyCompactList}\small\item\em Move a toolbox widget to a given position. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09860_a5c22568e71c106105e3ca8e81c289100}\label{a09860_a5c22568e71c106105e3ca8e81c289100}} 
void \hyperlink{a09860_a5c22568e71c106105e3ca8e81c289100}{move\+Item\+To\+Position} (Q\+Object const $\ast$const \+\_\+plugin, const Q\+String \&\+\_\+name, int \+\_\+position)
\begin{DoxyCompactList}\small\item\em Move a toolbox widget to a given position. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09860_a500b90a99eb97806f868e139e65dfc91}\label{a09860_a500b90a99eb97806f868e139e65dfc91}} 
int \hyperlink{a09860_a500b90a99eb97806f868e139e65dfc91}{get\+Number\+Of\+Widgets} () const
\begin{DoxyCompactList}\small\item\em Get number of widgets. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09860_a52c49d55ed01abff6dd6d972a3b91b2e}\label{a09860_a52c49d55ed01abff6dd6d972a3b91b2e}} 
const Q\+List$<$ const Q\+Object $\ast$ $>$ \& \hyperlink{a09860_a52c49d55ed01abff6dd6d972a3b91b2e}{plugins} ()
\begin{DoxyCompactList}\small\item\em Get plugins in side area. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09860_a790a048554cc5c6811d3d7ec09b5ba7c}\label{a09860_a790a048554cc5c6811d3d7ec09b5ba7c}} 
const Q\+String\+List \& \hyperlink{a09860_a790a048554cc5c6811d3d7ec09b5ba7c}{names} ()
\begin{DoxyCompactList}\small\item\em Get item names. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09860_aba5cfb62c1f32e55a6735e58a9028137}\label{a09860_aba5cfb62c1f32e55a6735e58a9028137}} 
int {\bfseries last\+Pos\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09860_ae9e05cdd6868860d486ca17be6ed1647}\label{a09860_ae9e05cdd6868860d486ca17be6ed1647}} 
Q\+Vector$<$ \hyperlink{a09864}{Side\+Element} $\ast$ $>$ {\bfseries items\+\_\+}
\item 
\mbox{\Hypertarget{a09860_a4ac00f1de94cf6d9eb6b7d7c02ba13ab}\label{a09860_a4ac00f1de94cf6d9eb6b7d7c02ba13ab}} 
Q\+List$<$ const Q\+Object $\ast$ $>$ {\bfseries plugins\+\_\+}
\item 
\mbox{\Hypertarget{a09860_abee6a159cd64437203a9d88671d7defc}\label{a09860_abee6a159cd64437203a9d88671d7defc}} 
Q\+String\+List {\bfseries item\+Names\+\_\+}
\item 
\mbox{\Hypertarget{a09860_ac46f5a133b333731d13767e67d10413e}\label{a09860_ac46f5a133b333731d13767e67d10413e}} 
Q\+Map$<$ Q\+String, bool $>$ {\bfseries side\+Element\+State\+\_\+}
\item 
\mbox{\Hypertarget{a09860_a4154d5b4268a41e7ac454adbc5eae078}\label{a09860_a4154d5b4268a41e7ac454adbc5eae078}} 
Q\+V\+Box\+Layout $\ast$ {\bfseries layout\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
A widget that holds the different plugin tool widgets 

Definition at line 74 of file Side\+Area.\+hh.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{a09860_a3fcf37931ca39ccc4c1648336a421b69}\label{a09860_a3fcf37931ca39ccc4c1648336a421b69}} 
\index{Side\+Area@{Side\+Area}!Side\+Area@{Side\+Area}}
\index{Side\+Area@{Side\+Area}!Side\+Area@{Side\+Area}}
\subsubsection{\texorpdfstring{Side\+Area()}{SideArea()}}
{\footnotesize\ttfamily Side\+Area\+::\+Side\+Area (\begin{DoxyParamCaption}\item[{Q\+Widget $\ast$}]{\+\_\+parent = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}

Create a \hyperlink{a09864}{Side\+Element} 
\begin{DoxyParams}{Parameters}
{\em \+\_\+parent} & Parent widget \\
\hline
\end{DoxyParams}


Definition at line 54 of file Side\+Area.\+cc.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a09860_a8a3edbf4322eeff9aa8270bee7a5cd79}\label{a09860_a8a3edbf4322eeff9aa8270bee7a5cd79}} 
\index{Side\+Area@{Side\+Area}!add\+Item@{add\+Item}}
\index{add\+Item@{add\+Item}!Side\+Area@{Side\+Area}}
\subsubsection{\texorpdfstring{add\+Item()}{addItem()}}
{\footnotesize\ttfamily void Side\+Area\+::add\+Item (\begin{DoxyParamCaption}\item[{Q\+Object const $\ast$const}]{\+\_\+plugin,  }\item[{Q\+Widget $\ast$}]{\+\_\+w,  }\item[{Q\+String}]{\+\_\+name,  }\item[{Q\+Icon $\ast$}]{\+\_\+icon = {\ttfamily 0},  }\item[{Q\+Widget $\ast$}]{\+\_\+header\+Area\+Widget = {\ttfamily 0} }\end{DoxyParamCaption})}

Adds a plugin tool widget 
\begin{DoxyParams}{Parameters}
{\em \+\_\+plugin} & plugin corresponding to the widget \\
\hline
{\em \+\_\+w} & Plugin widget \\
\hline
{\em \+\_\+name} & Plugin name \\
\hline
{\em \+\_\+icon} & an icon \\
\hline
{\em \+\_\+header\+Area\+Widget} & \\
\hline
\end{DoxyParams}


Definition at line 72 of file Side\+Area.\+cc.



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