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


Scene zoom in/out widget.  




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

Inheritance diagram for V\+SI\+:\+:Zoom\+Button\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a10828}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10828_ab95e18aa3c0bed9893ffdadb3428c910}\label{a10828_ab95e18aa3c0bed9893ffdadb3428c910}} 
enum \hyperlink{a10828_ab95e18aa3c0bed9893ffdadb3428c910}{Type} \{ {\bfseries In}, 
{\bfseries Out}
 \}\begin{DoxyCompactList}\small\item\em Zoom type. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10828_a9ee0e6b13df2acd79bf5ccddfb1b9398}\label{a10828_a9ee0e6b13df2acd79bf5ccddfb1b9398}} 
\hyperlink{a10828_a9ee0e6b13df2acd79bf5ccddfb1b9398}{Zoom\+Button} (\hyperlink{a10796}{Graphics\+Scene} $\ast$\+\_\+scene, Q\+Graphics\+Item $\ast$\+\_\+parent, \hyperlink{a10828_ab95e18aa3c0bed9893ffdadb3428c910}{Type} \+\_\+type)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10828_a166abd8ed99fe467ea0133270b34bbd9}\label{a10828_a166abd8ed99fe467ea0133270b34bbd9}} 
\hyperlink{a10828_a166abd8ed99fe467ea0133270b34bbd9}{$\sim$\+Zoom\+Button} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10828_a5141a551f90ec54e39c3a327ebea7e28}\label{a10828_a5141a551f90ec54e39c3a327ebea7e28}} 
void \hyperlink{a10828_a5141a551f90ec54e39c3a327ebea7e28}{activate} (Q\+PointF \+\_\+pos)
\begin{DoxyCompactList}\small\item\em Activates the timer for zoom with center at \+\_\+pos (will be called if an element is moved above) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10828_a16e9795393a5d42ecf1fc54d7e035c49}\label{a10828_a16e9795393a5d42ecf1fc54d7e035c49}} 
void \hyperlink{a10828_a16e9795393a5d42ecf1fc54d7e035c49}{deactivate} ()
\begin{DoxyCompactList}\small\item\em Stop the timer. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10828_ac352dc7f6eee08d561829a474c75ecb8}\label{a10828_ac352dc7f6eee08d561829a474c75ecb8}} 
virtual void \hyperlink{a10828_ac352dc7f6eee08d561829a474c75ecb8}{set\+Geometry} (const Q\+RectF \&\+\_\+rect)
\begin{DoxyCompactList}\small\item\em Sets the geometry. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10828_ac6a3fc8f5df20988897c6c52a96be24f}\label{a10828_ac6a3fc8f5df20988897c6c52a96be24f}} 
virtual void {\bfseries hover\+Enter\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a10828_a1430187c2782940ef448ead87022a8cb}\label{a10828_a1430187c2782940ef448ead87022a8cb}} 
virtual void {\bfseries hover\+Leave\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a10828_a58044102243f31b265122184c79aeae8}\label{a10828_a58044102243f31b265122184c79aeae8}} 
virtual void {\bfseries mouse\+Press\+Event} (Q\+Graphics\+Scene\+Mouse\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a10828_a1d46deb1663ebf3ea1cf19eab5192b6f}\label{a10828_a1d46deb1663ebf3ea1cf19eab5192b6f}} 
virtual void {\bfseries mouse\+Release\+Event} (Q\+Graphics\+Scene\+Mouse\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a10828_aa23711e40b61047252ae8e1d1cf08c39}\label{a10828_aa23711e40b61047252ae8e1d1cf08c39}} 
virtual void {\bfseries wheel\+Event} (Q\+Graphics\+Scene\+Wheel\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a10828_a666993330e1629dcf8a7618f0dc1a597}\label{a10828_a666993330e1629dcf8a7618f0dc1a597}} 
virtual Q\+SizeF {\bfseries size\+Hint} (Qt\+::\+Size\+Hint \+\_\+which, const Q\+SizeF \&\+\_\+constraint=Q\+SizeF()) const
\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10828_a3d9e797c51a9a772b5ea78055729a79d}\label{a10828_a3d9e797c51a9a772b5ea78055729a79d}} 
void {\bfseries timeout} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10828_a8925d02b28bfb5e336750472be443976}\label{a10828_a8925d02b28bfb5e336750472be443976}} 
\hyperlink{a10796}{Graphics\+Scene} $\ast$ {\bfseries scene\+\_\+}
\item 
\mbox{\Hypertarget{a10828_ab07ea4f5aebf84edb05593512d3af628}\label{a10828_ab07ea4f5aebf84edb05593512d3af628}} 
\hyperlink{a10828_ab95e18aa3c0bed9893ffdadb3428c910}{Type} {\bfseries type\+\_\+}
\item 
\mbox{\Hypertarget{a10828_adaab36f378c5f2cd58c421ea5af6d9fa}\label{a10828_adaab36f378c5f2cd58c421ea5af6d9fa}} 
Q\+Timer {\bfseries timer\+\_\+}
\item 
\mbox{\Hypertarget{a10828_a66a0f01e32c58689724eae0b5d7571b8}\label{a10828_a66a0f01e32c58689724eae0b5d7571b8}} 
Q\+PointF {\bfseries pos\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Scene zoom in/out widget. 

Definition at line 60 of file zoom\+Button.\+hh.



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