\hypertarget{a01176}{\section{Side\+Element Class Reference}
\label{a01176}\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]{a01176}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{a01313}{Top\+Area}
\begin{DoxyCompactList}\small\item\em Clickable area inside of the side element. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01176_afcbd6cc4aa5281e770b2682b96dfe687}{void {\bfseries toggle\+Active} (bool)}\label{a01176_afcbd6cc4aa5281e770b2682b96dfe687}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a01176_a4cfa224f66c92d3530de4015b6d1b69b}{Side\+Element} (\hyperlink{a01175}{Side\+Area} $\ast$\+\_\+parent, Q\+Widget $\ast$\+\_\+w, Q\+String \+\_\+name, Q\+Icon $\ast$\+\_\+icon, Q\+Widget $\ast$\+\_\+header\+Area\+Widget)
\item 
\hypertarget{a01176_aeeb3181f40afebcded1e24d2fde0f806}{\hyperlink{a01176_aeeb3181f40afebcded1e24d2fde0f806}{$\sim$\+Side\+Element} ()}\label{a01176_aeeb3181f40afebcded1e24d2fde0f806}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\hypertarget{a01176_aeceade38ea845dedfd213f0dd94023d7}{void \hyperlink{a01176_aeceade38ea845dedfd213f0dd94023d7}{set\+Active} (bool \+\_\+active)}\label{a01176_aeceade38ea845dedfd213f0dd94023d7}

\begin{DoxyCompactList}\small\item\em Set the element as active. \end{DoxyCompactList}\item 
\hypertarget{a01176_a963d6d08277923a9b0b6f2ba9d6e3076}{void \hyperlink{a01176_a963d6d08277923a9b0b6f2ba9d6e3076}{save\+State} (Q\+Settings \&\+\_\+settings)}\label{a01176_a963d6d08277923a9b0b6f2ba9d6e3076}

\begin{DoxyCompactList}\small\item\em saves the current state \end{DoxyCompactList}\item 
\hypertarget{a01176_ac1f424bbd3e197b5767387edaf8df144}{void \hyperlink{a01176_ac1f424bbd3e197b5767387edaf8df144}{restore\+State} (Q\+Settings \&\+\_\+settings)}\label{a01176_ac1f424bbd3e197b5767387edaf8df144}

\begin{DoxyCompactList}\small\item\em restores the state \end{DoxyCompactList}\item 
\hypertarget{a01176_a4d1b246ab85976daba26520e7f974a15}{const Q\+String \& \hyperlink{a01176_a4d1b246ab85976daba26520e7f974a15}{name} ()}\label{a01176_a4d1b246ab85976daba26520e7f974a15}

\begin{DoxyCompactList}\small\item\em return the name \end{DoxyCompactList}\item 
\hypertarget{a01176_ae0fc8c42ee3b6ef7e18092600f798df6}{bool \hyperlink{a01176_ae0fc8c42ee3b6ef7e18092600f798df6}{active} ()}\label{a01176_ae0fc8c42ee3b6ef7e18092600f798df6}

\begin{DoxyCompactList}\small\item\em returns if the \hyperlink{a01176}{Side\+Element} is active \end{DoxyCompactList}\item 
\hypertarget{a01176_aaae0ac8d2241ea70125ac01e4097085a}{Q\+Widget const $\ast$ \hyperlink{a01176_aaae0ac8d2241ea70125ac01e4097085a}{widget} ()}\label{a01176_aaae0ac8d2241ea70125ac01e4097085a}

\begin{DoxyCompactList}\small\item\em returns the pointer to the plugin tool widget \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01176_ab1b0c84511f283eb8b314d5173af68b9}{void \hyperlink{a01176_ab1b0c84511f283eb8b314d5173af68b9}{detach\+Pressed} (bool \+\_\+checked)}\label{a01176_ab1b0c84511f283eb8b314d5173af68b9}

\begin{DoxyCompactList}\small\item\em Called if the detach button was pressed. \end{DoxyCompactList}\item 
\hypertarget{a01176_a8cd3f6a21a19716d94e55401b03709e9}{void \hyperlink{a01176_a8cd3f6a21a19716d94e55401b03709e9}{dialog\+Closed} ()}\label{a01176_a8cd3f6a21a19716d94e55401b03709e9}

\begin{DoxyCompactList}\small\item\em Called if a detached dialog was closed. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01176_aab061f91e427748230998b77d53d45ac}{void \hyperlink{a01176_aab061f91e427748230998b77d53d45ac}{label\+Press} ()}\label{a01176_aab061f91e427748230998b77d53d45ac}

\begin{DoxyCompactList}\small\item\em Called on mouse press. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01176_af51554677d68f05f6807d8ad5bf98aef}{\hyperlink{a01175}{Side\+Area} $\ast$ {\bfseries parent\+\_\+}}\label{a01176_af51554677d68f05f6807d8ad5bf98aef}

\item 
\hypertarget{a01176_af8494ea184e48ce1696b56563a15d0fd}{Q\+Widget $\ast$ {\bfseries widget\+\_\+}}\label{a01176_af8494ea184e48ce1696b56563a15d0fd}

\item 
\hypertarget{a01176_ad627de4902d85f8e145b7a1bc04da613}{Q\+Widget $\ast$ {\bfseries header\+Area\+Widget\+\_\+}}\label{a01176_ad627de4902d85f8e145b7a1bc04da613}

\item 
\hypertarget{a01176_a85b25c22944cf3f4f4cac8de38a52b6f}{Q\+String {\bfseries name\+\_\+}}\label{a01176_a85b25c22944cf3f4f4cac8de38a52b6f}

\item 
\hypertarget{a01176_ad532c76d7b925c2e408019f5e4c94b6d}{Q\+Icon $\ast$ {\bfseries icon\+\_\+}}\label{a01176_ad532c76d7b925c2e408019f5e4c94b6d}

\item 
\hypertarget{a01176_a875b408201eca0d6bcfd079a1b35cbb6}{Q\+V\+Box\+Layout $\ast$ {\bfseries main\+Layout\+\_\+}}\label{a01176_a875b408201eca0d6bcfd079a1b35cbb6}

\item 
\hypertarget{a01176_a75889e6d5c9d01344dc2624d096c01c7}{bool {\bfseries active\+\_\+}}\label{a01176_a75889e6d5c9d01344dc2624d096c01c7}

\item 
\hypertarget{a01176_a980be78491afc206e60a69937171a2f8}{Q\+Label $\ast$ {\bfseries label\+\_\+}}\label{a01176_a980be78491afc206e60a69937171a2f8}

\item 
\hypertarget{a01176_a0ef4a5d0dbeb9ccab4cae870ddf52e17}{Q\+Label $\ast$ {\bfseries icon\+Holder\+\_\+}}\label{a01176_a0ef4a5d0dbeb9ccab4cae870ddf52e17}

\item 
\hypertarget{a01176_a075d62be1dacf32dd636fde8f3eaf7a2}{Q\+Tool\+Button $\ast$ {\bfseries detach\+Button\+\_\+}}\label{a01176_a075d62be1dacf32dd636fde8f3eaf7a2}

\item 
\hypertarget{a01176_a9a9a70cf1f5d4a6617fce70281a78121}{Q\+Action $\ast$ {\bfseries detach\+Action\+\_\+}}\label{a01176_a9a9a70cf1f5d4a6617fce70281a78121}

\item 
\hypertarget{a01176_a985fdd791f83534b84698ee84c79b063}{Q\+Dialog $\ast$ {\bfseries dialog\+\_\+}}\label{a01176_a985fdd791f83534b84698ee84c79b063}

\end{DoxyCompactItemize}


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

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



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a01176_a4cfa224f66c92d3530de4015b6d1b69b}{\index{Side\+Element@{Side\+Element}!Side\+Element@{Side\+Element}}
\index{Side\+Element@{Side\+Element}!Side\+Element@{Side\+Element}}
\subsubsection[{Side\+Element}]{\setlength{\rightskip}{0pt plus 5cm}Side\+Element\+::\+Side\+Element (
\begin{DoxyParamCaption}
\item[{{\bf 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}
)}}\label{a01176_a4cfa224f66c92d3530de4015b6d1b69b}
Create a \hyperlink{a01176}{Side\+Element} 
\begin{DoxyParams}{Parameters}
{\em \+\_\+parent} & \hyperlink{a01175}{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 67 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}
