\hypertarget{classLightWidgetGenerator}{}\section{Light\+Widget\+Generator Class Reference}
\label{classLightWidgetGenerator}\index{Light\+Widget\+Generator@{Light\+Widget\+Generator}}
Inheritance diagram for Light\+Widget\+Generator\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classLightWidgetGenerator}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Q\+Widget $\ast$ \hyperlink{classLightWidgetGenerator_ac87bf34befa7fa8bc146e17ad96a884c}{get\+Widget} (\hyperlink{classACG_1_1SceneGraph_1_1BaseNode}{A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node} $\ast$\+\_\+node)
\begin{DoxyCompactList}\small\item\em Get a widget for this Node. \end{DoxyCompactList}\item 
virtual bool \hyperlink{classLightWidgetGenerator_a83df965ec8fb629987ac959fec6809e8}{can\+Handle} (std\+::string \+\_\+class\+Name)
\begin{DoxyCompactList}\small\item\em returns if the widgets can handle the given class \end{DoxyCompactList}\item 
virtual std\+::string \hyperlink{classLightWidgetGenerator_a550286bbee746f6fc4a8f8a5a8d6b4a6}{handles} ()
\begin{DoxyCompactList}\small\item\em return the type this generator handles \end{DoxyCompactList}\item 
virtual Q\+String \hyperlink{classLightWidgetGenerator_a470de3dc953e199d9d7f78b860c8334c}{context\+Menu\+Name} ()
\begin{DoxyCompactList}\small\item\em Return a name for your widget in the context menu. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 69 of file Light\+Object.\+cc.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classLightWidgetGenerator_a83df965ec8fb629987ac959fec6809e8}\label{classLightWidgetGenerator_a83df965ec8fb629987ac959fec6809e8}} 
\index{Light\+Widget\+Generator@{Light\+Widget\+Generator}!can\+Handle@{can\+Handle}}
\index{can\+Handle@{can\+Handle}!Light\+Widget\+Generator@{Light\+Widget\+Generator}}
\subsubsection{\texorpdfstring{can\+Handle()}{canHandle()}}
{\footnotesize\ttfamily virtual bool Light\+Widget\+Generator\+::can\+Handle (\begin{DoxyParamCaption}\item[{std\+::string}]{\+\_\+class\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



returns if the widgets can handle the given class 

This function has to check if the given classname is supported 

Reimplemented from \hyperlink{classACG_1_1QtWidgets_1_1SceneGraphWidgetGenerator_accd5ef4c3c6babf5a4a804385437c745}{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator}.



Definition at line 93 of file Light\+Object.\+cc.

\mbox{\Hypertarget{classLightWidgetGenerator_a470de3dc953e199d9d7f78b860c8334c}\label{classLightWidgetGenerator_a470de3dc953e199d9d7f78b860c8334c}} 
\index{Light\+Widget\+Generator@{Light\+Widget\+Generator}!context\+Menu\+Name@{context\+Menu\+Name}}
\index{context\+Menu\+Name@{context\+Menu\+Name}!Light\+Widget\+Generator@{Light\+Widget\+Generator}}
\subsubsection{\texorpdfstring{context\+Menu\+Name()}{contextMenuName()}}
{\footnotesize\ttfamily virtual Q\+String Light\+Widget\+Generator\+::context\+Menu\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Return a name for your widget in the context menu. 

This name will be the same for all passed in nodes 

Reimplemented from \hyperlink{classACG_1_1QtWidgets_1_1SceneGraphWidgetGenerator_aea25bba8b98ab1790a3ea4afc16df522}{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator}.



Definition at line 101 of file Light\+Object.\+cc.

\mbox{\Hypertarget{classLightWidgetGenerator_ac87bf34befa7fa8bc146e17ad96a884c}\label{classLightWidgetGenerator_ac87bf34befa7fa8bc146e17ad96a884c}} 
\index{Light\+Widget\+Generator@{Light\+Widget\+Generator}!get\+Widget@{get\+Widget}}
\index{get\+Widget@{get\+Widget}!Light\+Widget\+Generator@{Light\+Widget\+Generator}}
\subsubsection{\texorpdfstring{get\+Widget()}{getWidget()}}
{\footnotesize\ttfamily virtual Q\+Widget$\ast$ Light\+Widget\+Generator\+::get\+Widget (\begin{DoxyParamCaption}\item[{\hyperlink{classACG_1_1SceneGraph_1_1BaseNode}{A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node} $\ast$}]{\+\_\+node }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Get a widget for this Node. 

Derive from this class to get a widget for the given node you have to overload this function. First check, if your widget can handle nodes of the given type (check for \+\_\+node-\/$>$class\+Name() ) Then generate your widget and handle the \+\_\+node inside it. Return 0 if you can not handle it and check if the map already contains a widget for this node so that you generate one widget per node. 

Reimplemented from \hyperlink{classACG_1_1QtWidgets_1_1SceneGraphWidgetGenerator_a2e02a7e5a917f35f80ac96dd6b702808}{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator}.



Definition at line 76 of file Light\+Object.\+cc.

\mbox{\Hypertarget{classLightWidgetGenerator_a550286bbee746f6fc4a8f8a5a8d6b4a6}\label{classLightWidgetGenerator_a550286bbee746f6fc4a8f8a5a8d6b4a6}} 
\index{Light\+Widget\+Generator@{Light\+Widget\+Generator}!handles@{handles}}
\index{handles@{handles}!Light\+Widget\+Generator@{Light\+Widget\+Generator}}
\subsubsection{\texorpdfstring{handles()}{handles()}}
{\footnotesize\ttfamily virtual std\+::string Light\+Widget\+Generator\+::handles (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



return the type this generator handles 

return the classname of the node this generator can handle 

Reimplemented from \hyperlink{classACG_1_1QtWidgets_1_1SceneGraphWidgetGenerator_a23a897e1d755b26d63caa7e5f4786381}{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator}.



Definition at line 97 of file Light\+Object.\+cc.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Type-\/\+Light/\+Object\+Types/\+Light/Light\+Object.\+cc\end{DoxyCompactItemize}
