\hypertarget{a00943}{\section{Options\+Interface Class Reference}
\label{a00943}\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]{a00943}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00943_a713235fe3f494de75f7df609a24665b4}{virtual \hyperlink{a00943_a713235fe3f494de75f7df609a24665b4}{$\sim$\+Options\+Interface} ()}\label{a00943_a713235fe3f494de75f7df609a24665b4}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual bool \hyperlink{a00943_a2c3792590a9eecb6a76e6cba5de731a6}{initialize\+Options\+Widget} (Q\+Widget $\ast$\&\+\_\+widget)=0
\begin{DoxyCompactList}\small\item\em Initialize the Options Widget. \end{DoxyCompactList}\item 
virtual void \hyperlink{a00943_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 74 of file Options\+Interface.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00943_ac9847526732a7a6582edc037236c4c48}{\index{Options\+Interface@{Options\+Interface}!apply\+Options@{apply\+Options}}
\index{apply\+Options@{apply\+Options}!Options\+Interface@{Options\+Interface}}
\subsubsection[{apply\+Options}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Options\+Interface\+::apply\+Options (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{a00943_ac9847526732a7a6582edc037236c4c48}


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. \hypertarget{a00943_a2c3792590a9eecb6a76e6cba5de731a6}{\index{Options\+Interface@{Options\+Interface}!initialize\+Options\+Widget@{initialize\+Options\+Widget}}
\index{initialize\+Options\+Widget@{initialize\+Options\+Widget}!Options\+Interface@{Options\+Interface}}
\subsubsection[{initialize\+Options\+Widget}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool Options\+Interface\+::initialize\+Options\+Widget (
\begin{DoxyParamCaption}
\item[{Q\+Widget $\ast$\&}]{\+\_\+widget}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{a00943_a2c3792590a9eecb6a76e6cba5de731a6}


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{a00943_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{a00832_a169c657c3abcf2c6eb6bef5e634e3e96}{Mesh\+Object\+Selection\+Plugin}, \hyperlink{a00428_a252a00f42aeabd4e2370c1510a090134}{Color\+Plugin}, \hyperlink{a01363_a33f7e4c68bcb037a2b5fd3989fba15cd}{Type\+Polyhedral\+Mesh\+Plugin}, and \hyperlink{a01129_aace991e00f0fd083cea21ac6f0fb603e}{Ruler\+Plugin}.



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