\hypertarget{a10216}{}\section{Material\+Picker Class Reference}
\label{a10216}\index{Material\+Picker@{Material\+Picker}}
Inheritance diagram for Material\+Picker\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.637427cm]{a10216}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{a10220}{Material\+Info}
\end{DoxyCompactItemize}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10216_aab158c43b6bc9d9a4a0cbd65b2b1113a}\label{a10216_aab158c43b6bc9d9a4a0cbd65b2b1113a}} 
void {\bfseries slot\+Mouse\+Event} (Q\+Mouse\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a10216_ac180d4f5ddffab2ecacf3cf87259ff1e}\label{a10216_ac180d4f5ddffab2ecacf3cf87259ff1e}} 
void {\bfseries slot\+Pick\+Mode\+Changed} (const std\+::string \&\+\_\+mode)
\item 
\mbox{\Hypertarget{a10216_a8c44ec3ffac8865244e05417ac9cb039}\label{a10216_a8c44ec3ffac8865244e05417ac9cb039}} 
void {\bfseries slot\+Key\+Event} (Q\+Key\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a10216_a0cea0e509ad030d657a9b83b904cf606}\label{a10216_a0cea0e509ad030d657a9b83b904cf606}} 
Q\+String {\bfseries version} ()
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10216_a67875de7f2cd621588d0e44bb1750331}\label{a10216_a67875de7f2cd621588d0e44bb1750331}} 
void {\bfseries add\+Pick\+Mode} (const std\+::string \&\+\_\+mode)
\item 
\mbox{\Hypertarget{a10216_aae43400e322d07020f1fe2d0e9a1f89d}\label{a10216_aae43400e322d07020f1fe2d0e9a1f89d}} 
void {\bfseries update\+View} ()
\item 
\mbox{\Hypertarget{a10216_a17694f492fd29b470c6c94373cbf3820}\label{a10216_a17694f492fd29b470c6c94373cbf3820}} 
void {\bfseries add\+Toolbox} (Q\+String \+\_\+name, Q\+Widget $\ast$\+\_\+widget, Q\+Icon $\ast$\+\_\+icon)
\item 
\mbox{\Hypertarget{a10216_a7dcdf7cf073e3afc982cdebb277bd781}\label{a10216_a7dcdf7cf073e3afc982cdebb277bd781}} 
void {\bfseries register\+Key} (int \+\_\+key, Qt\+::\+Keyboard\+Modifiers \+\_\+modifiers, Q\+String \+\_\+description, bool \+\_\+multi\+Use=false)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{a10216_a5bb7c1ae05f7417d3dcdce7c2bcfcf99}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a10216_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 
\mbox{\Hypertarget{a10216_a4449646bd8e542a7c4096c54eaec25e6}\label{a10216_a4449646bd8e542a7c4096c54eaec25e6}} 
void {\bfseries initialize\+Plugin} ()
\item 
\mbox{\Hypertarget{a10216_a80802135873a22380d1bfbcd1a9ba6bc}\label{a10216_a80802135873a22380d1bfbcd1a9ba6bc}} 
void {\bfseries plugins\+Initialized} ()
\item 
\mbox{\Hypertarget{a10216_a15f52c06e08acd76b0ecdf8c5cafe8f7}\label{a10216_a15f52c06e08acd76b0ecdf8c5cafe8f7}} 
void {\bfseries slot\+Pick\+Material\+Mode} ()
\item 
\mbox{\Hypertarget{a10216_a01bf44c0abb898949a78ec3f89e7ce1f}\label{a10216_a01bf44c0abb898949a78ec3f89e7ce1f}} 
void {\bfseries slot\+Fill\+Material\+Mode} ()
\item 
\mbox{\Hypertarget{a10216_a2bfd110efc151ec1d477ba06563c2431}\label{a10216_a2bfd110efc151ec1d477ba06563c2431}} 
void {\bfseries slot\+Remove\+Current\+Item} ()
\item 
\mbox{\Hypertarget{a10216_aabb3ac24ec2928c85ae9c8163bfd856e}\label{a10216_aabb3ac24ec2928c85ae9c8163bfd856e}} 
void \hyperlink{a10216_aabb3ac24ec2928c85ae9c8163bfd856e}{edit\+Mode} (Q\+List\+Widget\+Item $\ast$\+\_\+item)
\begin{DoxyCompactList}\small\item\em items can be renamed by double clicking them \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10216_aefdc38f8819ade0160e4a300a4ed26d6}\label{a10216_aefdc38f8819ade0160e4a300a4ed26d6}} 
void {\bfseries edit\+Mode\+Current} ()
\item 
\mbox{\Hypertarget{a10216_a37809f1469faf6f25ddf004e6bc58b65}\label{a10216_a37809f1469faf6f25ddf004e6bc58b65}} 
void \hyperlink{a10216_a37809f1469faf6f25ddf004e6bc58b65}{save\+New\+Name} (Q\+Widget $\ast$\+\_\+editor, Q\+Abstract\+Item\+Delegate\+::\+End\+Edit\+Hint \+\_\+hint)
\begin{DoxyCompactList}\small\item\em saves the new material name with hotkey hint \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10216_a5cc4e0d2401f7e539c53dc574d481b01}\label{a10216_a5cc4e0d2401f7e539c53dc574d481b01}} 
void {\bfseries save\+New\+Name} (Q\+List\+Widget\+Item $\ast$\+\_\+item)
\item 
\mbox{\Hypertarget{a10216_a1eaa1ef83931fc6157cfbb0c2fa6c4a5}\label{a10216_a1eaa1ef83931fc6157cfbb0c2fa6c4a5}} 
Q\+String \hyperlink{a10216_a1eaa1ef83931fc6157cfbb0c2fa6c4a5}{material\+String} (const \hyperlink{a10220}{Material\+Info} \&\+\_\+mat, const Q\+String \&\+\_\+name)
\begin{DoxyCompactList}\small\item\em returns a formatted string for saving \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10216_a17a634dea0e1e01b8c044ddfea790ee7}\label{a10216_a17a634dea0e1e01b8c044ddfea790ee7}} 
void {\bfseries clear\+List} ()
\item 
\mbox{\Hypertarget{a10216_ab89dc631e98a0150ca7a84a7784744c9}\label{a10216_ab89dc631e98a0150ca7a84a7784744c9}} 
void {\bfseries remove\+Item} (Q\+List\+Widget\+Item $\ast$\+\_\+item)
\item 
\mbox{\Hypertarget{a10216_ae5410fb84240721438d1d95f51a6c9a0}\label{a10216_ae5410fb84240721438d1d95f51a6c9a0}} 
void \hyperlink{a10216_ae5410fb84240721438d1d95f51a6c9a0}{create\+Context\+Menu} (const Q\+Point \&\+\_\+point)
\begin{DoxyCompactList}\small\item\em creates context menu on current item (current is the item at mouse position) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10216_a3f24341c21200da2042931d96db2660e}\label{a10216_a3f24341c21200da2042931d96db2660e}} 
void \hyperlink{a10216_a3f24341c21200da2042931d96db2660e}{change\+Hot\+Key} (const int \+\_\+key)
\begin{DoxyCompactList}\small\item\em change specified Hot\+Key to current item \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10216_abd69c6751090861a0400b22060dad822}\label{a10216_abd69c6751090861a0400b22060dad822}} 
void {\bfseries slot\+Material\+Properties} ()
\item 
\mbox{\Hypertarget{a10216_ae8609929546c6f026d96a6a56cd38c57}\label{a10216_ae8609929546c6f026d96a6a56cd38c57}} 
void {\bfseries slot\+Enable\+List\+Widget} (int \+\_\+save)
\item 
\mbox{\Hypertarget{a10216_af8e26ebb70e7267035e7b0b5ae2e21dd}\label{a10216_af8e26ebb70e7267035e7b0b5ae2e21dd}} 
void {\bfseries slot\+Material\+Changed} ()
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10216_ac191b3d17fabd777d9b5075764b65f1f}\label{a10216_ac191b3d17fabd777d9b5075764b65f1f}} 
Q\+String \hyperlink{a10216_ac191b3d17fabd777d9b5075764b65f1f}{item\+Name} (const Q\+String \&\+\_\+name, int \+\_\+key)
\begin{DoxyCompactList}\small\item\em returns the item name with hotkey hint \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10216_ac67484899850c36a99f33156e8f208dd}\label{a10216_ac67484899850c36a99f33156e8f208dd}} 
Q\+String \hyperlink{a10216_ac67484899850c36a99f33156e8f208dd}{plain\+Name} (const Q\+String \&string, int index)
\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 
\mbox{\Hypertarget{a10216_a55c9580f695da9f1823291e381f9a8de}\label{a10216_a55c9580f695da9f1823291e381f9a8de}} 
const std\+::string {\bfseries pick\+Mode\+Name\+\_\+}
\item 
\mbox{\Hypertarget{a10216_a89dc16e39ac704d6fbd1c20b35f67ec0}\label{a10216_a89dc16e39ac704d6fbd1c20b35f67ec0}} 
const Q\+String {\bfseries prop\+Name\+\_\+}
\item 
\mbox{\Hypertarget{a10216_a3e128f40980c28068c7a80ee37ab5805}\label{a10216_a3e128f40980c28068c7a80ee37ab5805}} 
Q\+Push\+Button $\ast$ {\bfseries pick\+Material\+Button\+\_\+}
\item 
\mbox{\Hypertarget{a10216_a8712767f62b46e84f82d9156f97fe5dc}\label{a10216_a8712767f62b46e84f82d9156f97fe5dc}} 
Q\+Push\+Button $\ast$ {\bfseries fill\+Material\+Button\+\_\+}
\item 
\mbox{\Hypertarget{a10216_a9a4d343176ac67d955415db7e113f71c}\label{a10216_a9a4d343176ac67d955415db7e113f71c}} 
Q\+List\+Widget $\ast$ {\bfseries material\+List\+Widget\+\_\+}
\item 
\mbox{\Hypertarget{a10216_a278f603656d10d5b9f9cb63e2677bef7}\label{a10216_a278f603656d10d5b9f9cb63e2677bef7}} 
Q\+Vector$<$ \hyperlink{a10220}{Material\+Info} $>$ {\bfseries material\+List\+\_\+}
\item 
\mbox{\Hypertarget{a10216_aef1be99d69442681974287238bb1d484}\label{a10216_aef1be99d69442681974287238bb1d484}} 
Q\+String\+List {\bfseries material\+Strings\+\_\+}
\item 
\mbox{\Hypertarget{a10216_afabe56e1f1e601cbfdc0fbac8ec0ac29}\label{a10216_afabe56e1f1e601cbfdc0fbac8ec0ac29}} 
std\+::map$<$ int, size\+\_\+t $>$ {\bfseries short\+Key\+Row\+\_\+}
\item 
\mbox{\Hypertarget{a10216_a6dddee5c8dacf3469e5f574586175dd9}\label{a10216_a6dddee5c8dacf3469e5f574586175dd9}} 
ptr\+::shared\+\_\+ptr$<$ \hyperlink{a00182_a3a689dfbad9465332a5ad72b9406ffa0}{Material\+Node} $>$ {\bfseries material\+Node\+\_\+}
\item 
\mbox{\Hypertarget{a10216_a0e792b77bdbf9831e0408c31978b457a}\label{a10216_a0e792b77bdbf9831e0408c31978b457a}} 
bool \hyperlink{a10216_a0e792b77bdbf9831e0408c31978b457a}{pick\+Material\+\_\+}
\begin{DoxyCompactList}\small\item\em stores the state of the pick material button \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10216_a06d2c6f74fef36829de6571335ad8444}\label{a10216_a06d2c6f74fef36829de6571335ad8444}} 
bool \hyperlink{a10216_a06d2c6f74fef36829de6571335ad8444}{fill\+Material\+\_\+}
\begin{DoxyCompactList}\small\item\em stores the state of the fill material button \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10216_af4a3f3e012d1c67115c55cb1e227707d}\label{a10216_af4a3f3e012d1c67115c55cb1e227707d}} 
static const unsigned {\bfseries supported\+Keys\+\_\+} = 3
\end{DoxyCompactItemize}


\subsection{Detailed Description}


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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a10216_a2b2bc210ddfd3b97ac521e7dd118c8d5}\label{a10216_a2b2bc210ddfd3b97ac521e7dd118c8d5}} 
\index{Material\+Picker@{Material\+Picker}!description@{description}}
\index{description@{description}!Material\+Picker@{Material\+Picker}}
\subsubsection{\texorpdfstring{description()}{description()}}
{\footnotesize\ttfamily Q\+String Material\+Picker\+::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 96 of file Material\+Picker.\+hh.

\mbox{\Hypertarget{a10216_a5bb7c1ae05f7417d3dcdce7c2bcfcf99}\label{a10216_a5bb7c1ae05f7417d3dcdce7c2bcfcf99}} 
\index{Material\+Picker@{Material\+Picker}!name@{name}}
\index{name@{name}!Material\+Picker@{Material\+Picker}}
\subsubsection{\texorpdfstring{name()}{name()}}
{\footnotesize\ttfamily Q\+String Material\+Picker\+::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 95 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}
