\hypertarget{a09864}{}\section{Side\+Element Class Reference}
\label{a09864}\index{Side\+Element@{Side\+Element}}


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

Inheritance diagram for Side\+Element\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a09864}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{a09868}{Top\+Area}
\begin{DoxyCompactList}\small\item\em Clickable area inside of the side element. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09864_afcbd6cc4aa5281e770b2682b96dfe687}\label{a09864_afcbd6cc4aa5281e770b2682b96dfe687}} 
void {\bfseries toggle\+Active} (bool)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a09864_a4cfa224f66c92d3530de4015b6d1b69b}{Side\+Element} (\hyperlink{a09860}{Side\+Area} $\ast$\+\_\+parent, Q\+Widget $\ast$\+\_\+w, Q\+String \+\_\+name, Q\+Icon $\ast$\+\_\+icon, Q\+Widget $\ast$\+\_\+header\+Area\+Widget)
\item 
\mbox{\Hypertarget{a09864_aeeb3181f40afebcded1e24d2fde0f806}\label{a09864_aeeb3181f40afebcded1e24d2fde0f806}} 
\hyperlink{a09864_aeeb3181f40afebcded1e24d2fde0f806}{$\sim$\+Side\+Element} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09864_aeceade38ea845dedfd213f0dd94023d7}\label{a09864_aeceade38ea845dedfd213f0dd94023d7}} 
void \hyperlink{a09864_aeceade38ea845dedfd213f0dd94023d7}{set\+Active} (bool \+\_\+active)
\begin{DoxyCompactList}\small\item\em Set the element as active. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09864_a963d6d08277923a9b0b6f2ba9d6e3076}\label{a09864_a963d6d08277923a9b0b6f2ba9d6e3076}} 
void \hyperlink{a09864_a963d6d08277923a9b0b6f2ba9d6e3076}{save\+State} (Q\+Settings \&\+\_\+settings)
\begin{DoxyCompactList}\small\item\em saves the current state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09864_ac1f424bbd3e197b5767387edaf8df144}\label{a09864_ac1f424bbd3e197b5767387edaf8df144}} 
void \hyperlink{a09864_ac1f424bbd3e197b5767387edaf8df144}{restore\+State} (Q\+Settings \&\+\_\+settings)
\begin{DoxyCompactList}\small\item\em restores the state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09864_a4d1b246ab85976daba26520e7f974a15}\label{a09864_a4d1b246ab85976daba26520e7f974a15}} 
const Q\+String \& \hyperlink{a09864_a4d1b246ab85976daba26520e7f974a15}{name} ()
\begin{DoxyCompactList}\small\item\em return the name \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09864_ae0fc8c42ee3b6ef7e18092600f798df6}\label{a09864_ae0fc8c42ee3b6ef7e18092600f798df6}} 
bool \hyperlink{a09864_ae0fc8c42ee3b6ef7e18092600f798df6}{active} ()
\begin{DoxyCompactList}\small\item\em returns if the \hyperlink{a09864}{Side\+Element} is active \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09864_afad608eb971b0cbbe9a795c9d6f5adaa}\label{a09864_afad608eb971b0cbbe9a795c9d6f5adaa}} 
Q\+Widget const  $\ast$ \hyperlink{a09864_afad608eb971b0cbbe9a795c9d6f5adaa}{widget} ()
\begin{DoxyCompactList}\small\item\em returns the pointer to the plugin tool widget \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09864_ab1b0c84511f283eb8b314d5173af68b9}\label{a09864_ab1b0c84511f283eb8b314d5173af68b9}} 
void \hyperlink{a09864_ab1b0c84511f283eb8b314d5173af68b9}{detach\+Pressed} (bool \+\_\+checked)
\begin{DoxyCompactList}\small\item\em Called if the detach button was pressed. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09864_a8cd3f6a21a19716d94e55401b03709e9}\label{a09864_a8cd3f6a21a19716d94e55401b03709e9}} 
void \hyperlink{a09864_a8cd3f6a21a19716d94e55401b03709e9}{dialog\+Closed} ()
\begin{DoxyCompactList}\small\item\em Called if a detached dialog was closed. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09864_aab061f91e427748230998b77d53d45ac}\label{a09864_aab061f91e427748230998b77d53d45ac}} 
void \hyperlink{a09864_aab061f91e427748230998b77d53d45ac}{label\+Press} ()
\begin{DoxyCompactList}\small\item\em Called on mouse press. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09864_af51554677d68f05f6807d8ad5bf98aef}\label{a09864_af51554677d68f05f6807d8ad5bf98aef}} 
\hyperlink{a09860}{Side\+Area} $\ast$ {\bfseries parent\+\_\+}
\item 
\mbox{\Hypertarget{a09864_af8494ea184e48ce1696b56563a15d0fd}\label{a09864_af8494ea184e48ce1696b56563a15d0fd}} 
Q\+Widget $\ast$ {\bfseries widget\+\_\+}
\item 
\mbox{\Hypertarget{a09864_ad627de4902d85f8e145b7a1bc04da613}\label{a09864_ad627de4902d85f8e145b7a1bc04da613}} 
Q\+Widget $\ast$ {\bfseries header\+Area\+Widget\+\_\+}
\item 
\mbox{\Hypertarget{a09864_a85b25c22944cf3f4f4cac8de38a52b6f}\label{a09864_a85b25c22944cf3f4f4cac8de38a52b6f}} 
Q\+String {\bfseries name\+\_\+}
\item 
\mbox{\Hypertarget{a09864_ad532c76d7b925c2e408019f5e4c94b6d}\label{a09864_ad532c76d7b925c2e408019f5e4c94b6d}} 
Q\+Icon $\ast$ {\bfseries icon\+\_\+}
\item 
\mbox{\Hypertarget{a09864_a875b408201eca0d6bcfd079a1b35cbb6}\label{a09864_a875b408201eca0d6bcfd079a1b35cbb6}} 
Q\+V\+Box\+Layout $\ast$ {\bfseries main\+Layout\+\_\+}
\item 
\mbox{\Hypertarget{a09864_a75889e6d5c9d01344dc2624d096c01c7}\label{a09864_a75889e6d5c9d01344dc2624d096c01c7}} 
bool {\bfseries active\+\_\+}
\item 
\mbox{\Hypertarget{a09864_a980be78491afc206e60a69937171a2f8}\label{a09864_a980be78491afc206e60a69937171a2f8}} 
Q\+Label $\ast$ {\bfseries label\+\_\+}
\item 
\mbox{\Hypertarget{a09864_a0ef4a5d0dbeb9ccab4cae870ddf52e17}\label{a09864_a0ef4a5d0dbeb9ccab4cae870ddf52e17}} 
Q\+Label $\ast$ {\bfseries icon\+Holder\+\_\+}
\item 
\mbox{\Hypertarget{a09864_a075d62be1dacf32dd636fde8f3eaf7a2}\label{a09864_a075d62be1dacf32dd636fde8f3eaf7a2}} 
Q\+Tool\+Button $\ast$ {\bfseries detach\+Button\+\_\+}
\item 
\mbox{\Hypertarget{a09864_a9a9a70cf1f5d4a6617fce70281a78121}\label{a09864_a9a9a70cf1f5d4a6617fce70281a78121}} 
Q\+Action $\ast$ {\bfseries detach\+Action\+\_\+}
\item 
\mbox{\Hypertarget{a09864_a985fdd791f83534b84698ee84c79b063}\label{a09864_a985fdd791f83534b84698ee84c79b063}} 
Q\+Dialog $\ast$ {\bfseries dialog\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
A widget that holds the plugin side area widget 

Definition at line 79 of file Side\+Element.\+hh.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{a09864_a4cfa224f66c92d3530de4015b6d1b69b}\label{a09864_a4cfa224f66c92d3530de4015b6d1b69b}} 
\index{Side\+Element@{Side\+Element}!Side\+Element@{Side\+Element}}
\index{Side\+Element@{Side\+Element}!Side\+Element@{Side\+Element}}
\subsubsection{\texorpdfstring{Side\+Element()}{SideElement()}}
{\footnotesize\ttfamily Side\+Element\+::\+Side\+Element (\begin{DoxyParamCaption}\item[{\hyperlink{a09860}{Side\+Area} $\ast$}]{\+\_\+parent,  }\item[{Q\+Widget $\ast$}]{\+\_\+w,  }\item[{Q\+String}]{\+\_\+name,  }\item[{Q\+Icon $\ast$}]{\+\_\+icon,  }\item[{Q\+Widget $\ast$}]{\+\_\+header\+Area\+Widget }\end{DoxyParamCaption})}

Create a \hyperlink{a09864}{Side\+Element} 
\begin{DoxyParams}{Parameters}
{\em \+\_\+parent} & \hyperlink{a09860}{Side\+Area} widget that holds this widget \\
\hline
{\em \+\_\+w} & Plugin tool widget \\
\hline
{\em \+\_\+name} & Plugin name \\
\hline
{\em \+\_\+icon} & An icon that should be shown in the title bar of the side element \\
\hline
\end{DoxyParams}


Definition at line 61 of file Side\+Element.\+cc.



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