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


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

Inheritance diagram for V\+S\+I\+:\+:Button\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a00382}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00382_a99af4da4b0ed96a77c1a5de903cdfe77}{void \hyperlink{a00382_a99af4da4b0ed96a77c1a5de903cdfe77}{pressed} ()}\label{a00382_a99af4da4b0ed96a77c1a5de903cdfe77}

\begin{DoxyCompactList}\small\item\em emmited if the button gets pressed \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00382_acc6c238e5fa3e13e20eb0e1e59235422}{\hyperlink{a00382_acc6c238e5fa3e13e20eb0e1e59235422}{Button} (Q\+Graphics\+Item $\ast$\+\_\+parent=0)}\label{a00382_acc6c238e5fa3e13e20eb0e1e59235422}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hypertarget{a00382_a622b8ce11d82903fc53d0225e70abcd9}{\hyperlink{a00382_a622b8ce11d82903fc53d0225e70abcd9}{Button} (const Q\+String \&\+\_\+text, Q\+Graphics\+Item $\ast$\+\_\+parent=0)}\label{a00382_a622b8ce11d82903fc53d0225e70abcd9}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hypertarget{a00382_abf5c3cb10880538c63d685a7325d4032}{\hyperlink{a00382_abf5c3cb10880538c63d685a7325d4032}{$\sim$\+Button} ()}\label{a00382_abf5c3cb10880538c63d685a7325d4032}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\hypertarget{a00382_a0f28fdf56be66d1c70f6fb370e4bae76}{Q\+Rect\+F \hyperlink{a00382_a0f28fdf56be66d1c70f6fb370e4bae76}{bounding\+Rect} () const }\label{a00382_a0f28fdf56be66d1c70f6fb370e4bae76}

\begin{DoxyCompactList}\small\item\em Bounding rectangle. \end{DoxyCompactList}\item 
\hypertarget{a00382_a760789bdc05dda8045d996d639e3283a}{void \hyperlink{a00382_a760789bdc05dda8045d996d639e3283a}{set\+Geometry} (const Q\+Rect\+F \&\+\_\+rect)}\label{a00382_a760789bdc05dda8045d996d639e3283a}

\begin{DoxyCompactList}\small\item\em Sets the geometry. \end{DoxyCompactList}\item 
\hypertarget{a00382_a69f74cb599b48b7c4d55b6f2a7881142}{void \hyperlink{a00382_a69f74cb599b48b7c4d55b6f2a7881142}{paint} (Q\+Painter $\ast$\+\_\+painter, const Q\+Style\+Option\+Graphics\+Item $\ast$\+\_\+option, Q\+Widget $\ast$\+\_\+widget=0)}\label{a00382_a69f74cb599b48b7c4d55b6f2a7881142}

\begin{DoxyCompactList}\small\item\em \hyperlink{a00382}{Button} glow painting. \end{DoxyCompactList}\item 
\hypertarget{a00382_aea4229dc53942cecf9eb408109590dea}{void \hyperlink{a00382_aea4229dc53942cecf9eb408109590dea}{set\+Background\+Brush} (Q\+Brush \+\_\+brush)}\label{a00382_aea4229dc53942cecf9eb408109590dea}

\begin{DoxyCompactList}\small\item\em Sets the background brush. \end{DoxyCompactList}\item 
\hypertarget{a00382_a8643b0815c0004637fc7a3deebeaf880}{void \hyperlink{a00382_a8643b0815c0004637fc7a3deebeaf880}{set\+Background\+Pen} (Q\+Pen \+\_\+pen)}\label{a00382_a8643b0815c0004637fc7a3deebeaf880}

\begin{DoxyCompactList}\small\item\em Sets the background pen. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00382_a91d6ab000910faa32b88510aa3b968b5}{virtual void {\bfseries hover\+Enter\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event)}\label{a00382_a91d6ab000910faa32b88510aa3b968b5}

\item 
\hypertarget{a00382_aff9b6dc2d3e74923b288c04b5e81b192}{virtual void {\bfseries hover\+Leave\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event)}\label{a00382_aff9b6dc2d3e74923b288c04b5e81b192}

\item 
\hypertarget{a00382_a1b8a7dbfe197c51b0ca0278e28fa3677}{virtual void {\bfseries mouse\+Press\+Event} (Q\+Graphics\+Scene\+Mouse\+Event $\ast$\+\_\+event)}\label{a00382_a1b8a7dbfe197c51b0ca0278e28fa3677}

\item 
\hypertarget{a00382_ac36f422a0557f687d3b0c8c288d3f8b6}{virtual void {\bfseries mouse\+Release\+Event} (Q\+Graphics\+Scene\+Mouse\+Event $\ast$\+\_\+event)}\label{a00382_ac36f422a0557f687d3b0c8c288d3f8b6}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00382_a3f9ca2e686d80f8aa4e389d6cb5f4dc1}{Q\+Brush {\bfseries background\+Brush\+\_\+}}\label{a00382_a3f9ca2e686d80f8aa4e389d6cb5f4dc1}

\item 
\hypertarget{a00382_affef56ce01d5d2a119e8f48d5c7a93fd}{Q\+Pen {\bfseries background\+Pen\+\_\+}}\label{a00382_affef56ce01d5d2a119e8f48d5c7a93fd}

\item 
\hypertarget{a00382_a1baf26e7f1cba7641da569614eac500a}{bool {\bfseries glow\+\_\+}}\label{a00382_a1baf26e7f1cba7641da569614eac500a}

\end{DoxyCompactItemize}


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

Definition at line 73 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}
