\hypertarget{a00794}{\section{Material\+Picker Class Reference}
\label{a00794}\index{Material\+Picker@{Material\+Picker}}
}
Inheritance diagram for Material\+Picker\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.637427cm]{a00794}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{a00791}{Material\+Info}
\end{DoxyCompactItemize}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00794_aab158c43b6bc9d9a4a0cbd65b2b1113a}{void {\bfseries slot\+Mouse\+Event} (Q\+Mouse\+Event $\ast$\+\_\+event)}\label{a00794_aab158c43b6bc9d9a4a0cbd65b2b1113a}

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

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

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

\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00794_a67875de7f2cd621588d0e44bb1750331}{void {\bfseries add\+Pick\+Mode} (const std\+::string \&\+\_\+mode)}\label{a00794_a67875de7f2cd621588d0e44bb1750331}

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

\item 
\hypertarget{a00794_a17694f492fd29b470c6c94373cbf3820}{void {\bfseries add\+Toolbox} (Q\+String \+\_\+name, Q\+Widget $\ast$\+\_\+widget, Q\+Icon $\ast$\+\_\+icon)}\label{a00794_a17694f492fd29b470c6c94373cbf3820}

\item 
\hypertarget{a00794_a7dcdf7cf073e3afc982cdebb277bd781}{void {\bfseries register\+Key} (int \+\_\+key, Qt\+::\+Keyboard\+Modifiers \+\_\+modifiers, Q\+String \+\_\+description, bool \+\_\+multi\+Use=false)}\label{a00794_a7dcdf7cf073e3afc982cdebb277bd781}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{a00794_a5bb7c1ae05f7417d3dcdce7c2bcfcf99}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a00794_a2b2bc210ddfd3b97ac521e7dd118c8d5}{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{a00794_a4449646bd8e542a7c4096c54eaec25e6}{void {\bfseries initialize\+Plugin} ()}\label{a00794_a4449646bd8e542a7c4096c54eaec25e6}

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

\item 
\hypertarget{a00794_a15f52c06e08acd76b0ecdf8c5cafe8f7}{void {\bfseries slot\+Pick\+Material\+Mode} ()}\label{a00794_a15f52c06e08acd76b0ecdf8c5cafe8f7}

\item 
\hypertarget{a00794_a01bf44c0abb898949a78ec3f89e7ce1f}{void {\bfseries slot\+Fill\+Material\+Mode} ()}\label{a00794_a01bf44c0abb898949a78ec3f89e7ce1f}

\item 
\hypertarget{a00794_a2bfd110efc151ec1d477ba06563c2431}{void {\bfseries slot\+Remove\+Current\+Item} ()}\label{a00794_a2bfd110efc151ec1d477ba06563c2431}

\item 
\hypertarget{a00794_aabb3ac24ec2928c85ae9c8163bfd856e}{void \hyperlink{a00794_aabb3ac24ec2928c85ae9c8163bfd856e}{edit\+Mode} (Q\+List\+Widget\+Item $\ast$\+\_\+item)}\label{a00794_aabb3ac24ec2928c85ae9c8163bfd856e}

\begin{DoxyCompactList}\small\item\em items can be renamed by double clicking them \end{DoxyCompactList}\item 
\hypertarget{a00794_aefdc38f8819ade0160e4a300a4ed26d6}{void {\bfseries edit\+Mode\+Current} ()}\label{a00794_aefdc38f8819ade0160e4a300a4ed26d6}

\item 
\hypertarget{a00794_a37809f1469faf6f25ddf004e6bc58b65}{void \hyperlink{a00794_a37809f1469faf6f25ddf004e6bc58b65}{save\+New\+Name} (Q\+Widget $\ast$\+\_\+editor, Q\+Abstract\+Item\+Delegate\+::\+End\+Edit\+Hint \+\_\+hint)}\label{a00794_a37809f1469faf6f25ddf004e6bc58b65}

\begin{DoxyCompactList}\small\item\em saves the new material name with hotkey hint \end{DoxyCompactList}\item 
\hypertarget{a00794_a5cc4e0d2401f7e539c53dc574d481b01}{void {\bfseries save\+New\+Name} (Q\+List\+Widget\+Item $\ast$\+\_\+item)}\label{a00794_a5cc4e0d2401f7e539c53dc574d481b01}

\item 
\hypertarget{a00794_a1eaa1ef83931fc6157cfbb0c2fa6c4a5}{Q\+String \hyperlink{a00794_a1eaa1ef83931fc6157cfbb0c2fa6c4a5}{material\+String} (const \hyperlink{a00791}{Material\+Info} \&\+\_\+mat, const Q\+String \&\+\_\+name)}\label{a00794_a1eaa1ef83931fc6157cfbb0c2fa6c4a5}

\begin{DoxyCompactList}\small\item\em returns a formatted string for saving \end{DoxyCompactList}\item 
\hypertarget{a00794_a17a634dea0e1e01b8c044ddfea790ee7}{void {\bfseries clear\+List} ()}\label{a00794_a17a634dea0e1e01b8c044ddfea790ee7}

\item 
\hypertarget{a00794_ab89dc631e98a0150ca7a84a7784744c9}{void {\bfseries remove\+Item} (Q\+List\+Widget\+Item $\ast$\+\_\+item)}\label{a00794_ab89dc631e98a0150ca7a84a7784744c9}

\item 
\hypertarget{a00794_ae5410fb84240721438d1d95f51a6c9a0}{void \hyperlink{a00794_ae5410fb84240721438d1d95f51a6c9a0}{create\+Context\+Menu} (const Q\+Point \&\+\_\+point)}\label{a00794_ae5410fb84240721438d1d95f51a6c9a0}

\begin{DoxyCompactList}\small\item\em creates context menu on current item (current is the item at mouse position) \end{DoxyCompactList}\item 
\hypertarget{a00794_a3f24341c21200da2042931d96db2660e}{void \hyperlink{a00794_a3f24341c21200da2042931d96db2660e}{change\+Hot\+Key} (const int \+\_\+key)}\label{a00794_a3f24341c21200da2042931d96db2660e}

\begin{DoxyCompactList}\small\item\em change specified Hot\+Key to current item \end{DoxyCompactList}\item 
\hypertarget{a00794_abd69c6751090861a0400b22060dad822}{void {\bfseries slot\+Material\+Properties} ()}\label{a00794_abd69c6751090861a0400b22060dad822}

\item 
\hypertarget{a00794_ae8609929546c6f026d96a6a56cd38c57}{void {\bfseries slot\+Enable\+List\+Widget} (int \+\_\+save)}\label{a00794_ae8609929546c6f026d96a6a56cd38c57}

\item 
\hypertarget{a00794_af8e26ebb70e7267035e7b0b5ae2e21dd}{void {\bfseries slot\+Material\+Changed} ()}\label{a00794_af8e26ebb70e7267035e7b0b5ae2e21dd}

\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00794_ac191b3d17fabd777d9b5075764b65f1f}{Q\+String \hyperlink{a00794_ac191b3d17fabd777d9b5075764b65f1f}{item\+Name} (const Q\+String \&\+\_\+name, int \+\_\+key)}\label{a00794_ac191b3d17fabd777d9b5075764b65f1f}

\begin{DoxyCompactList}\small\item\em returns the item name with hotkey hint \end{DoxyCompactList}\item 
\hypertarget{a00794_ac67484899850c36a99f33156e8f208dd}{Q\+String \hyperlink{a00794_ac67484899850c36a99f33156e8f208dd}{plain\+Name} (const Q\+String \&string, int index)}\label{a00794_ac67484899850c36a99f33156e8f208dd}

\begin{DoxyCompactList}\small\item\em returns the plain name of the material without hotkey hint \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00794_a55c9580f695da9f1823291e381f9a8de}{const std\+::string {\bfseries pick\+Mode\+Name\+\_\+}}\label{a00794_a55c9580f695da9f1823291e381f9a8de}

\item 
\hypertarget{a00794_a89dc16e39ac704d6fbd1c20b35f67ec0}{const Q\+String {\bfseries prop\+Name\+\_\+}}\label{a00794_a89dc16e39ac704d6fbd1c20b35f67ec0}

\item 
\hypertarget{a00794_a3e128f40980c28068c7a80ee37ab5805}{Q\+Push\+Button $\ast$ {\bfseries pick\+Material\+Button\+\_\+}}\label{a00794_a3e128f40980c28068c7a80ee37ab5805}

\item 
\hypertarget{a00794_a8712767f62b46e84f82d9156f97fe5dc}{Q\+Push\+Button $\ast$ {\bfseries fill\+Material\+Button\+\_\+}}\label{a00794_a8712767f62b46e84f82d9156f97fe5dc}

\item 
\hypertarget{a00794_a9a4d343176ac67d955415db7e113f71c}{Q\+List\+Widget $\ast$ {\bfseries material\+List\+Widget\+\_\+}}\label{a00794_a9a4d343176ac67d955415db7e113f71c}

\item 
\hypertarget{a00794_a278f603656d10d5b9f9cb63e2677bef7}{Q\+Vector$<$ \hyperlink{a00791}{Material\+Info} $>$ {\bfseries material\+List\+\_\+}}\label{a00794_a278f603656d10d5b9f9cb63e2677bef7}

\item 
\hypertarget{a00794_aef1be99d69442681974287238bb1d484}{Q\+String\+List {\bfseries material\+Strings\+\_\+}}\label{a00794_aef1be99d69442681974287238bb1d484}

\item 
\hypertarget{a00794_afabe56e1f1e601cbfdc0fbac8ec0ac29}{std\+::map$<$ int, size\+\_\+t $>$ {\bfseries short\+Key\+Row\+\_\+}}\label{a00794_afabe56e1f1e601cbfdc0fbac8ec0ac29}

\item 
\hypertarget{a00794_a6dddee5c8dacf3469e5f574586175dd9}{ptr\+::shared\+\_\+ptr$<$ \hyperlink{a02486_a3a689dfbad9465332a5ad72b9406ffa0}{Material\+Node} $>$ {\bfseries material\+Node\+\_\+}}\label{a00794_a6dddee5c8dacf3469e5f574586175dd9}

\item 
\hypertarget{a00794_a0e792b77bdbf9831e0408c31978b457a}{bool \hyperlink{a00794_a0e792b77bdbf9831e0408c31978b457a}{pick\+Material\+\_\+}}\label{a00794_a0e792b77bdbf9831e0408c31978b457a}

\begin{DoxyCompactList}\small\item\em stores the state of the pick material button \end{DoxyCompactList}\item 
\hypertarget{a00794_a06d2c6f74fef36829de6571335ad8444}{bool \hyperlink{a00794_a06d2c6f74fef36829de6571335ad8444}{fill\+Material\+\_\+}}\label{a00794_a06d2c6f74fef36829de6571335ad8444}

\begin{DoxyCompactList}\small\item\em stores the state of the fill material button \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00794_af4a3f3e012d1c67115c55cb1e227707d}{static const unsigned {\bfseries supported\+Keys\+\_\+} = 3}\label{a00794_af4a3f3e012d1c67115c55cb1e227707d}

\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 66 of file Material\+Picker.\+hh.



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


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 102 of file Material\+Picker.\+hh.

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


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 101 of file Material\+Picker.\+hh.



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