\hypertarget{a07704}{}\section{A\+CG\+:\+:Qt\+Widgets\+:\+:Scene\+Graph\+Widget\+Generator Class Reference}
\label{a07704}\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator@{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator}}
Inheritance diagram for A\+CG\+:\+:Qt\+Widgets\+:\+:Scene\+Graph\+Widget\+Generator\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a07704}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Q\+Widget $\ast$ \hyperlink{a07704_a2e02a7e5a917f35f80ac96dd6b702808}{get\+Widget} (\hyperlink{a07748}{Scene\+Graph\+::\+Base\+Node} $\ast$\+\_\+node)
\begin{DoxyCompactList}\small\item\em Get a widget for this Node. \end{DoxyCompactList}\item 
virtual bool \hyperlink{a07704_accd5ef4c3c6babf5a4a804385437c745}{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{a07704_a23a897e1d755b26d63caa7e5f4786381}{handles} ()
\begin{DoxyCompactList}\small\item\em return the type this generator handles \end{DoxyCompactList}\item 
virtual Q\+String \hyperlink{a07704_aea25bba8b98ab1790a3ea4afc16df522}{context\+Menu\+Name} ()
\begin{DoxyCompactList}\small\item\em Return a name for your widget in the context menu. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07704_a527dea7389c6dc62edeb6b711729e2d4}\label{a07704_a527dea7389c6dc62edeb6b711729e2d4}} 
Q\+Map$<$ \hyperlink{a07748}{Scene\+Graph\+::\+Base\+Node} $\ast$, Q\+Widget $\ast$$>$ {\bfseries widget\+Map\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 81 of file Qt\+Scene\+Graph\+Widget.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a07704_accd5ef4c3c6babf5a4a804385437c745}\label{a07704_accd5ef4c3c6babf5a4a804385437c745}} 
\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator@{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator}!can\+Handle@{can\+Handle}}
\index{can\+Handle@{can\+Handle}!A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator@{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator}}
\subsubsection{\texorpdfstring{can\+Handle()}{canHandle()}}
{\footnotesize\ttfamily bool A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator\+::can\+Handle (\begin{DoxyParamCaption}\item[{std\+::string}]{\+\_\+class\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



returns if the widgets can handle the given class 

This function has to check if the given classname is supported 

Reimplemented in \hyperlink{a11328_a83df965ec8fb629987ac959fec6809e8}{Light\+Widget\+Generator}.



Definition at line 91 of file Qt\+Scene\+Graph\+Widget.\+cc.

\mbox{\Hypertarget{a07704_aea25bba8b98ab1790a3ea4afc16df522}\label{a07704_aea25bba8b98ab1790a3ea4afc16df522}} 
\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator@{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator}!context\+Menu\+Name@{context\+Menu\+Name}}
\index{context\+Menu\+Name@{context\+Menu\+Name}!A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator@{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator}}
\subsubsection{\texorpdfstring{context\+Menu\+Name()}{contextMenuName()}}
{\footnotesize\ttfamily Q\+String A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator\+::context\+Menu\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Return a name for your widget in the context menu. 

This name will be the same for all passed in nodes 

Reimplemented in \hyperlink{a11328_a470de3dc953e199d9d7f78b860c8334c}{Light\+Widget\+Generator}.



Definition at line 103 of file Qt\+Scene\+Graph\+Widget.\+cc.

\mbox{\Hypertarget{a07704_a2e02a7e5a917f35f80ac96dd6b702808}\label{a07704_a2e02a7e5a917f35f80ac96dd6b702808}} 
\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator@{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator}!get\+Widget@{get\+Widget}}
\index{get\+Widget@{get\+Widget}!A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator@{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator}}
\subsubsection{\texorpdfstring{get\+Widget()}{getWidget()}}
{\footnotesize\ttfamily Q\+Widget $\ast$ A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator\+::get\+Widget (\begin{DoxyParamCaption}\item[{\hyperlink{a07748}{Scene\+Graph\+::\+Base\+Node} $\ast$}]{\+\_\+node }\end{DoxyParamCaption})\hspace{0.3cm}{\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 in \hyperlink{a11328_ac87bf34befa7fa8bc146e17ad96a884c}{Light\+Widget\+Generator}.



Definition at line 85 of file Qt\+Scene\+Graph\+Widget.\+cc.

\mbox{\Hypertarget{a07704_a23a897e1d755b26d63caa7e5f4786381}\label{a07704_a23a897e1d755b26d63caa7e5f4786381}} 
\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator@{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator}!handles@{handles}}
\index{handles@{handles}!A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator@{A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator}}
\subsubsection{\texorpdfstring{handles()}{handles()}}
{\footnotesize\ttfamily std\+::string A\+C\+G\+::\+Qt\+Widgets\+::\+Scene\+Graph\+Widget\+Generator\+::handles (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



return the type this generator handles 

return the classname of the node this generator can handle 

Reimplemented in \hyperlink{a11328_a550286bbee746f6fc4a8f8a5a8d6b4a6}{Light\+Widget\+Generator}.



Definition at line 97 of file Qt\+Scene\+Graph\+Widget.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Qt\+Widgets/Qt\+Scene\+Graph\+Widget.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Qt\+Widgets/Qt\+Scene\+Graph\+Widget.\+cc\end{DoxyCompactItemize}
