\hypertarget{a01309}{\section{Toolbar\+Interface Class Reference}
\label{a01309}\index{Toolbar\+Interface@{Toolbar\+Interface}}
}


Add a toolbox to Open\+Flipper.  




{\ttfamily \#include $<$Open\+Flipper/\+Base\+Plugin/\+Toolbar\+Interface.\+hh$>$}

Inheritance diagram for Toolbar\+Interface\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=12.000000cm]{a01309}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{a01309_af3a0622e6323797c2eb0b29501e379d3}{add\+Toolbar} (Q\+Tool\+Bar $\ast$\+\_\+toolbar)
\begin{DoxyCompactList}\small\item\em Adds a Toolbar to the main widget. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01309_af72b2768e473608cbda7f62299953d70}{virtual \hyperlink{a01309_af72b2768e473608cbda7f62299953d70}{$\sim$\+Toolbar\+Interface} ()}\label{a01309_af72b2768e473608cbda7f62299953d70}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual void \hyperlink{a01309_a1cd064609f92063e8bdd6e823710bce5}{remove\+Toolbar} (Q\+Tool\+Bar $\ast$\+\_\+toolbar)
\begin{DoxyCompactList}\small\item\em Remove a Toolbar from the main widget. \end{DoxyCompactList}\item 
virtual void \hyperlink{a01309_a4a0268e86154cb371f1cef5392995b6b}{get\+Tool\+Bar} (Q\+String \+\_\+name, Q\+Tool\+Bar $\ast$\&\+\_\+toolbar)
\begin{DoxyCompactList}\small\item\em Get a pointer to a Toolbar of the given name or 0 if it does not exist. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Add a toolbox to Open\+Flipper. 

\hyperlink{toolbarInterfacePage}{Detailed description} ~\newline
 This Interface should be used by plugins which will provide a toolbar. Each Plugin can create own toolbars. 

Definition at line 79 of file Toolbar\+Interface.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a01309_af3a0622e6323797c2eb0b29501e379d3}{\index{Toolbar\+Interface@{Toolbar\+Interface}!add\+Toolbar@{add\+Toolbar}}
\index{add\+Toolbar@{add\+Toolbar}!Toolbar\+Interface@{Toolbar\+Interface}}
\subsubsection[{add\+Toolbar}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Toolbar\+Interface\+::add\+Toolbar (
\begin{DoxyParamCaption}
\item[{Q\+Tool\+Bar $\ast$}]{\+\_\+toolbar}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [signal]}}}\label{a01309_af3a0622e6323797c2eb0b29501e379d3}


Adds a Toolbar to the main widget. 

To create your own Toolbar, emit this signal with a pointer to your Toolbar. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+toolbar} & Your Toolbar \\
\hline
\end{DoxyParams}


Definition at line 95 of file Toolbar\+Interface.\+hh.

\hypertarget{a01309_a4a0268e86154cb371f1cef5392995b6b}{\index{Toolbar\+Interface@{Toolbar\+Interface}!get\+Tool\+Bar@{get\+Tool\+Bar}}
\index{get\+Tool\+Bar@{get\+Tool\+Bar}!Toolbar\+Interface@{Toolbar\+Interface}}
\subsubsection[{get\+Tool\+Bar}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Toolbar\+Interface\+::get\+Tool\+Bar (
\begin{DoxyParamCaption}
\item[{Q\+String}]{\+\_\+name, }
\item[{Q\+Tool\+Bar $\ast$\&}]{\+\_\+toolbar}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01309_a4a0268e86154cb371f1cef5392995b6b}


Get a pointer to a Toolbar of the given name or 0 if it does not exist. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the Toolbar \\
\hline
{\em \+\_\+toolbar} & requested Toolbar or 0 \\
\hline
\end{DoxyParams}


Definition at line 110 of file Toolbar\+Interface.\+hh.

\hypertarget{a01309_a1cd064609f92063e8bdd6e823710bce5}{\index{Toolbar\+Interface@{Toolbar\+Interface}!remove\+Toolbar@{remove\+Toolbar}}
\index{remove\+Toolbar@{remove\+Toolbar}!Toolbar\+Interface@{Toolbar\+Interface}}
\subsubsection[{remove\+Toolbar}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Toolbar\+Interface\+::remove\+Toolbar (
\begin{DoxyParamCaption}
\item[{Q\+Tool\+Bar $\ast$}]{\+\_\+toolbar}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01309_a1cd064609f92063e8bdd6e823710bce5}


Remove a Toolbar from the main widget. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+toolbar} & Toolbar to be removed \\
\hline
\end{DoxyParams}


Definition at line 102 of file Toolbar\+Interface.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/\+Base\+Plugin/\hyperlink{a02471}{Toolbar\+Interface.\+hh}\end{DoxyCompactItemize}
