\hypertarget{classVSI_1_1Button}{}\section{V\+SI\+:\+:Button Class Reference}
\label{classVSI_1_1Button}\index{V\+S\+I\+::\+Button@{V\+S\+I\+::\+Button}}


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

Inheritance diagram for V\+SI\+:\+:Button\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classVSI_1_1Button}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1Button_a99af4da4b0ed96a77c1a5de903cdfe77}\label{classVSI_1_1Button_a99af4da4b0ed96a77c1a5de903cdfe77}} 
void \hyperlink{classVSI_1_1Button_a99af4da4b0ed96a77c1a5de903cdfe77}{pressed} ()
\begin{DoxyCompactList}\small\item\em emmited if the button gets pressed \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1Button_acc6c238e5fa3e13e20eb0e1e59235422}\label{classVSI_1_1Button_acc6c238e5fa3e13e20eb0e1e59235422}} 
\hyperlink{classVSI_1_1Button_acc6c238e5fa3e13e20eb0e1e59235422}{Button} (Q\+Graphics\+Item $\ast$\+\_\+parent=0)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Button_a622b8ce11d82903fc53d0225e70abcd9}\label{classVSI_1_1Button_a622b8ce11d82903fc53d0225e70abcd9}} 
\hyperlink{classVSI_1_1Button_a622b8ce11d82903fc53d0225e70abcd9}{Button} (const Q\+String \&\+\_\+text, Q\+Graphics\+Item $\ast$\+\_\+parent=0)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Button_abf5c3cb10880538c63d685a7325d4032}\label{classVSI_1_1Button_abf5c3cb10880538c63d685a7325d4032}} 
\hyperlink{classVSI_1_1Button_abf5c3cb10880538c63d685a7325d4032}{$\sim$\+Button} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Button_a1339a9267d5e191dd494346633bc218d}\label{classVSI_1_1Button_a1339a9267d5e191dd494346633bc218d}} 
Q\+RectF \hyperlink{classVSI_1_1Button_a1339a9267d5e191dd494346633bc218d}{bounding\+Rect} () const override
\begin{DoxyCompactList}\small\item\em Bounding rectangle. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Button_a1ab65283086784eae1ba8a31cd1507e1}\label{classVSI_1_1Button_a1ab65283086784eae1ba8a31cd1507e1}} 
void \hyperlink{classVSI_1_1Button_a1ab65283086784eae1ba8a31cd1507e1}{set\+Geometry} (const Q\+RectF \&\+\_\+rect) override
\begin{DoxyCompactList}\small\item\em Sets the geometry. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Button_a9c2aa79c919cb647c95224c4fa38b396}\label{classVSI_1_1Button_a9c2aa79c919cb647c95224c4fa38b396}} 
void \hyperlink{classVSI_1_1Button_a9c2aa79c919cb647c95224c4fa38b396}{paint} (Q\+Painter $\ast$\+\_\+painter, const Q\+Style\+Option\+Graphics\+Item $\ast$\+\_\+option, Q\+Widget $\ast$\+\_\+widget=0) override
\begin{DoxyCompactList}\small\item\em \hyperlink{classVSI_1_1Button}{Button} glow painting. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Button_ae89294a257c8c12a3e53fa5e4394847d}\label{classVSI_1_1Button_ae89294a257c8c12a3e53fa5e4394847d}} 
void \hyperlink{classVSI_1_1Button_ae89294a257c8c12a3e53fa5e4394847d}{set\+Background\+Brush} (Q\+Brush \+\_\+brush) override
\begin{DoxyCompactList}\small\item\em Sets the background brush. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Button_a89d3f2f3ae4c8fdc206f241a064c100f}\label{classVSI_1_1Button_a89d3f2f3ae4c8fdc206f241a064c100f}} 
void \hyperlink{classVSI_1_1Button_a89d3f2f3ae4c8fdc206f241a064c100f}{set\+Background\+Pen} (Q\+Pen \+\_\+pen) override
\begin{DoxyCompactList}\small\item\em Sets the background pen. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1Button_abde5980adfdafc0c24423bea13e612b3}\label{classVSI_1_1Button_abde5980adfdafc0c24423bea13e612b3}} 
virtual void {\bfseries hover\+Enter\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event) override
\item 
\mbox{\Hypertarget{classVSI_1_1Button_a424a1c0be80b041ccb676fc5ef941dc8}\label{classVSI_1_1Button_a424a1c0be80b041ccb676fc5ef941dc8}} 
virtual void {\bfseries hover\+Leave\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event) override
\item 
\mbox{\Hypertarget{classVSI_1_1Button_a708393f6be0da16d4723d898abd58f3f}\label{classVSI_1_1Button_a708393f6be0da16d4723d898abd58f3f}} 
virtual void {\bfseries mouse\+Press\+Event} (Q\+Graphics\+Scene\+Mouse\+Event $\ast$\+\_\+event) override
\item 
\mbox{\Hypertarget{classVSI_1_1Button_a5a9d8b97f08e4a72b0aa9db9570b82ca}\label{classVSI_1_1Button_a5a9d8b97f08e4a72b0aa9db9570b82ca}} 
virtual void {\bfseries mouse\+Release\+Event} (Q\+Graphics\+Scene\+Mouse\+Event $\ast$\+\_\+event) override
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1Button_a3f9ca2e686d80f8aa4e389d6cb5f4dc1}\label{classVSI_1_1Button_a3f9ca2e686d80f8aa4e389d6cb5f4dc1}} 
Q\+Brush {\bfseries background\+Brush\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1Button_affef56ce01d5d2a119e8f48d5c7a93fd}\label{classVSI_1_1Button_affef56ce01d5d2a119e8f48d5c7a93fd}} 
Q\+Pen {\bfseries background\+Pen\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1Button_a1baf26e7f1cba7641da569614eac500a}\label{classVSI_1_1Button_a1baf26e7f1cba7641da569614eac500a}} 
bool {\bfseries glow\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Widgets that represents a clickable button based on \hyperlink{classVSI_1_1Text}{V\+S\+I\+::\+Text} 

Definition at line 67 of file button.\+hh.



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