\hypertarget{a10760}{}\section{V\+SI\+:\+:Button Class Reference}
\label{a10760}\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]{a10760}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10760_a99af4da4b0ed96a77c1a5de903cdfe77}\label{a10760_a99af4da4b0ed96a77c1a5de903cdfe77}} 
void \hyperlink{a10760_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{a10760_acc6c238e5fa3e13e20eb0e1e59235422}\label{a10760_acc6c238e5fa3e13e20eb0e1e59235422}} 
\hyperlink{a10760_acc6c238e5fa3e13e20eb0e1e59235422}{Button} (Q\+Graphics\+Item $\ast$\+\_\+parent=0)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10760_a622b8ce11d82903fc53d0225e70abcd9}\label{a10760_a622b8ce11d82903fc53d0225e70abcd9}} 
\hyperlink{a10760_a622b8ce11d82903fc53d0225e70abcd9}{Button} (const Q\+String \&\+\_\+text, Q\+Graphics\+Item $\ast$\+\_\+parent=0)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10760_abf5c3cb10880538c63d685a7325d4032}\label{a10760_abf5c3cb10880538c63d685a7325d4032}} 
\hyperlink{a10760_abf5c3cb10880538c63d685a7325d4032}{$\sim$\+Button} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10760_ad3c759616bd4fa6b7803e6ac2019b209}\label{a10760_ad3c759616bd4fa6b7803e6ac2019b209}} 
Q\+RectF \hyperlink{a10760_ad3c759616bd4fa6b7803e6ac2019b209}{bounding\+Rect} () const
\begin{DoxyCompactList}\small\item\em Bounding rectangle. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10760_a760789bdc05dda8045d996d639e3283a}\label{a10760_a760789bdc05dda8045d996d639e3283a}} 
void \hyperlink{a10760_a760789bdc05dda8045d996d639e3283a}{set\+Geometry} (const Q\+RectF \&\+\_\+rect)
\begin{DoxyCompactList}\small\item\em Sets the geometry. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10760_a69f74cb599b48b7c4d55b6f2a7881142}\label{a10760_a69f74cb599b48b7c4d55b6f2a7881142}} 
void \hyperlink{a10760_a69f74cb599b48b7c4d55b6f2a7881142}{paint} (Q\+Painter $\ast$\+\_\+painter, const Q\+Style\+Option\+Graphics\+Item $\ast$\+\_\+option, Q\+Widget $\ast$\+\_\+widget=0)
\begin{DoxyCompactList}\small\item\em \hyperlink{a10760}{Button} glow painting. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10760_aea4229dc53942cecf9eb408109590dea}\label{a10760_aea4229dc53942cecf9eb408109590dea}} 
void \hyperlink{a10760_aea4229dc53942cecf9eb408109590dea}{set\+Background\+Brush} (Q\+Brush \+\_\+brush)
\begin{DoxyCompactList}\small\item\em Sets the background brush. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10760_a8643b0815c0004637fc7a3deebeaf880}\label{a10760_a8643b0815c0004637fc7a3deebeaf880}} 
void \hyperlink{a10760_a8643b0815c0004637fc7a3deebeaf880}{set\+Background\+Pen} (Q\+Pen \+\_\+pen)
\begin{DoxyCompactList}\small\item\em Sets the background pen. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10760_a91d6ab000910faa32b88510aa3b968b5}\label{a10760_a91d6ab000910faa32b88510aa3b968b5}} 
virtual void {\bfseries hover\+Enter\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a10760_aff9b6dc2d3e74923b288c04b5e81b192}\label{a10760_aff9b6dc2d3e74923b288c04b5e81b192}} 
virtual void {\bfseries hover\+Leave\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a10760_a1b8a7dbfe197c51b0ca0278e28fa3677}\label{a10760_a1b8a7dbfe197c51b0ca0278e28fa3677}} 
virtual void {\bfseries mouse\+Press\+Event} (Q\+Graphics\+Scene\+Mouse\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a10760_ac36f422a0557f687d3b0c8c288d3f8b6}\label{a10760_ac36f422a0557f687d3b0c8c288d3f8b6}} 
virtual void {\bfseries mouse\+Release\+Event} (Q\+Graphics\+Scene\+Mouse\+Event $\ast$\+\_\+event)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10760_a3f9ca2e686d80f8aa4e389d6cb5f4dc1}\label{a10760_a3f9ca2e686d80f8aa4e389d6cb5f4dc1}} 
Q\+Brush {\bfseries background\+Brush\+\_\+}
\item 
\mbox{\Hypertarget{a10760_affef56ce01d5d2a119e8f48d5c7a93fd}\label{a10760_affef56ce01d5d2a119e8f48d5c7a93fd}} 
Q\+Pen {\bfseries background\+Pen\+\_\+}
\item 
\mbox{\Hypertarget{a10760_a1baf26e7f1cba7641da569614eac500a}\label{a10760_a1baf26e7f1cba7641da569614eac500a}} 
bool {\bfseries glow\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Widgets that represents a clickable button based on \hyperlink{a10812}{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}
