\hypertarget{a06916}{}\section{Options\+Interface Class Reference}
\label{a06916}\index{Options\+Interface@{Options\+Interface}}


Options Dialog interface.  




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

Inheritance diagram for Options\+Interface\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.280000cm]{a06916}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a06916_a713235fe3f494de75f7df609a24665b4}\label{a06916_a713235fe3f494de75f7df609a24665b4}} 
virtual \hyperlink{a06916_a713235fe3f494de75f7df609a24665b4}{$\sim$\+Options\+Interface} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual bool \hyperlink{a06916_a2c3792590a9eecb6a76e6cba5de731a6}{initialize\+Options\+Widget} (Q\+Widget $\ast$\&\+\_\+widget)=0
\begin{DoxyCompactList}\small\item\em Initialize the Options Widget. \end{DoxyCompactList}\item 
virtual void \hyperlink{a06916_ac9847526732a7a6582edc037236c4c48}{apply\+Options} ()=0
\begin{DoxyCompactList}\small\item\em Apply changes to options. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Options Dialog interface. 

\hyperlink{optionsInterfacePage}{Detailed description} ~\newline
 This interface can be used to by plugins to add their own widget to Open\+Flippers Options Dialog. 

Definition at line 58 of file Options\+Interface.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a06916_ac9847526732a7a6582edc037236c4c48}\label{a06916_ac9847526732a7a6582edc037236c4c48}} 
\index{Options\+Interface@{Options\+Interface}!apply\+Options@{apply\+Options}}
\index{apply\+Options@{apply\+Options}!Options\+Interface@{Options\+Interface}}
\subsubsection{\texorpdfstring{apply\+Options()}{applyOptions()}}
{\footnotesize\ttfamily virtual void Options\+Interface\+::apply\+Options (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



Apply changes to options. 

Called, when the user hits the apply/ok button in the options window of Openflipper.~\newline
 use this slot to save the values of options currently entered in your options widget. \mbox{\Hypertarget{a06916_a2c3792590a9eecb6a76e6cba5de731a6}\label{a06916_a2c3792590a9eecb6a76e6cba5de731a6}} 
\index{Options\+Interface@{Options\+Interface}!initialize\+Options\+Widget@{initialize\+Options\+Widget}}
\index{initialize\+Options\+Widget@{initialize\+Options\+Widget}!Options\+Interface@{Options\+Interface}}
\subsubsection{\texorpdfstring{initialize\+Options\+Widget()}{initializeOptionsWidget()}}
{\footnotesize\ttfamily virtual bool Options\+Interface\+::initialize\+Options\+Widget (\begin{DoxyParamCaption}\item[{Q\+Widget $\ast$\&}]{\+\_\+widget }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



Initialize the Options Widget. 

Initialize the options widget (create a widget and return a pointer to it ) ~\newline
~\newline
 Example \+: ~\newline
 \+\_\+widget = new Q\+Widget(); ~\newline
~\newline
In the widget you can add anything you want.~\newline
~\newline
 use the slot \hyperlink{a06916_ac9847526732a7a6582edc037236c4c48}{apply\+Options()} to save the values of options currently entered in your widget. ~\newline

\begin{DoxyParams}{Parameters}
{\em \+\_\+widget} & Pointer to the new Widget \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Return true if a widget has been created 
\end{DoxyReturn}


Implemented in \hyperlink{a11220_a169c657c3abcf2c6eb6bef5e634e3e96}{Mesh\+Object\+Selection\+Plugin}, \hyperlink{a10064_a252a00f42aeabd4e2370c1510a090134}{Color\+Plugin}, \hyperlink{a11760_a33f7e4c68bcb037a2b5fd3989fba15cd}{Type\+Polyhedral\+Mesh\+Plugin}, and \hyperlink{a10568_aace991e00f0fd083cea21ac6f0fb603e}{Ruler\+Plugin}.



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