\hypertarget{a01129}{\section{Ruler\+Plugin Class Reference}
\label{a01129}\index{Ruler\+Plugin@{Ruler\+Plugin}}
}
Inheritance diagram for Ruler\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.259843cm]{a01129}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01129_a3ea6912cd73a63751c16890d53eaabf7}{void {\bfseries slot\+Pick\+Mode\+Changed} (const std\+::string \&\+\_\+mode)}\label{a01129_a3ea6912cd73a63751c16890d53eaabf7}

\item 
\hypertarget{a01129_a1971300e3239f5bdf051d61a0b4baaf1}{void {\bfseries slot\+Mouse\+Event} (Q\+Mouse\+Event $\ast$\+\_\+event)}\label{a01129_a1971300e3239f5bdf051d61a0b4baaf1}

\item 
\hypertarget{a01129_a9545a0a15fdb0997519f62359c45f698}{void {\bfseries slot\+View\+Changed} ()}\label{a01129_a9545a0a15fdb0997519f62359c45f698}

\item 
\hypertarget{a01129_af8506d933a8fce4d7e284ee8e278a9d0}{Q\+String {\bfseries version} ()}\label{a01129_af8506d933a8fce4d7e284ee8e278a9d0}

\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01129_acea189befbfc217ab052447122565781}{void {\bfseries add\+Toolbar} (Q\+Tool\+Bar $\ast$\+\_\+toolbar)}\label{a01129_acea189befbfc217ab052447122565781}

\item 
\hypertarget{a01129_acd9e999c6266a280e7dad155b09c96d0}{void {\bfseries add\+Pick\+Mode} (const std\+::string \&\+\_\+mode)}\label{a01129_acd9e999c6266a280e7dad155b09c96d0}

\item 
\hypertarget{a01129_adf8ebcaf6adb5f1c51deea583d22ad41}{void {\bfseries update\+View} ()}\label{a01129_adf8ebcaf6adb5f1c51deea583d22ad41}

\item 
\hypertarget{a01129_afe9e04e83f77164a6f4478faf4e85537}{void {\bfseries set\+Pick\+Mode\+Mouse\+Tracking} (const std\+::string \&\+\_\+mode, bool \+\_\+mouse\+Tracking)}\label{a01129_afe9e04e83f77164a6f4478faf4e85537}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a01129_aace991e00f0fd083cea21ac6f0fb603e}{initialize\+Options\+Widget} (Q\+Widget $\ast$\&\+\_\+widget)
\begin{DoxyCompactList}\small\item\em Initialize the Options Widget. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a01129_aca00f4615ed3161e1f3413172be12654}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a01129_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 
\hypertarget{a01129_a44205d4ebf8b8ff197f2398ce8a66864}{void {\bfseries initialize\+Plugin} ()}\label{a01129_a44205d4ebf8b8ff197f2398ce8a66864}

\item 
\hypertarget{a01129_a33967d17b0fcb6780d04ef9c40bd8512}{void {\bfseries plugins\+Initialized} ()}\label{a01129_a33967d17b0fcb6780d04ef9c40bd8512}

\item 
\hypertarget{a01129_af2547699dcbdbe3a82f519ce50159eff}{void {\bfseries slot\+Change\+Pick\+Mode} ()}\label{a01129_af2547699dcbdbe3a82f519ce50159eff}

\item 
\hypertarget{a01129_a94c11e88afa450cb2cee7187b0c4692d}{void {\bfseries slot\+All\+Cleared} ()}\label{a01129_a94c11e88afa450cb2cee7187b0c4692d}

\item 
\hypertarget{a01129_a96092ac16fe724630f2f1ab831213a66}{void {\bfseries object\+Deleted} (int \+\_\+id)}\label{a01129_a96092ac16fe724630f2f1ab831213a66}

\item 
\hypertarget{a01129_ae5f6b06f29e82d84799defe57aa8a4b1}{void {\bfseries apply\+Options} ()}\label{a01129_ae5f6b06f29e82d84799defe57aa8a4b1}

\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01129_a16054657d620315a147c72474a117775}{void {\bfseries reset} ()}\label{a01129_a16054657d620315a147c72474a117775}

\item 
\hypertarget{a01129_a0ca35f7e08a22be3ad650678ee2d1b25}{void {\bfseries enable\+Drag\+Mode} (const int \+\_\+point)}\label{a01129_a0ca35f7e08a22be3ad650678ee2d1b25}

\item 
\hypertarget{a01129_a0a3d8d698291ee52776122bea8321082}{void {\bfseries disable\+Drag\+Mode} ()}\label{a01129_a0a3d8d698291ee52776122bea8321082}

\item 
\hypertarget{a01129_ac59091fc98bdf52988dd5a73b67e5fe7}{bool {\bfseries drag\+Mode\+Active} ()}\label{a01129_ac59091fc98bdf52988dd5a73b67e5fe7}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01129_ad44a0f0ab7d664841849f2aede36d5a0}{Q\+Action $\ast$ {\bfseries button\+Action\+\_\+}}\label{a01129_ad44a0f0ab7d664841849f2aede36d5a0}

\item 
\hypertarget{a01129_a8af0e0ce364114282945ea0f2ce4042f}{const std\+::string {\bfseries pick\+Mode\+Name\+\_\+}}\label{a01129_a8af0e0ce364114282945ea0f2ce4042f}

\item 
\hypertarget{a01129_a30cf02a376b5e6cfd12e9feb46cf8a0f}{int {\bfseries line\+Drag\+\_\+}}\label{a01129_a30cf02a376b5e6cfd12e9feb46cf8a0f}

\item 
\hypertarget{a01129_a7dedb6d298b5b28197141f1d75713e9e}{bool {\bfseries dbl\+Click\+Check\+\_\+}}\label{a01129_a7dedb6d298b5b28197141f1d75713e9e}

\item 
\hypertarget{a01129_a3d14e49d6750aff100e4a4ef70b30889}{ptr\+::shared\+\_\+ptr$<$ \hyperlink{a01127}{Ruler} $>$ {\bfseries current\+Ruler\+\_\+}}\label{a01129_a3d14e49d6750aff100e4a4ef70b30889}

\item 
\hypertarget{a01129_afe4eae2195942f7bcc48c45d3323746e}{\hyperlink{a01128}{Ruler\+Options} $\ast$ {\bfseries options\+Widget\+\_\+}}\label{a01129_afe4eae2195942f7bcc48c45d3323746e}

\item 
\hypertarget{a01129_a865f16a5797bf8c4a88cadb4e3ea4e88}{const Q\+String {\bfseries text\+Size\+Setting\+Name\+\_\+}}\label{a01129_a865f16a5797bf8c4a88cadb4e3ea4e88}

\end{DoxyCompactItemize}


\subsection{Detailed Description}


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



\subsection{Member Function Documentation}
\hypertarget{a01129_a2f17a8b62d4f963ddf850f6402812986}{\index{Ruler\+Plugin@{Ruler\+Plugin}!description@{description}}
\index{description@{description}!Ruler\+Plugin@{Ruler\+Plugin}}
\subsubsection[{description}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Ruler\+Plugin\+::description (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01129_a2f17a8b62d4f963ddf850f6402812986}


Return a description of what the plugin is doing. 

This function has to return a basic description of the plugin 

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



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

\hypertarget{a01129_aace991e00f0fd083cea21ac6f0fb603e}{\index{Ruler\+Plugin@{Ruler\+Plugin}!initialize\+Options\+Widget@{initialize\+Options\+Widget}}
\index{initialize\+Options\+Widget@{initialize\+Options\+Widget}!Ruler\+Plugin@{Ruler\+Plugin}}
\subsubsection[{initialize\+Options\+Widget}]{\setlength{\rightskip}{0pt plus 5cm}bool Ruler\+Plugin\+::initialize\+Options\+Widget (
\begin{DoxyParamCaption}
\item[{Q\+Widget $\ast$\&}]{\+\_\+widget}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01129_aace991e00f0fd083cea21ac6f0fb603e}


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{a00943_a2c3792590a9eecb6a76e6cba5de731a6}{Options\+Interface}.



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

\hypertarget{a01129_aca00f4615ed3161e1f3413172be12654}{\index{Ruler\+Plugin@{Ruler\+Plugin}!name@{name}}
\index{name@{name}!Ruler\+Plugin@{Ruler\+Plugin}}
\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Ruler\+Plugin\+::name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01129_aca00f4615ed3161e1f3413172be12654}


Return a name for the plugin. 

This Function has to return the name of the plugin. 

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



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