\hypertarget{a07732}{}\section{A\+CG\+:\+:Qt\+Widgets\+:\+:Qt\+Wheel Class Reference}
\label{a07732}\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}}
Inheritance diagram for A\+CG\+:\+:Qt\+Widgets\+:\+:Qt\+Wheel\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a07732}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07732_ad18f6137953ea01297047dadd7abcfdc}\label{a07732_ad18f6137953ea01297047dadd7abcfdc}} 
enum \hyperlink{a07732_ad18f6137953ea01297047dadd7abcfdc}{Orientation} \{ {\bfseries Horizontal}, 
{\bfseries Vertical}
 \}\begin{DoxyCompactList}\small\item\em Orientation of the widget. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a07732_a3e25678c5e10f41c7f73eabb7a0cd9c5}{angle\+Changed\+To} (double \+\_\+angle)
\item 
void \hyperlink{a07732_a9cdfaa46b7f9f1d45c04d271b9f977dc}{angle\+Changed\+By} (double \+\_\+angle)
\item 
void \hyperlink{a07732_a8ff640766a85b3cf3bb63423b2314023}{gear\+Up} ()
\item 
\mbox{\Hypertarget{a07732_a0717523fa0143ac12063f1097ea6b0c0}\label{a07732_a0717523fa0143ac12063f1097ea6b0c0}} 
void \hyperlink{a07732_a0717523fa0143ac12063f1097ea6b0c0}{gear\+Down} ()
\begin{DoxyCompactList}\small\item\em Like \hyperlink{a07732_a8ff640766a85b3cf3bb63423b2314023}{gear\+Up()} but the value of \hyperlink{a07732_a7fd9ada85f22ad398a2b045840333598}{gear()} halves. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_ad0acc49c07f114193a4290963667843e}\label{a07732_ad0acc49c07f114193a4290963667843e}} 
void \hyperlink{a07732_ad0acc49c07f114193a4290963667843e}{hide\+Wheel} ()
\begin{DoxyCompactList}\small\item\em Emitted when the wheel will be hidden by the context menu. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07732_a8323e77676c830c3fc58b1f0db6dc542}\label{a07732_a8323e77676c830c3fc58b1f0db6dc542}} 
\hyperlink{a07732_a8323e77676c830c3fc58b1f0db6dc542}{Qt\+Wheel} (Q\+Widget $\ast$\+\_\+parent=0, const char $\ast$\+\_\+name=0, \hyperlink{a07732_ad18f6137953ea01297047dadd7abcfdc}{Orientation} \+\_\+orientation=Horizontal)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_ac2e57370ccc3098cb474915cf3a91171}\label{a07732_ac2e57370ccc3098cb474915cf3a91171}} 
virtual \hyperlink{a07732_ac2e57370ccc3098cb474915cf3a91171}{$\sim$\+Qt\+Wheel} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_abfc18e31b151f5cc5531764318ce95b8}\label{a07732_abfc18e31b151f5cc5531764318ce95b8}} 
int \hyperlink{a07732_abfc18e31b151f5cc5531764318ce95b8}{ticks} () const
\begin{DoxyCompactList}\small\item\em get number of ticks on the wheel \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_abc96b838870aa580ea5d9822628f4b6f}\label{a07732_abc96b838870aa580ea5d9822628f4b6f}} 
void \hyperlink{a07732_abc96b838870aa580ea5d9822628f4b6f}{set\+Ticks} (int \+\_\+number)
\begin{DoxyCompactList}\small\item\em set {\ttfamily \+\_\+number} of ticks on the wheel (default\+: 36) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a83e39f64b75ac1919c7536c2f8fd2f48}\label{a07732_a83e39f64b75ac1919c7536c2f8fd2f48}} 
double \hyperlink{a07732_a83e39f64b75ac1919c7536c2f8fd2f48}{angle} () const
\begin{DoxyCompactList}\small\item\em get current angle of the wheel (radiants, unbounded, cf. \hyperlink{a07732_a2b82e4df03cea279c119b181573166f1}{clip()}) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a871cb58500ff1fdc54f549d387f9aa1e}\label{a07732_a871cb58500ff1fdc54f549d387f9aa1e}} 
void \hyperlink{a07732_a871cb58500ff1fdc54f549d387f9aa1e}{set\+Angle} (double \+\_\+angle)
\begin{DoxyCompactList}\small\item\em set current angle of the wheel (radiants, unbounded, cf. \hyperlink{a07732_a2b82e4df03cea279c119b181573166f1}{clip()}) \end{DoxyCompactList}\item 
double \hyperlink{a07732_a6cfbf42cd1dfedc8c1fa9f010f63c0a5}{diff\+Angle} () const
\item 
\mbox{\Hypertarget{a07732_a1cae7f41fbd51bb1efa4cc8ae8945742}\label{a07732_a1cae7f41fbd51bb1efa4cc8ae8945742}} 
bool \hyperlink{a07732_a1cae7f41fbd51bb1efa4cc8ae8945742}{marker} () const
\begin{DoxyCompactList}\small\item\em Are there markers on the wheel? \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a070252f98ef0117e3f4ce2337506beb4}\label{a07732_a070252f98ef0117e3f4ce2337506beb4}} 
void \hyperlink{a07732_a070252f98ef0117e3f4ce2337506beb4}{set\+Marker} (bool \+\_\+b)
\begin{DoxyCompactList}\small\item\em enable/disable markers on the wheel \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a933639d4370f26c9d5ed3a609a2b1d27}\label{a07732_a933639d4370f26c9d5ed3a609a2b1d27}} 
\hyperlink{a07732_ad18f6137953ea01297047dadd7abcfdc}{Orientation} \hyperlink{a07732_a933639d4370f26c9d5ed3a609a2b1d27}{orientation} () const
\begin{DoxyCompactList}\small\item\em get orientation \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a4f0b8306f2d98305993d8ef6b4ea6fde}\label{a07732_a4f0b8306f2d98305993d8ef6b4ea6fde}} 
void \hyperlink{a07732_a4f0b8306f2d98305993d8ef6b4ea6fde}{set\+Orientation} (\hyperlink{a07732_ad18f6137953ea01297047dadd7abcfdc}{Orientation} \+\_\+orientation)
\begin{DoxyCompactList}\small\item\em set orientation \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a4875a65f8ef7f54413cf073daefaa484}\label{a07732_a4875a65f8ef7f54413cf073daefaa484}} 
bool \hyperlink{a07732_a4875a65f8ef7f54413cf073daefaa484}{dragging\+Wheel} () const
\begin{DoxyCompactList}\small\item\em Is the user currently dragging the wheel whith the mouse? \end{DoxyCompactList}\item 
void \hyperlink{a07732_aba8d2bd7f76e5df2294faf9beb883c85}{set\+Tracking} (bool \+\_\+b)
\item 
\mbox{\Hypertarget{a07732_a96c38ec747a8e7226d478d835a063adf}\label{a07732_a96c38ec747a8e7226d478d835a063adf}} 
bool \hyperlink{a07732_a96c38ec747a8e7226d478d835a063adf}{tracking} () const
\begin{DoxyCompactList}\small\item\em Is tracking on? \end{DoxyCompactList}\item 
void \hyperlink{a07732_aca950f1841977949aaef4ff3d8639433}{set\+Gear} (double \+\_\+g)
\item 
\mbox{\Hypertarget{a07732_a7fd9ada85f22ad398a2b045840333598}\label{a07732_a7fd9ada85f22ad398a2b045840333598}} 
double \hyperlink{a07732_a7fd9ada85f22ad398a2b045840333598}{gear} () const
\begin{DoxyCompactList}\small\item\em How fast does \hyperlink{a07732_a83e39f64b75ac1919c7536c2f8fd2f48}{angle()} change when the wheel is turned? (see above) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a68e34e31983436e04169fcb86ddc73b1}\label{a07732_a68e34e31983436e04169fcb86ddc73b1}} 
virtual Q\+Size\+Policy \hyperlink{a07732_a68e34e31983436e04169fcb86ddc73b1}{size\+Policy} () const
\begin{DoxyCompactList}\small\item\em reimplemented \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a30760bc7ed1e8239ee147dbae70fe3aa}\label{a07732_a30760bc7ed1e8239ee147dbae70fe3aa}} 
virtual Q\+Size \hyperlink{a07732_a30760bc7ed1e8239ee147dbae70fe3aa}{size\+Hint} () const
\begin{DoxyCompactList}\small\item\em reimplemented \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static double \hyperlink{a07732_a2b82e4df03cea279c119b181573166f1}{clip} (double \+\_\+angle)
\item 
\mbox{\Hypertarget{a07732_ab31cfb99b5898fec57e662b15fdf02fa}\label{a07732_ab31cfb99b5898fec57e662b15fdf02fa}} 
static double \hyperlink{a07732_ab31cfb99b5898fec57e662b15fdf02fa}{deg} (double \+\_\+angle)
\begin{DoxyCompactList}\small\item\em maps {\ttfamily \+\_\+angle} from radiants to degrees (works also for \hyperlink{a07732_a2b82e4df03cea279c119b181573166f1}{clip()}ped angles) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07732_af6cc9a214c783c8208dbe499deba713e}\label{a07732_af6cc9a214c783c8208dbe499deba713e}} 
virtual void \hyperlink{a07732_af6cc9a214c783c8208dbe499deba713e}{mouse\+Press\+Event} (Q\+Mouse\+Event $\ast$)
\begin{DoxyCompactList}\small\item\em reimplemented \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a87af997e958fe31439b167791c724da0}\label{a07732_a87af997e958fe31439b167791c724da0}} 
virtual void \hyperlink{a07732_a87af997e958fe31439b167791c724da0}{mouse\+Release\+Event} (Q\+Mouse\+Event $\ast$)
\begin{DoxyCompactList}\small\item\em reimplemented \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_ae146cb0c622c401fd0e1960f87c8c41b}\label{a07732_ae146cb0c622c401fd0e1960f87c8c41b}} 
virtual void \hyperlink{a07732_ae146cb0c622c401fd0e1960f87c8c41b}{mouse\+Move\+Event} (Q\+Mouse\+Event $\ast$)
\begin{DoxyCompactList}\small\item\em reimplemented \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a145583da5e2eb5d6054f2675fa338af1}\label{a07732_a145583da5e2eb5d6054f2675fa338af1}} 
virtual void \hyperlink{a07732_a145583da5e2eb5d6054f2675fa338af1}{mouse\+Double\+Click\+Event} (Q\+Mouse\+Event $\ast$)
\begin{DoxyCompactList}\small\item\em reimplemented \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_af6a01b0fdb060907596b33246aa3fb13}\label{a07732_af6a01b0fdb060907596b33246aa3fb13}} 
virtual void \hyperlink{a07732_af6a01b0fdb060907596b33246aa3fb13}{key\+Press\+Event} (Q\+Key\+Event $\ast$)
\begin{DoxyCompactList}\small\item\em reimplemented \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_afd4293817c3a81f67a15042a9b0c6c52}\label{a07732_afd4293817c3a81f67a15042a9b0c6c52}} 
virtual void \hyperlink{a07732_afd4293817c3a81f67a15042a9b0c6c52}{key\+Release\+Event} (Q\+Key\+Event $\ast$)
\begin{DoxyCompactList}\small\item\em reimplemented \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a63a62579d7d5253dafebac0229c963ed}\label{a07732_a63a62579d7d5253dafebac0229c963ed}} 
virtual void \hyperlink{a07732_a63a62579d7d5253dafebac0229c963ed}{resize\+Event} (Q\+Resize\+Event $\ast$)
\begin{DoxyCompactList}\small\item\em reimplemented \end{DoxyCompactList}\item 
virtual void \hyperlink{a07732_a2740c1672fdfa5889689d3e2b77ee643}{paint\+Event} (Q\+Paint\+Event $\ast$)
\begin{DoxyCompactList}\small\item\em reimplemented \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a96a8ab164d52d40028c783ead2d8f86d}\label{a07732_a96a8ab164d52d40028c783ead2d8f86d}} 
virtual void \hyperlink{a07732_a96a8ab164d52d40028c783ead2d8f86d}{draw\+Contents} (Q\+Painter $\ast$)
\begin{DoxyCompactList}\small\item\em reimplemented \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a9105a7b9717986987cc78223a27d3900}\label{a07732_a9105a7b9717986987cc78223a27d3900}} 
virtual void \hyperlink{a07732_a9105a7b9717986987cc78223a27d3900}{redraw\+Pixmap} ()
\begin{DoxyCompactList}\small\item\em draw wheel to pixmap (double buffering) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07732_a075707e9da750b68dd66e08bd3b53992}\label{a07732_a075707e9da750b68dd66e08bd3b53992}} 
void {\bfseries slot\+Custom\+Context\+Menu\+Requested} (const Q\+Point \&pos)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07732_ac9a012aaba9c32f661c283fac3c2b953}\label{a07732_ac9a012aaba9c32f661c283fac3c2b953}} 
\hyperlink{a07732_ac9a012aaba9c32f661c283fac3c2b953}{Qt\+Wheel} (const \hyperlink{a07732}{Qt\+Wheel} \&)
\begin{DoxyCompactList}\small\item\em Copy constructor. Never used! \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_adfdd65f10d9ad07c89734bdcdfc853a2}\label{a07732_adfdd65f10d9ad07c89734bdcdfc853a2}} 
\hyperlink{a07732}{Qt\+Wheel} \& \hyperlink{a07732_adfdd65f10d9ad07c89734bdcdfc853a2}{operator=} (const \hyperlink{a07732}{Qt\+Wheel} \&)
\begin{DoxyCompactList}\small\item\em Assignment operator. Never used! \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_ae73b1b33b2c8daf0837c1cac038f912c}\label{a07732_ae73b1b33b2c8daf0837c1cac038f912c}} 
double {\bfseries turn} (const Q\+Point \&\+\_\+pos)
\item 
\mbox{\Hypertarget{a07732_a933a2b50a5972ddb55f332aa9b032e7c}\label{a07732_a933a2b50a5972ddb55f332aa9b032e7c}} 
void \hyperlink{a07732_a933a2b50a5972ddb55f332aa9b032e7c}{update\+Menu} ()
\begin{DoxyCompactList}\small\item\em updates the ticks of the menu \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a02d389b0f97183511067cf09dfbb1dcd}\label{a07732_a02d389b0f97183511067cf09dfbb1dcd}} 
void \hyperlink{a07732_a02d389b0f97183511067cf09dfbb1dcd}{shrink\+Rect} (Q\+Rect \&, int, int)
\begin{DoxyCompactList}\small\item\em expands a rectangle in x/y direction \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07732_a180ea5ba9ea8aa2f25fde80680f20d39}\label{a07732_a180ea5ba9ea8aa2f25fde80680f20d39}} 
double \hyperlink{a07732_a180ea5ba9ea8aa2f25fde80680f20d39}{angle\+\_\+}
\begin{DoxyCompactList}\small\item\em current angle of the wheel \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_adb15deb4dc161f740c1514ae1020c888}\label{a07732_adb15deb4dc161f740c1514ae1020c888}} 
double \hyperlink{a07732_adb15deb4dc161f740c1514ae1020c888}{last\+Angle\+\_\+}
\begin{DoxyCompactList}\small\item\em last angle, depends on tracking\+\_\+ \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a59abb842934a5b032eb947c5f33ebaa7}\label{a07732_a59abb842934a5b032eb947c5f33ebaa7}} 
int \hyperlink{a07732_a59abb842934a5b032eb947c5f33ebaa7}{size\+\_\+}
\begin{DoxyCompactList}\small\item\em size of wheel in pixels \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_adb892670c5cba64e1df9ee070229bd82}\label{a07732_adb892670c5cba64e1df9ee070229bd82}} 
double \hyperlink{a07732_adb892670c5cba64e1df9ee070229bd82}{gear\+\_\+}
\begin{DoxyCompactList}\small\item\em speed of revolution \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a31ab815f176aeb019cae6ae2b33c1d79}\label{a07732_a31ab815f176aeb019cae6ae2b33c1d79}} 
int \hyperlink{a07732_a31ab815f176aeb019cae6ae2b33c1d79}{gear\+Shift\+\_\+}
\begin{DoxyCompactList}\small\item\em click-\/shifted gear by 2$^\wedge$gear\+Shift\+\_\+ \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_af056cc66ea9a52f4040fc5eb7378cf60}\label{a07732_af056cc66ea9a52f4040fc5eb7378cf60}} 
\hyperlink{a07732_ad18f6137953ea01297047dadd7abcfdc}{Orientation} \hyperlink{a07732_af056cc66ea9a52f4040fc5eb7378cf60}{orientation\+\_\+}
\begin{DoxyCompactList}\small\item\em orientation of the widget \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a0bf91a22e677a9a3c9a4e182b051fd28}\label{a07732_a0bf91a22e677a9a3c9a4e182b051fd28}} 
int \hyperlink{a07732_a0bf91a22e677a9a3c9a4e182b051fd28}{ticks\+\_\+}
\begin{DoxyCompactList}\small\item\em number of ticks on the wheel \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a168d86dfa2de151b177ee6a574f7881d}\label{a07732_a168d86dfa2de151b177ee6a574f7881d}} 
bool \hyperlink{a07732_a168d86dfa2de151b177ee6a574f7881d}{marker\+\_\+}
\begin{DoxyCompactList}\small\item\em should ticks be marked by colors? \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_afc93d1df5ccafd61307fe9394ab5f989}\label{a07732_afc93d1df5ccafd61307fe9394ab5f989}} 
Q\+Point \hyperlink{a07732_afc93d1df5ccafd61307fe9394ab5f989}{pos\+\_\+}
\begin{DoxyCompactList}\small\item\em recent mouse position \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a2e29afa2fa7e8b67d4cbeba66f1eae77}\label{a07732_a2e29afa2fa7e8b67d4cbeba66f1eae77}} 
bool \hyperlink{a07732_a2e29afa2fa7e8b67d4cbeba66f1eae77}{dragging\+\_\+}
\begin{DoxyCompactList}\small\item\em currently dragging the slider? \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_af12f0e643edd89725ee07af2667e2a6d}\label{a07732_af12f0e643edd89725ee07af2667e2a6d}} 
bool \hyperlink{a07732_af12f0e643edd89725ee07af2667e2a6d}{tracking\+\_\+}
\begin{DoxyCompactList}\small\item\em tracking on? \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a83d2ea8059020245f42786569aa3cd70}\label{a07732_a83d2ea8059020245f42786569aa3cd70}} 
Q\+Palette \hyperlink{a07732_a83d2ea8059020245f42786569aa3cd70}{palette\+\_\+}
\begin{DoxyCompactList}\small\item\em color group \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07732_a9f84ae056ff050dca26ef44ba2c2642f}\label{a07732_a9f84ae056ff050dca26ef44ba2c2642f}} 
Q\+Pixmap \hyperlink{a07732_a9f84ae056ff050dca26ef44ba2c2642f}{pixmap\+\_\+}
\begin{DoxyCompactList}\small\item\em pixmap of the wheel \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 101 of file Qt\+Wheel.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a07732_a9cdfaa46b7f9f1d45c04d271b9f977dc}\label{a07732_a9cdfaa46b7f9f1d45c04d271b9f977dc}} 
\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}!angle\+Changed\+By@{angle\+Changed\+By}}
\index{angle\+Changed\+By@{angle\+Changed\+By}!A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}}
\subsubsection{\texorpdfstring{angle\+Changed\+By}{angleChangedBy}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel\+::angle\+Changed\+By (\begin{DoxyParamCaption}\item[{double}]{\+\_\+angle }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

The angle chaned by the relative {\ttfamily \+\_\+angle} (cf. \hyperlink{a07732_a2b82e4df03cea279c119b181573166f1}{clip()}).

{\itshape Note\+:} Do {\itshape not} use this signal together with \hyperlink{a07732_a9cdfaa46b7f9f1d45c04d271b9f977dc}{angle\+Changed\+By()}! The reason for this is that you cannot be sure in which order the you get the signals!

If you need both values the angle and the relative difference then use this signal and \hyperlink{a07732_a83e39f64b75ac1919c7536c2f8fd2f48}{angle()} or \hyperlink{a07732_a3e25678c5e10f41c7f73eabb7a0cd9c5}{angle\+Changed\+To()} and \hyperlink{a07732_a6cfbf42cd1dfedc8c1fa9f010f63c0a5}{diff\+Angle()} respectively! \mbox{\Hypertarget{a07732_a3e25678c5e10f41c7f73eabb7a0cd9c5}\label{a07732_a3e25678c5e10f41c7f73eabb7a0cd9c5}} 
\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}!angle\+Changed\+To@{angle\+Changed\+To}}
\index{angle\+Changed\+To@{angle\+Changed\+To}!A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}}
\subsubsection{\texorpdfstring{angle\+Changed\+To}{angleChangedTo}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel\+::angle\+Changed\+To (\begin{DoxyParamCaption}\item[{double}]{\+\_\+angle }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

The angle changed to the absolute {\ttfamily \+\_\+angle} (cf. \hyperlink{a07732_a2b82e4df03cea279c119b181573166f1}{clip()}). {\itshape Note\+:} Do not use together with \hyperlink{a07732_a9cdfaa46b7f9f1d45c04d271b9f977dc}{angle\+Changed\+By()} (see there)! \mbox{\Hypertarget{a07732_a2b82e4df03cea279c119b181573166f1}\label{a07732_a2b82e4df03cea279c119b181573166f1}} 
\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}!clip@{clip}}
\index{clip@{clip}!A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}}
\subsubsection{\texorpdfstring{clip()}{clip()}}
{\footnotesize\ttfamily double A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel\+::clip (\begin{DoxyParamCaption}\item[{double}]{\+\_\+angle }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

Clips {\ttfamily \+\_\+angle} to range \mbox{[}0,2pi\mbox{[}. All \hyperlink{a07732_a83e39f64b75ac1919c7536c2f8fd2f48}{angle()}s provided by this widget are {\itshape unbounded} in a sense that a full turn of the wheel is 2pi {\itshape not} 0. As a consequence two full turns are 4pi, etc.

This methods clips the angle again \mbox{[}0,2pi\mbox{[} \begin{DoxySeeAlso}{See also}
\hyperlink{a07732_ab31cfb99b5898fec57e662b15fdf02fa}{deg()} 
\end{DoxySeeAlso}


Definition at line 436 of file Qt\+Wheel.\+cc.

\mbox{\Hypertarget{a07732_a6cfbf42cd1dfedc8c1fa9f010f63c0a5}\label{a07732_a6cfbf42cd1dfedc8c1fa9f010f63c0a5}} 
\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}!diff\+Angle@{diff\+Angle}}
\index{diff\+Angle@{diff\+Angle}!A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}}
\subsubsection{\texorpdfstring{diff\+Angle()}{diffAngle()}}
{\footnotesize\ttfamily double A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel\+::diff\+Angle (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Get difference angle. You may call this method from a {\itshape slot} connected to \hyperlink{a07732_a3e25678c5e10f41c7f73eabb7a0cd9c5}{angle\+Changed\+To()} and obtain the difference angle (equal to the argument to \hyperlink{a07732_a9cdfaa46b7f9f1d45c04d271b9f977dc}{angle\+Changed\+By()}). 

Definition at line 144 of file Qt\+Wheel.\+hh.

\mbox{\Hypertarget{a07732_a8ff640766a85b3cf3bb63423b2314023}\label{a07732_a8ff640766a85b3cf3bb63423b2314023}} 
\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}!gear\+Up@{gear\+Up}}
\index{gear\+Up@{gear\+Up}!A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}}
\subsubsection{\texorpdfstring{gear\+Up}{gearUp}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel\+::gear\+Up (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

The \hyperlink{a07732_a7fd9ada85f22ad398a2b045840333598}{gear()} has been \char`\"{}shifted\char`\"{} by double clicking the widget. Up-\/shifting will {\itshape double} the value of \hyperlink{a07732_a7fd9ada85f22ad398a2b045840333598}{gear()}. The signal is emitted {\itshape after} \hyperlink{a07732_a7fd9ada85f22ad398a2b045840333598}{gear()} has been changed. \mbox{\Hypertarget{a07732_a2740c1672fdfa5889689d3e2b77ee643}\label{a07732_a2740c1672fdfa5889689d3e2b77ee643}} 
\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}!paint\+Event@{paint\+Event}}
\index{paint\+Event@{paint\+Event}!A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}}
\subsubsection{\texorpdfstring{paint\+Event()}{paintEvent()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel\+::paint\+Event (\begin{DoxyParamCaption}\item[{Q\+Paint\+Event $\ast$}]{\+\_\+e }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



reimplemented 

\begin{DoxyRefDesc}{Todo}
\item[\hyperlink{a06164__todo000012}{Todo}]\+: bit\+Blt(this,r.\+left(),r.\+top(),pixmap\+\_\+); \end{DoxyRefDesc}


Definition at line 276 of file Qt\+Wheel.\+cc.

\mbox{\Hypertarget{a07732_aca950f1841977949aaef4ff3d8639433}\label{a07732_aca950f1841977949aaef4ff3d8639433}} 
\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}!set\+Gear@{set\+Gear}}
\index{set\+Gear@{set\+Gear}!A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}}
\subsubsection{\texorpdfstring{set\+Gear()}{setGear()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel\+::set\+Gear (\begin{DoxyParamCaption}\item[{double}]{\+\_\+g }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

How fast does \hyperlink{a07732_a83e39f64b75ac1919c7536c2f8fd2f48}{angle()} changed when the wheel is turned? The default setting is 1.\+0. Then \hyperlink{a07732_a83e39f64b75ac1919c7536c2f8fd2f48}{angle()} will be changed by pi (180 degrees) when dragging the wheel from one end of the widget to the other. In general this angular difference will be multiplied by \hyperlink{a07732_a7fd9ada85f22ad398a2b045840333598}{gear()}, i.\+e. for values $>$1,0 the angle changes faster. 

Definition at line 180 of file Qt\+Wheel.\+hh.

\mbox{\Hypertarget{a07732_aba8d2bd7f76e5df2294faf9beb883c85}\label{a07732_aba8d2bd7f76e5df2294faf9beb883c85}} 
\index{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}!set\+Tracking@{set\+Tracking}}
\index{set\+Tracking@{set\+Tracking}!A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel@{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel}}
\subsubsection{\texorpdfstring{set\+Tracking()}{setTracking()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Wheel\+::set\+Tracking (\begin{DoxyParamCaption}\item[{bool}]{\+\_\+b }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Enables wheel tracking (default\+: {\itshape true})

If tracking is enabled, then the \hyperlink{a07732}{Qt\+Wheel} emits signals whenever the it is dragged. Otherwise signals are emitted only when a dragging process is finished. 

Definition at line 169 of file Qt\+Wheel.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Qt\+Widgets/Qt\+Wheel.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Qt\+Widgets/Qt\+Wheel.\+cc\end{DoxyCompactItemize}
