\hypertarget{classVSI_1_1SceneElement}{}\section{V\+SI\+:\+:Scene\+Element Class Reference}
\label{classVSI_1_1SceneElement}\index{V\+S\+I\+::\+Scene\+Element@{V\+S\+I\+::\+Scene\+Element}}


{\ttfamily \#include $<$Plugin-\/\+V\+S\+I/scene/scene\+Element.\+hh$>$}

Inheritance diagram for V\+SI\+:\+:Scene\+Element\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classVSI_1_1SceneElement}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a3480e97c78b8f4a3ec306bee686adb8f}\label{classVSI_1_1SceneElement_a3480e97c78b8f4a3ec306bee686adb8f}} 
\hyperlink{classVSI_1_1SceneElement_a3480e97c78b8f4a3ec306bee686adb8f}{Scene\+Element} (\hyperlink{classVSI_1_1GraphicsScene}{Graphics\+Scene} $\ast$\+\_\+scene, \hyperlink{classVSI_1_1Element}{Element} $\ast$\+\_\+element)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a21d7dfee49f4ad39c7796a193528c1c4}\label{classVSI_1_1SceneElement_a21d7dfee49f4ad39c7796a193528c1c4}} 
\hyperlink{classVSI_1_1SceneElement_a21d7dfee49f4ad39c7796a193528c1c4}{$\sim$\+Scene\+Element} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a498a8efb10d550230608e14f6e24b13d}\label{classVSI_1_1SceneElement_a498a8efb10d550230608e14f6e24b13d}} 
void \hyperlink{classVSI_1_1SceneElement_a498a8efb10d550230608e14f6e24b13d}{paint} (Q\+Painter $\ast$\+\_\+painter, const Q\+Style\+Option\+Graphics\+Item $\ast$\+\_\+option, Q\+Widget $\ast$\+\_\+widget=0)
\begin{DoxyCompactList}\small\item\em Background painting. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_afceeeb36c661b6c262650cd70bf86321}\label{classVSI_1_1SceneElement_afceeeb36c661b6c262650cd70bf86321}} 
\hyperlink{classVSI_1_1Element}{Element} $\ast$ \hyperlink{classVSI_1_1SceneElement_afceeeb36c661b6c262650cd70bf86321}{element} () const
\begin{DoxyCompactList}\small\item\em \hyperlink{classVSI_1_1Context}{Context} \hyperlink{classVSI_1_1Element}{V\+S\+I\+::\+Element}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a5b2b3cf5594cf6c2ebb5fb74eb502029}\label{classVSI_1_1SceneElement_a5b2b3cf5594cf6c2ebb5fb74eb502029}} 
Q\+Vector$<$ \hyperlink{classVSI_1_1ElementInput}{Element\+Input} $\ast$ $>$ \hyperlink{classVSI_1_1SceneElement_a5b2b3cf5594cf6c2ebb5fb74eb502029}{inputs} ()
\begin{DoxyCompactList}\small\item\em Inputs. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a28773c22f460c2dfb7f862c2588fc8d5}\label{classVSI_1_1SceneElement_a28773c22f460c2dfb7f862c2588fc8d5}} 
Q\+Vector$<$ \hyperlink{classVSI_1_1ElementOutput}{Element\+Output} $\ast$ $>$ \hyperlink{classVSI_1_1SceneElement_a28773c22f460c2dfb7f862c2588fc8d5}{outputs} ()
\begin{DoxyCompactList}\small\item\em Outputs. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a2f889be5cd08edecf75d30c94f83dda7}\label{classVSI_1_1SceneElement_a2f889be5cd08edecf75d30c94f83dda7}} 
Q\+Vector$<$ \hyperlink{classVSI_1_1ElementFunction}{Element\+Function} $\ast$ $>$ \hyperlink{classVSI_1_1SceneElement_a2f889be5cd08edecf75d30c94f83dda7}{functions} ()
\begin{DoxyCompactList}\small\item\em Functions. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_aa137b2f5876f5c45b3a90aab55d8ccad}\label{classVSI_1_1SceneElement_aa137b2f5876f5c45b3a90aab55d8ccad}} 
\hyperlink{classVSI_1_1ElementInput}{Element\+Input} $\ast$ \hyperlink{classVSI_1_1SceneElement_aa137b2f5876f5c45b3a90aab55d8ccad}{data\+In} ()
\begin{DoxyCompactList}\small\item\em Scene input. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a25566d784fe7976a238a347ae8de8954}\label{classVSI_1_1SceneElement_a25566d784fe7976a238a347ae8de8954}} 
\hyperlink{classVSI_1_1ElementOutput}{Element\+Output} $\ast$ \hyperlink{classVSI_1_1SceneElement_a25566d784fe7976a238a347ae8de8954}{data\+Out} ()
\begin{DoxyCompactList}\small\item\em Scene output. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_aa5c457c10abe9c43341c48f8ce2eb006}\label{classVSI_1_1SceneElement_aa5c457c10abe9c43341c48f8ce2eb006}} 
void \hyperlink{classVSI_1_1SceneElement_aa5c457c10abe9c43341c48f8ce2eb006}{reset\+Code\+Generation} ()
\begin{DoxyCompactList}\small\item\em Reset code block for code generation. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a067fa879af186ebf08a4fa38c02d5cbf}\label{classVSI_1_1SceneElement_a067fa879af186ebf08a4fa38c02d5cbf}} 
void \hyperlink{classVSI_1_1SceneElement_a067fa879af186ebf08a4fa38c02d5cbf}{replace\+Code\+Block} (Q\+String \+\_\+name, Q\+String \+\_\+id, Q\+String \+\_\+value)
\begin{DoxyCompactList}\small\item\em Replace block with name \+\_\+name and id \+\_\+id with \+\_\+value. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a08c2c08dc2116783ead8a08ae1099424}\label{classVSI_1_1SceneElement_a08c2c08dc2116783ead8a08ae1099424}} 
Q\+String \hyperlink{classVSI_1_1SceneElement_a08c2c08dc2116783ead8a08ae1099424}{variable\+Id} ()
\begin{DoxyCompactList}\small\item\em Unique variable name for code generation. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_ae9c33d02863ccb06e7764125b0ee777c}\label{classVSI_1_1SceneElement_ae9c33d02863ccb06e7764125b0ee777c}} 
int \hyperlink{classVSI_1_1SceneElement_ae9c33d02863ccb06e7764125b0ee777c}{id} ()
\begin{DoxyCompactList}\small\item\em Unique id for identification. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_ac5dcf61d198c72ea997b7a4296ec6be0}\label{classVSI_1_1SceneElement_ac5dcf61d198c72ea997b7a4296ec6be0}} 
Q\+String \hyperlink{classVSI_1_1SceneElement_ac5dcf61d198c72ea997b7a4296ec6be0}{code} ()
\begin{DoxyCompactList}\small\item\em Code block. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_aa01f38f62726f25ea48598340542e06f}\label{classVSI_1_1SceneElement_aa01f38f62726f25ea48598340542e06f}} 
bool \hyperlink{classVSI_1_1SceneElement_aa01f38f62726f25ea48598340542e06f}{is\+Before} (\hyperlink{classVSI_1_1SceneElement}{Scene\+Element} $\ast$\+\_\+e)
\begin{DoxyCompactList}\small\item\em Will this element be executed before \+\_\+e bacause of its connections? \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_ad2dcd0423534ed4b7237765dfceed68a}\label{classVSI_1_1SceneElement_ad2dcd0423534ed4b7237765dfceed68a}} 
bool \hyperlink{classVSI_1_1SceneElement_ad2dcd0423534ed4b7237765dfceed68a}{is\+After} (\hyperlink{classVSI_1_1SceneElement}{Scene\+Element} $\ast$\+\_\+e)
\begin{DoxyCompactList}\small\item\em Will this element be executed after \+\_\+e bacause of its connections? \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a61ea08f93124a7699f7ab560fab8abf9}\label{classVSI_1_1SceneElement_a61ea08f93124a7699f7ab560fab8abf9}} 
void \hyperlink{classVSI_1_1SceneElement_a61ea08f93124a7699f7ab560fab8abf9}{save\+To\+Xml} (Q\+Dom\+Document \&\+\_\+doc, Q\+Dom\+Element \&\+\_\+root)
\begin{DoxyCompactList}\small\item\em Save to xml. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a847e643b14e9999b5664d16a48a738d3}\label{classVSI_1_1SceneElement_a847e643b14e9999b5664d16a48a738d3}} 
void \hyperlink{classVSI_1_1SceneElement_a847e643b14e9999b5664d16a48a738d3}{load\+From\+Xml} (Q\+Xml\+Query \&\+\_\+xml)
\begin{DoxyCompactList}\small\item\em Load from xml. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a51f8aac1ee21a3bc567a4731573532d8}\label{classVSI_1_1SceneElement_a51f8aac1ee21a3bc567a4731573532d8}} 
\hyperlink{classVSI_1_1GraphicsScene}{Graphics\+Scene} $\ast$ \hyperlink{classVSI_1_1SceneElement_a51f8aac1ee21a3bc567a4731573532d8}{graphics\+Scene} ()
\begin{DoxyCompactList}\small\item\em Scene. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a135f9f81c4433848b86685ae20050cea}\label{classVSI_1_1SceneElement_a135f9f81c4433848b86685ae20050cea}} 
void {\bfseries mouse\+Press\+Event} (Q\+Graphics\+Scene\+Mouse\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_afc3206bb04e71c2da9a6eadc66cba08b}\label{classVSI_1_1SceneElement_afc3206bb04e71c2da9a6eadc66cba08b}} 
void {\bfseries mouse\+Move\+Event} (Q\+Graphics\+Scene\+Mouse\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_af7271c48ce57de3dd83bfe975dcd7c3b}\label{classVSI_1_1SceneElement_af7271c48ce57de3dd83bfe975dcd7c3b}} 
void {\bfseries mouse\+Release\+Event} (Q\+Graphics\+Scene\+Mouse\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a462736c2c2bedfda4981dca38e6b48cf}\label{classVSI_1_1SceneElement_a462736c2c2bedfda4981dca38e6b48cf}} 
void \hyperlink{classVSI_1_1SceneElement_a462736c2c2bedfda4981dca38e6b48cf}{mouse\+Double\+Click\+Event} (Q\+Graphics\+Scene\+Mouse\+Event $\ast$\+\_\+event)
\begin{DoxyCompactList}\small\item\em Double click occured. We can\textquotesingle{}t use mouse\+Double\+Click\+Event because we won\textquotesingle{}t get one for the Conecction\+Points. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a3483f0417eabb220f16a076674c91745}\label{classVSI_1_1SceneElement_a3483f0417eabb220f16a076674c91745}} 
void {\bfseries move\+Event} (Q\+Graphics\+Scene\+Move\+Event $\ast$\+\_\+event)
\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_ab27d980afca7dfbb20b21a247166f609}\label{classVSI_1_1SceneElement_ab27d980afca7dfbb20b21a247166f609}} 
void {\bfseries show\+Input\+Config} ()
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_aa4ea6a5d7d233698f02a76ef63bfc44d}\label{classVSI_1_1SceneElement_aa4ea6a5d7d233698f02a76ef63bfc44d}} 
void {\bfseries invalidate\+Connections} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a14df685042147414f9b305071990d6c5}\label{classVSI_1_1SceneElement_a14df685042147414f9b305071990d6c5}} 
\hyperlink{classVSI_1_1GraphicsScene}{Graphics\+Scene} $\ast$ {\bfseries scene\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a30e89c479187d615cffd60ede9123dd5}\label{classVSI_1_1SceneElement_a30e89c479187d615cffd60ede9123dd5}} 
\hyperlink{classVSI_1_1Element}{Element} $\ast$ {\bfseries element\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_aff9843ae1954acfa540e109b03a7fde5}\label{classVSI_1_1SceneElement_aff9843ae1954acfa540e109b03a7fde5}} 
Q\+Vector$<$ \hyperlink{classVSI_1_1ElementInput}{Element\+Input} $\ast$ $>$ {\bfseries inputs\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a8d3e55ece3827db7d2dd0ce1371a55cf}\label{classVSI_1_1SceneElement_a8d3e55ece3827db7d2dd0ce1371a55cf}} 
Q\+Vector$<$ \hyperlink{classVSI_1_1ElementOutput}{Element\+Output} $\ast$ $>$ {\bfseries outputs\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a02417be6a0cd07088fca713bf9b080aa}\label{classVSI_1_1SceneElement_a02417be6a0cd07088fca713bf9b080aa}} 
\hyperlink{classVSI_1_1ElementInput}{Element\+Input} $\ast$ {\bfseries data\+In\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a2b5cc673ac54f28f8ad7468f64555b6e}\label{classVSI_1_1SceneElement_a2b5cc673ac54f28f8ad7468f64555b6e}} 
\hyperlink{classVSI_1_1ElementOutput}{Element\+Output} $\ast$ {\bfseries data\+Out\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a2c4e327c940cce0668e53dab5ddf70ff}\label{classVSI_1_1SceneElement_a2c4e327c940cce0668e53dab5ddf70ff}} 
Q\+Vector$<$ \hyperlink{classVSI_1_1ElementFunction}{Element\+Function} $\ast$ $>$ {\bfseries functions\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_acda0f9fef97641275b7b6c2d7d84fc12}\label{classVSI_1_1SceneElement_acda0f9fef97641275b7b6c2d7d84fc12}} 
Q\+Vector$<$ \hyperlink{classVSI_1_1ElementInput}{Element\+Input} $\ast$ $>$ {\bfseries config\+Inputs\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a49917483fb45394befabdd2cc9910688}\label{classVSI_1_1SceneElement_a49917483fb45394befabdd2cc9910688}} 
Q\+String {\bfseries code\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_afbcc5f26ff94338e44992b46d951dbfd}\label{classVSI_1_1SceneElement_afbcc5f26ff94338e44992b46d951dbfd}} 
int {\bfseries id\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a8e60ddcbe2f248dac1d34f6742748c4f}\label{classVSI_1_1SceneElement_a8e60ddcbe2f248dac1d34f6742748c4f}} 
\hyperlink{classVSI_1_1Text}{Text} $\ast$ {\bfseries name\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_af0ed4a05cf9d4fc085459197cbf6a7a8}\label{classVSI_1_1SceneElement_af0ed4a05cf9d4fc085459197cbf6a7a8}} 
\hyperlink{classVSI_1_1Text}{Text} $\ast$ {\bfseries element\+Name\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1SceneElement_a462a84af6862d7cdf42f134d1e16b3de}\label{classVSI_1_1SceneElement_a462a84af6862d7cdf42f134d1e16b3de}} 
Q\+Graphics\+Linear\+Layout $\ast$ {\bfseries name\+Layout\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Widget that represents an context element in the scene 

Definition at line 73 of file scene\+Element.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin-\/\+V\+S\+I/scene/scene\+Element.\+hh\item 
Plugin-\/\+V\+S\+I/scene/scene\+Element.\+cc\end{DoxyCompactItemize}
