\hypertarget{a10568}{}\section{Ruler\+Plugin Class Reference}
\label{a10568}\index{Ruler\+Plugin@{Ruler\+Plugin}}
Inheritance diagram for Ruler\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.259843cm]{a10568}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10568_a3ea6912cd73a63751c16890d53eaabf7}\label{a10568_a3ea6912cd73a63751c16890d53eaabf7}} 
void {\bfseries slot\+Pick\+Mode\+Changed} (const std\+::string \&\+\_\+mode)
\item 
\mbox{\Hypertarget{a10568_a1971300e3239f5bdf051d61a0b4baaf1}\label{a10568_a1971300e3239f5bdf051d61a0b4baaf1}} 
void {\bfseries slot\+Mouse\+Event} (Q\+Mouse\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a10568_a9545a0a15fdb0997519f62359c45f698}\label{a10568_a9545a0a15fdb0997519f62359c45f698}} 
void {\bfseries slot\+View\+Changed} ()
\item 
\mbox{\Hypertarget{a10568_af8506d933a8fce4d7e284ee8e278a9d0}\label{a10568_af8506d933a8fce4d7e284ee8e278a9d0}} 
Q\+String {\bfseries version} ()
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10568_acea189befbfc217ab052447122565781}\label{a10568_acea189befbfc217ab052447122565781}} 
void {\bfseries add\+Toolbar} (Q\+Tool\+Bar $\ast$\+\_\+toolbar)
\item 
\mbox{\Hypertarget{a10568_acd9e999c6266a280e7dad155b09c96d0}\label{a10568_acd9e999c6266a280e7dad155b09c96d0}} 
void {\bfseries add\+Pick\+Mode} (const std\+::string \&\+\_\+mode)
\item 
\mbox{\Hypertarget{a10568_adf8ebcaf6adb5f1c51deea583d22ad41}\label{a10568_adf8ebcaf6adb5f1c51deea583d22ad41}} 
void {\bfseries update\+View} ()
\item 
\mbox{\Hypertarget{a10568_afe9e04e83f77164a6f4478faf4e85537}\label{a10568_afe9e04e83f77164a6f4478faf4e85537}} 
void {\bfseries set\+Pick\+Mode\+Mouse\+Tracking} (const std\+::string \&\+\_\+mode, bool \+\_\+mouse\+Tracking)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a10568_aace991e00f0fd083cea21ac6f0fb603e}{initialize\+Options\+Widget} (Q\+Widget $\ast$\&\+\_\+widget)
\begin{DoxyCompactList}\small\item\em Initialize the Options Widget. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a10568_aca00f4615ed3161e1f3413172be12654}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a10568_a2f17a8b62d4f963ddf850f6402812986}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10568_a44205d4ebf8b8ff197f2398ce8a66864}\label{a10568_a44205d4ebf8b8ff197f2398ce8a66864}} 
void {\bfseries initialize\+Plugin} ()
\item 
\mbox{\Hypertarget{a10568_a33967d17b0fcb6780d04ef9c40bd8512}\label{a10568_a33967d17b0fcb6780d04ef9c40bd8512}} 
void {\bfseries plugins\+Initialized} ()
\item 
\mbox{\Hypertarget{a10568_af2547699dcbdbe3a82f519ce50159eff}\label{a10568_af2547699dcbdbe3a82f519ce50159eff}} 
void {\bfseries slot\+Change\+Pick\+Mode} ()
\item 
\mbox{\Hypertarget{a10568_a94c11e88afa450cb2cee7187b0c4692d}\label{a10568_a94c11e88afa450cb2cee7187b0c4692d}} 
void {\bfseries slot\+All\+Cleared} ()
\item 
\mbox{\Hypertarget{a10568_a96092ac16fe724630f2f1ab831213a66}\label{a10568_a96092ac16fe724630f2f1ab831213a66}} 
void {\bfseries object\+Deleted} (int \+\_\+id)
\item 
\mbox{\Hypertarget{a10568_ae5f6b06f29e82d84799defe57aa8a4b1}\label{a10568_ae5f6b06f29e82d84799defe57aa8a4b1}} 
void {\bfseries apply\+Options} ()
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10568_a16054657d620315a147c72474a117775}\label{a10568_a16054657d620315a147c72474a117775}} 
void {\bfseries reset} ()
\item 
\mbox{\Hypertarget{a10568_a0ca35f7e08a22be3ad650678ee2d1b25}\label{a10568_a0ca35f7e08a22be3ad650678ee2d1b25}} 
void {\bfseries enable\+Drag\+Mode} (const int \+\_\+point)
\item 
\mbox{\Hypertarget{a10568_a0a3d8d698291ee52776122bea8321082}\label{a10568_a0a3d8d698291ee52776122bea8321082}} 
void {\bfseries disable\+Drag\+Mode} ()
\item 
\mbox{\Hypertarget{a10568_ac59091fc98bdf52988dd5a73b67e5fe7}\label{a10568_ac59091fc98bdf52988dd5a73b67e5fe7}} 
bool {\bfseries drag\+Mode\+Active} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10568_ad44a0f0ab7d664841849f2aede36d5a0}\label{a10568_ad44a0f0ab7d664841849f2aede36d5a0}} 
Q\+Action $\ast$ {\bfseries button\+Action\+\_\+}
\item 
\mbox{\Hypertarget{a10568_a8af0e0ce364114282945ea0f2ce4042f}\label{a10568_a8af0e0ce364114282945ea0f2ce4042f}} 
const std\+::string {\bfseries pick\+Mode\+Name\+\_\+}
\item 
\mbox{\Hypertarget{a10568_a30cf02a376b5e6cfd12e9feb46cf8a0f}\label{a10568_a30cf02a376b5e6cfd12e9feb46cf8a0f}} 
int {\bfseries line\+Drag\+\_\+}
\item 
\mbox{\Hypertarget{a10568_a7dedb6d298b5b28197141f1d75713e9e}\label{a10568_a7dedb6d298b5b28197141f1d75713e9e}} 
bool {\bfseries dbl\+Click\+Check\+\_\+}
\item 
\mbox{\Hypertarget{a10568_a3d14e49d6750aff100e4a4ef70b30889}\label{a10568_a3d14e49d6750aff100e4a4ef70b30889}} 
ptr\+::shared\+\_\+ptr$<$ \hyperlink{a10560}{Ruler} $>$ {\bfseries current\+Ruler\+\_\+}
\item 
\mbox{\Hypertarget{a10568_afe4eae2195942f7bcc48c45d3323746e}\label{a10568_afe4eae2195942f7bcc48c45d3323746e}} 
\hyperlink{a10564}{Ruler\+Options} $\ast$ {\bfseries options\+Widget\+\_\+}
\item 
\mbox{\Hypertarget{a10568_a865f16a5797bf8c4a88cadb4e3ea4e88}\label{a10568_a865f16a5797bf8c4a88cadb4e3ea4e88}} 
const Q\+String {\bfseries text\+Size\+Setting\+Name\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 62 of file Ruler\+Plugin.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a10568_a2f17a8b62d4f963ddf850f6402812986}\label{a10568_a2f17a8b62d4f963ddf850f6402812986}} 
\index{Ruler\+Plugin@{Ruler\+Plugin}!description@{description}}
\index{description@{description}!Ruler\+Plugin@{Ruler\+Plugin}}
\subsubsection{\texorpdfstring{description()}{description()}}
{\footnotesize\ttfamily Q\+String Ruler\+Plugin\+::description (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Return a description of what the plugin is doing. 

This function has to return a basic description of the plugin 

Implements \hyperlink{a06872_a43f0d3612695b53c848c14f48fea9a7a}{Base\+Interface}.



Definition at line 99 of file Ruler\+Plugin.\+hh.

\mbox{\Hypertarget{a10568_aace991e00f0fd083cea21ac6f0fb603e}\label{a10568_aace991e00f0fd083cea21ac6f0fb603e}} 
\index{Ruler\+Plugin@{Ruler\+Plugin}!initialize\+Options\+Widget@{initialize\+Options\+Widget}}
\index{initialize\+Options\+Widget@{initialize\+Options\+Widget}!Ruler\+Plugin@{Ruler\+Plugin}}
\subsubsection{\texorpdfstring{initialize\+Options\+Widget()}{initializeOptionsWidget()}}
{\footnotesize\ttfamily bool Ruler\+Plugin\+::initialize\+Options\+Widget (\begin{DoxyParamCaption}\item[{Q\+Widget $\ast$\&}]{\+\_\+widget }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Initialize the Options Widget. 

Initialize the options widget (create a widget and return a pointer to it ) ~\newline
~\newline
 Example \+: ~\newline
 \+\_\+widget = new Q\+Widget(); ~\newline
~\newline
In the widget you can add anything you want.~\newline
~\newline
 use the slot apply\+Options() to save the values of options currently entered in your widget. ~\newline

\begin{DoxyParams}{Parameters}
{\em \+\_\+widget} & Pointer to the new Widget \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Return true if a widget has been created 
\end{DoxyReturn}


Implements \hyperlink{a06916_a2c3792590a9eecb6a76e6cba5de731a6}{Options\+Interface}.



Definition at line 259 of file Ruler\+Plugin.\+cc.

\mbox{\Hypertarget{a10568_aca00f4615ed3161e1f3413172be12654}\label{a10568_aca00f4615ed3161e1f3413172be12654}} 
\index{Ruler\+Plugin@{Ruler\+Plugin}!name@{name}}
\index{name@{name}!Ruler\+Plugin@{Ruler\+Plugin}}
\subsubsection{\texorpdfstring{name()}{name()}}
{\footnotesize\ttfamily Q\+String Ruler\+Plugin\+::name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Return a name for the plugin. 

This Function has to return the name of the plugin. 

Implements \hyperlink{a06872_a2b351aa6ef0eb368bce735e243235958}{Base\+Interface}.



Definition at line 98 of file Ruler\+Plugin.\+hh.



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