\hypertarget{a01175}{\section{Side\+Area Class Reference}
\label{a01175}\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]{a01175}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a01175_a3fcf37931ca39ccc4c1648336a421b69}{Side\+Area} (Q\+Widget $\ast$\+\_\+parent=0)
\item 
void \hyperlink{a01175_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 
\hypertarget{a01175_aacf0f44f5bf49ac04592963f1e1af394}{void \hyperlink{a01175_aacf0f44f5bf49ac04592963f1e1af394}{clear} ()}\label{a01175_aacf0f44f5bf49ac04592963f1e1af394}

\begin{DoxyCompactList}\small\item\em clears the whole tool widget area \end{DoxyCompactList}\item 
\hypertarget{a01175_aad565c078388369068ecee87464bd5db}{void {\bfseries expand\+All} ()}\label{a01175_aad565c078388369068ecee87464bd5db}

\item 
\hypertarget{a01175_a2e32ebc581e621e76b2ea30703a14046}{void {\bfseries expand} (Q\+Widget $\ast$side\+Element\+Widget, bool expand)}\label{a01175_a2e32ebc581e621e76b2ea30703a14046}

\item 
\hypertarget{a01175_afc174b30c2f3b9f0a8d5a8c56baee83f}{void \hyperlink{a01175_afc174b30c2f3b9f0a8d5a8c56baee83f}{save\+State} (Q\+Settings \&\+\_\+settings)}\label{a01175_afc174b30c2f3b9f0a8d5a8c56baee83f}

\begin{DoxyCompactList}\small\item\em returns the current state \end{DoxyCompactList}\item 
\hypertarget{a01175_ac8ddf23900f972372b9e4d1cdfa2ed27}{void \hyperlink{a01175_ac8ddf23900f972372b9e4d1cdfa2ed27}{save\+View\+Mode\+State} (const Q\+String \&\+\_\+view\+Mode)}\label{a01175_ac8ddf23900f972372b9e4d1cdfa2ed27}

\begin{DoxyCompactList}\small\item\em saves the active state of \+\_\+view\+Mode \end{DoxyCompactList}\item 
\hypertarget{a01175_aca584c9a699fbc2ee722190c421d9f6b}{void \hyperlink{a01175_aca584c9a699fbc2ee722190c421d9f6b}{restore\+State} (Q\+Settings \&\+\_\+settings)}\label{a01175_aca584c9a699fbc2ee722190c421d9f6b}

\begin{DoxyCompactList}\small\item\em restores the state \end{DoxyCompactList}\item 
\hypertarget{a01175_a85bd53cf67777c4d47c9f0c59060ed27}{void \hyperlink{a01175_a85bd53cf67777c4d47c9f0c59060ed27}{restore\+View\+Mode\+State} (const Q\+String \&\+\_\+view\+Mode)}\label{a01175_a85bd53cf67777c4d47c9f0c59060ed27}

\begin{DoxyCompactList}\small\item\em restores the active state of \+\_\+view\+Mode \end{DoxyCompactList}\item 
\hypertarget{a01175_a6934ef730c855d7b5169d27119f730e1}{void \hyperlink{a01175_a6934ef730c855d7b5169d27119f730e1}{set\+Element\+Active} (Q\+String \+\_\+name, bool \+\_\+active)}\label{a01175_a6934ef730c855d7b5169d27119f730e1}

\begin{DoxyCompactList}\small\item\em set the active state of given element \end{DoxyCompactList}\item 
\hypertarget{a01175_a1651e93adbb3e82c71467ed2c6992dfc}{void \hyperlink{a01175_a1651e93adbb3e82c71467ed2c6992dfc}{move\+Item\+To\+Position} (const Q\+String \&\+\_\+name, int \+\_\+position)}\label{a01175_a1651e93adbb3e82c71467ed2c6992dfc}

\begin{DoxyCompactList}\small\item\em Move a toolbox widget to a given position. \end{DoxyCompactList}\item 
\hypertarget{a01175_a5c22568e71c106105e3ca8e81c289100}{void \hyperlink{a01175_a5c22568e71c106105e3ca8e81c289100}{move\+Item\+To\+Position} (Q\+Object const $\ast$const \+\_\+plugin, const Q\+String \&\+\_\+name, int \+\_\+position)}\label{a01175_a5c22568e71c106105e3ca8e81c289100}

\begin{DoxyCompactList}\small\item\em Move a toolbox widget to a given position. \end{DoxyCompactList}\item 
\hypertarget{a01175_ac86148401bb0c595573f228801d6b3cc}{int \hyperlink{a01175_ac86148401bb0c595573f228801d6b3cc}{get\+Number\+Of\+Widgets} () const }\label{a01175_ac86148401bb0c595573f228801d6b3cc}

\begin{DoxyCompactList}\small\item\em Get number of widgets. \end{DoxyCompactList}\item 
\hypertarget{a01175_a52c49d55ed01abff6dd6d972a3b91b2e}{const Q\+List$<$ const Q\+Object $\ast$ $>$ \& \hyperlink{a01175_a52c49d55ed01abff6dd6d972a3b91b2e}{plugins} ()}\label{a01175_a52c49d55ed01abff6dd6d972a3b91b2e}

\begin{DoxyCompactList}\small\item\em Get plugins in side area. \end{DoxyCompactList}\item 
\hypertarget{a01175_a790a048554cc5c6811d3d7ec09b5ba7c}{const Q\+String\+List \& \hyperlink{a01175_a790a048554cc5c6811d3d7ec09b5ba7c}{names} ()}\label{a01175_a790a048554cc5c6811d3d7ec09b5ba7c}

\begin{DoxyCompactList}\small\item\em Get item names. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01175_aba5cfb62c1f32e55a6735e58a9028137}{int {\bfseries last\+Pos\+\_\+}}\label{a01175_aba5cfb62c1f32e55a6735e58a9028137}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01175_ae9e05cdd6868860d486ca17be6ed1647}{Q\+Vector$<$ \hyperlink{a01176}{Side\+Element} $\ast$ $>$ {\bfseries items\+\_\+}}\label{a01175_ae9e05cdd6868860d486ca17be6ed1647}

\item 
\hypertarget{a01175_a4ac00f1de94cf6d9eb6b7d7c02ba13ab}{Q\+List$<$ const Q\+Object $\ast$ $>$ {\bfseries plugins\+\_\+}}\label{a01175_a4ac00f1de94cf6d9eb6b7d7c02ba13ab}

\item 
\hypertarget{a01175_abee6a159cd64437203a9d88671d7defc}{Q\+String\+List {\bfseries item\+Names\+\_\+}}\label{a01175_abee6a159cd64437203a9d88671d7defc}

\item 
\hypertarget{a01175_ac46f5a133b333731d13767e67d10413e}{Q\+Map$<$ Q\+String, bool $>$ {\bfseries side\+Element\+State\+\_\+}}\label{a01175_ac46f5a133b333731d13767e67d10413e}

\item 
\hypertarget{a01175_a4154d5b4268a41e7ac454adbc5eae078}{Q\+V\+Box\+Layout $\ast$ {\bfseries layout\+\_\+}}\label{a01175_a4154d5b4268a41e7ac454adbc5eae078}

\end{DoxyCompactItemize}


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

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



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a01175_a3fcf37931ca39ccc4c1648336a421b69}{\index{Side\+Area@{Side\+Area}!Side\+Area@{Side\+Area}}
\index{Side\+Area@{Side\+Area}!Side\+Area@{Side\+Area}}
\subsubsection[{Side\+Area}]{\setlength{\rightskip}{0pt plus 5cm}Side\+Area\+::\+Side\+Area (
\begin{DoxyParamCaption}
\item[{Q\+Widget $\ast$}]{\+\_\+parent = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}\label{a01175_a3fcf37931ca39ccc4c1648336a421b69}
Create a \hyperlink{a01176}{Side\+Element} 
\begin{DoxyParams}{Parameters}
{\em \+\_\+parent} & Parent widget \\
\hline
\end{DoxyParams}


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



\subsection{Member Function Documentation}
\hypertarget{a01175_a8a3edbf4322eeff9aa8270bee7a5cd79}{\index{Side\+Area@{Side\+Area}!add\+Item@{add\+Item}}
\index{add\+Item@{add\+Item}!Side\+Area@{Side\+Area}}
\subsubsection[{add\+Item}]{\setlength{\rightskip}{0pt plus 5cm}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}
)}}\label{a01175_a8a3edbf4322eeff9aa8270bee7a5cd79}
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 78 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}
