\hypertarget{classSideElement}{}\section{Side\+Element Class Reference}
\label{classSideElement}\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]{classSideElement}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classSideElement_1_1TopArea}{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{classSideElement_afcbd6cc4aa5281e770b2682b96dfe687}\label{classSideElement_afcbd6cc4aa5281e770b2682b96dfe687}} 
void {\bfseries toggle\+Active} (bool)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classSideElement_a4cfa224f66c92d3530de4015b6d1b69b}{Side\+Element} (\hyperlink{classSideArea}{Side\+Area} $\ast$\+\_\+parent, Q\+Widget $\ast$\+\_\+w, Q\+String \+\_\+name, Q\+Icon $\ast$\+\_\+icon, Q\+Widget $\ast$\+\_\+header\+Area\+Widget)
\item 
\mbox{\Hypertarget{classSideElement_aeeb3181f40afebcded1e24d2fde0f806}\label{classSideElement_aeeb3181f40afebcded1e24d2fde0f806}} 
\hyperlink{classSideElement_aeeb3181f40afebcded1e24d2fde0f806}{$\sim$\+Side\+Element} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classSideElement_aeceade38ea845dedfd213f0dd94023d7}\label{classSideElement_aeceade38ea845dedfd213f0dd94023d7}} 
void \hyperlink{classSideElement_aeceade38ea845dedfd213f0dd94023d7}{set\+Active} (bool \+\_\+active)
\begin{DoxyCompactList}\small\item\em Set the element as active. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classSideElement_a963d6d08277923a9b0b6f2ba9d6e3076}\label{classSideElement_a963d6d08277923a9b0b6f2ba9d6e3076}} 
void \hyperlink{classSideElement_a963d6d08277923a9b0b6f2ba9d6e3076}{save\+State} (Q\+Settings \&\+\_\+settings)
\begin{DoxyCompactList}\small\item\em saves the current state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classSideElement_ac1f424bbd3e197b5767387edaf8df144}\label{classSideElement_ac1f424bbd3e197b5767387edaf8df144}} 
void \hyperlink{classSideElement_ac1f424bbd3e197b5767387edaf8df144}{restore\+State} (Q\+Settings \&\+\_\+settings)
\begin{DoxyCompactList}\small\item\em restores the state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classSideElement_a4d1b246ab85976daba26520e7f974a15}\label{classSideElement_a4d1b246ab85976daba26520e7f974a15}} 
const Q\+String \& \hyperlink{classSideElement_a4d1b246ab85976daba26520e7f974a15}{name} ()
\begin{DoxyCompactList}\small\item\em return the name \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classSideElement_ae0fc8c42ee3b6ef7e18092600f798df6}\label{classSideElement_ae0fc8c42ee3b6ef7e18092600f798df6}} 
bool \hyperlink{classSideElement_ae0fc8c42ee3b6ef7e18092600f798df6}{active} ()
\begin{DoxyCompactList}\small\item\em returns if the \hyperlink{classSideElement}{Side\+Element} is active \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classSideElement_afad608eb971b0cbbe9a795c9d6f5adaa}\label{classSideElement_afad608eb971b0cbbe9a795c9d6f5adaa}} 
Q\+Widget const  $\ast$ \hyperlink{classSideElement_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{classSideElement_ab1b0c84511f283eb8b314d5173af68b9}\label{classSideElement_ab1b0c84511f283eb8b314d5173af68b9}} 
void \hyperlink{classSideElement_ab1b0c84511f283eb8b314d5173af68b9}{detach\+Pressed} (bool \+\_\+checked)
\begin{DoxyCompactList}\small\item\em Called if the detach button was pressed. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classSideElement_a8cd3f6a21a19716d94e55401b03709e9}\label{classSideElement_a8cd3f6a21a19716d94e55401b03709e9}} 
void \hyperlink{classSideElement_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{classSideElement_aab061f91e427748230998b77d53d45ac}\label{classSideElement_aab061f91e427748230998b77d53d45ac}} 
void \hyperlink{classSideElement_aab061f91e427748230998b77d53d45ac}{label\+Press} ()
\begin{DoxyCompactList}\small\item\em Called on mouse press. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classSideElement_af51554677d68f05f6807d8ad5bf98aef}\label{classSideElement_af51554677d68f05f6807d8ad5bf98aef}} 
\hyperlink{classSideArea}{Side\+Area} $\ast$ {\bfseries parent\+\_\+}
\item 
\mbox{\Hypertarget{classSideElement_af8494ea184e48ce1696b56563a15d0fd}\label{classSideElement_af8494ea184e48ce1696b56563a15d0fd}} 
Q\+Widget $\ast$ {\bfseries widget\+\_\+}
\item 
\mbox{\Hypertarget{classSideElement_ad627de4902d85f8e145b7a1bc04da613}\label{classSideElement_ad627de4902d85f8e145b7a1bc04da613}} 
Q\+Widget $\ast$ {\bfseries header\+Area\+Widget\+\_\+}
\item 
\mbox{\Hypertarget{classSideElement_a85b25c22944cf3f4f4cac8de38a52b6f}\label{classSideElement_a85b25c22944cf3f4f4cac8de38a52b6f}} 
Q\+String {\bfseries name\+\_\+}
\item 
\mbox{\Hypertarget{classSideElement_ad532c76d7b925c2e408019f5e4c94b6d}\label{classSideElement_ad532c76d7b925c2e408019f5e4c94b6d}} 
Q\+Icon $\ast$ {\bfseries icon\+\_\+}
\item 
\mbox{\Hypertarget{classSideElement_a875b408201eca0d6bcfd079a1b35cbb6}\label{classSideElement_a875b408201eca0d6bcfd079a1b35cbb6}} 
Q\+V\+Box\+Layout $\ast$ {\bfseries main\+Layout\+\_\+}
\item 
\mbox{\Hypertarget{classSideElement_a75889e6d5c9d01344dc2624d096c01c7}\label{classSideElement_a75889e6d5c9d01344dc2624d096c01c7}} 
bool {\bfseries active\+\_\+}
\item 
\mbox{\Hypertarget{classSideElement_a980be78491afc206e60a69937171a2f8}\label{classSideElement_a980be78491afc206e60a69937171a2f8}} 
Q\+Label $\ast$ {\bfseries label\+\_\+}
\item 
\mbox{\Hypertarget{classSideElement_a0ef4a5d0dbeb9ccab4cae870ddf52e17}\label{classSideElement_a0ef4a5d0dbeb9ccab4cae870ddf52e17}} 
Q\+Label $\ast$ {\bfseries icon\+Holder\+\_\+}
\item 
\mbox{\Hypertarget{classSideElement_a075d62be1dacf32dd636fde8f3eaf7a2}\label{classSideElement_a075d62be1dacf32dd636fde8f3eaf7a2}} 
Q\+Tool\+Button $\ast$ {\bfseries detach\+Button\+\_\+}
\item 
\mbox{\Hypertarget{classSideElement_a9a9a70cf1f5d4a6617fce70281a78121}\label{classSideElement_a9a9a70cf1f5d4a6617fce70281a78121}} 
Q\+Action $\ast$ {\bfseries detach\+Action\+\_\+}
\item 
\mbox{\Hypertarget{classSideElement_a985fdd791f83534b84698ee84c79b063}\label{classSideElement_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{classSideElement_a4cfa224f66c92d3530de4015b6d1b69b}\label{classSideElement_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{classSideArea}{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{classSideElement}{Side\+Element} 
\begin{DoxyParams}{Parameters}
{\em \+\_\+parent} & \hyperlink{classSideArea}{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}
