\hypertarget{classMaterialPicker}{}\section{Material\+Picker Class Reference}
\label{classMaterialPicker}\index{Material\+Picker@{Material\+Picker}}
Inheritance diagram for Material\+Picker\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.637427cm]{classMaterialPicker}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structMaterialPicker_1_1MaterialInfo}{Material\+Info}
\end{DoxyCompactItemize}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classMaterialPicker_aab158c43b6bc9d9a4a0cbd65b2b1113a}\label{classMaterialPicker_aab158c43b6bc9d9a4a0cbd65b2b1113a}} 
void {\bfseries slot\+Mouse\+Event} (Q\+Mouse\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{classMaterialPicker_ac180d4f5ddffab2ecacf3cf87259ff1e}\label{classMaterialPicker_ac180d4f5ddffab2ecacf3cf87259ff1e}} 
void {\bfseries slot\+Pick\+Mode\+Changed} (const std\+::string \&\+\_\+mode)
\item 
\mbox{\Hypertarget{classMaterialPicker_a8c44ec3ffac8865244e05417ac9cb039}\label{classMaterialPicker_a8c44ec3ffac8865244e05417ac9cb039}} 
void {\bfseries slot\+Key\+Event} (Q\+Key\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{classMaterialPicker_a0cea0e509ad030d657a9b83b904cf606}\label{classMaterialPicker_a0cea0e509ad030d657a9b83b904cf606}} 
Q\+String {\bfseries version} ()
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classMaterialPicker_a67875de7f2cd621588d0e44bb1750331}\label{classMaterialPicker_a67875de7f2cd621588d0e44bb1750331}} 
void {\bfseries add\+Pick\+Mode} (const std\+::string \&\+\_\+mode)
\item 
\mbox{\Hypertarget{classMaterialPicker_aae43400e322d07020f1fe2d0e9a1f89d}\label{classMaterialPicker_aae43400e322d07020f1fe2d0e9a1f89d}} 
void {\bfseries update\+View} ()
\item 
\mbox{\Hypertarget{classMaterialPicker_a17694f492fd29b470c6c94373cbf3820}\label{classMaterialPicker_a17694f492fd29b470c6c94373cbf3820}} 
void {\bfseries add\+Toolbox} (Q\+String \+\_\+name, Q\+Widget $\ast$\+\_\+widget, Q\+Icon $\ast$\+\_\+icon)
\item 
\mbox{\Hypertarget{classMaterialPicker_a7dcdf7cf073e3afc982cdebb277bd781}\label{classMaterialPicker_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{classMaterialPicker_a5bb7c1ae05f7417d3dcdce7c2bcfcf99}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{classMaterialPicker_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{classMaterialPicker_a4449646bd8e542a7c4096c54eaec25e6}\label{classMaterialPicker_a4449646bd8e542a7c4096c54eaec25e6}} 
void {\bfseries initialize\+Plugin} ()
\item 
\mbox{\Hypertarget{classMaterialPicker_a80802135873a22380d1bfbcd1a9ba6bc}\label{classMaterialPicker_a80802135873a22380d1bfbcd1a9ba6bc}} 
void {\bfseries plugins\+Initialized} ()
\item 
\mbox{\Hypertarget{classMaterialPicker_a15f52c06e08acd76b0ecdf8c5cafe8f7}\label{classMaterialPicker_a15f52c06e08acd76b0ecdf8c5cafe8f7}} 
void {\bfseries slot\+Pick\+Material\+Mode} ()
\item 
\mbox{\Hypertarget{classMaterialPicker_a01bf44c0abb898949a78ec3f89e7ce1f}\label{classMaterialPicker_a01bf44c0abb898949a78ec3f89e7ce1f}} 
void {\bfseries slot\+Fill\+Material\+Mode} ()
\item 
\mbox{\Hypertarget{classMaterialPicker_a2bfd110efc151ec1d477ba06563c2431}\label{classMaterialPicker_a2bfd110efc151ec1d477ba06563c2431}} 
void {\bfseries slot\+Remove\+Current\+Item} ()
\item 
\mbox{\Hypertarget{classMaterialPicker_aabb3ac24ec2928c85ae9c8163bfd856e}\label{classMaterialPicker_aabb3ac24ec2928c85ae9c8163bfd856e}} 
void \hyperlink{classMaterialPicker_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{classMaterialPicker_aefdc38f8819ade0160e4a300a4ed26d6}\label{classMaterialPicker_aefdc38f8819ade0160e4a300a4ed26d6}} 
void {\bfseries edit\+Mode\+Current} ()
\item 
\mbox{\Hypertarget{classMaterialPicker_a37809f1469faf6f25ddf004e6bc58b65}\label{classMaterialPicker_a37809f1469faf6f25ddf004e6bc58b65}} 
void \hyperlink{classMaterialPicker_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{classMaterialPicker_a5cc4e0d2401f7e539c53dc574d481b01}\label{classMaterialPicker_a5cc4e0d2401f7e539c53dc574d481b01}} 
void {\bfseries save\+New\+Name} (Q\+List\+Widget\+Item $\ast$\+\_\+item)
\item 
\mbox{\Hypertarget{classMaterialPicker_a1eaa1ef83931fc6157cfbb0c2fa6c4a5}\label{classMaterialPicker_a1eaa1ef83931fc6157cfbb0c2fa6c4a5}} 
Q\+String \hyperlink{classMaterialPicker_a1eaa1ef83931fc6157cfbb0c2fa6c4a5}{material\+String} (const \hyperlink{structMaterialPicker_1_1MaterialInfo}{Material\+Info} \&\+\_\+mat, const Q\+String \&\+\_\+name)
\begin{DoxyCompactList}\small\item\em returns a formatted string for saving \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classMaterialPicker_a17a634dea0e1e01b8c044ddfea790ee7}\label{classMaterialPicker_a17a634dea0e1e01b8c044ddfea790ee7}} 
void {\bfseries clear\+List} ()
\item 
\mbox{\Hypertarget{classMaterialPicker_ab89dc631e98a0150ca7a84a7784744c9}\label{classMaterialPicker_ab89dc631e98a0150ca7a84a7784744c9}} 
void {\bfseries remove\+Item} (Q\+List\+Widget\+Item $\ast$\+\_\+item)
\item 
\mbox{\Hypertarget{classMaterialPicker_ae5410fb84240721438d1d95f51a6c9a0}\label{classMaterialPicker_ae5410fb84240721438d1d95f51a6c9a0}} 
void \hyperlink{classMaterialPicker_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{classMaterialPicker_a3f24341c21200da2042931d96db2660e}\label{classMaterialPicker_a3f24341c21200da2042931d96db2660e}} 
void \hyperlink{classMaterialPicker_a3f24341c21200da2042931d96db2660e}{change\+Hot\+Key} (const int \+\_\+key)
\begin{DoxyCompactList}\small\item\em change specified Hot\+Key to current item \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classMaterialPicker_abd69c6751090861a0400b22060dad822}\label{classMaterialPicker_abd69c6751090861a0400b22060dad822}} 
void {\bfseries slot\+Material\+Properties} ()
\item 
\mbox{\Hypertarget{classMaterialPicker_ae8609929546c6f026d96a6a56cd38c57}\label{classMaterialPicker_ae8609929546c6f026d96a6a56cd38c57}} 
void {\bfseries slot\+Enable\+List\+Widget} (int \+\_\+save)
\item 
\mbox{\Hypertarget{classMaterialPicker_af8e26ebb70e7267035e7b0b5ae2e21dd}\label{classMaterialPicker_af8e26ebb70e7267035e7b0b5ae2e21dd}} 
void {\bfseries slot\+Material\+Changed} ()
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classMaterialPicker_ac191b3d17fabd777d9b5075764b65f1f}\label{classMaterialPicker_ac191b3d17fabd777d9b5075764b65f1f}} 
Q\+String \hyperlink{classMaterialPicker_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{classMaterialPicker_ac67484899850c36a99f33156e8f208dd}\label{classMaterialPicker_ac67484899850c36a99f33156e8f208dd}} 
Q\+String \hyperlink{classMaterialPicker_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{classMaterialPicker_a55c9580f695da9f1823291e381f9a8de}\label{classMaterialPicker_a55c9580f695da9f1823291e381f9a8de}} 
const std\+::string {\bfseries pick\+Mode\+Name\+\_\+}
\item 
\mbox{\Hypertarget{classMaterialPicker_a89dc16e39ac704d6fbd1c20b35f67ec0}\label{classMaterialPicker_a89dc16e39ac704d6fbd1c20b35f67ec0}} 
const Q\+String {\bfseries prop\+Name\+\_\+}
\item 
\mbox{\Hypertarget{classMaterialPicker_a3e128f40980c28068c7a80ee37ab5805}\label{classMaterialPicker_a3e128f40980c28068c7a80ee37ab5805}} 
Q\+Push\+Button $\ast$ {\bfseries pick\+Material\+Button\+\_\+}
\item 
\mbox{\Hypertarget{classMaterialPicker_a8712767f62b46e84f82d9156f97fe5dc}\label{classMaterialPicker_a8712767f62b46e84f82d9156f97fe5dc}} 
Q\+Push\+Button $\ast$ {\bfseries fill\+Material\+Button\+\_\+}
\item 
\mbox{\Hypertarget{classMaterialPicker_a9a4d343176ac67d955415db7e113f71c}\label{classMaterialPicker_a9a4d343176ac67d955415db7e113f71c}} 
Q\+List\+Widget $\ast$ {\bfseries material\+List\+Widget\+\_\+}
\item 
\mbox{\Hypertarget{classMaterialPicker_a278f603656d10d5b9f9cb63e2677bef7}\label{classMaterialPicker_a278f603656d10d5b9f9cb63e2677bef7}} 
Q\+Vector$<$ \hyperlink{structMaterialPicker_1_1MaterialInfo}{Material\+Info} $>$ {\bfseries material\+List\+\_\+}
\item 
\mbox{\Hypertarget{classMaterialPicker_aef1be99d69442681974287238bb1d484}\label{classMaterialPicker_aef1be99d69442681974287238bb1d484}} 
Q\+String\+List {\bfseries material\+Strings\+\_\+}
\item 
\mbox{\Hypertarget{classMaterialPicker_afabe56e1f1e601cbfdc0fbac8ec0ac29}\label{classMaterialPicker_afabe56e1f1e601cbfdc0fbac8ec0ac29}} 
std\+::map$<$ int, size\+\_\+t $>$ {\bfseries short\+Key\+Row\+\_\+}
\item 
\mbox{\Hypertarget{classMaterialPicker_a6dddee5c8dacf3469e5f574586175dd9}\label{classMaterialPicker_a6dddee5c8dacf3469e5f574586175dd9}} 
ptr\+::shared\+\_\+ptr$<$ \hyperlink{BaseObjectData_8hh_a3a689dfbad9465332a5ad72b9406ffa0}{Material\+Node} $>$ {\bfseries material\+Node\+\_\+}
\item 
\mbox{\Hypertarget{classMaterialPicker_a0e792b77bdbf9831e0408c31978b457a}\label{classMaterialPicker_a0e792b77bdbf9831e0408c31978b457a}} 
bool \hyperlink{classMaterialPicker_a0e792b77bdbf9831e0408c31978b457a}{pick\+Material\+\_\+}
\begin{DoxyCompactList}\small\item\em stores the state of the pick material button \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classMaterialPicker_a06d2c6f74fef36829de6571335ad8444}\label{classMaterialPicker_a06d2c6f74fef36829de6571335ad8444}} 
bool \hyperlink{classMaterialPicker_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{classMaterialPicker_af4a3f3e012d1c67115c55cb1e227707d}\label{classMaterialPicker_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{classMaterialPicker_a2b2bc210ddfd3b97ac521e7dd118c8d5}\label{classMaterialPicker_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{classBaseInterface_a43f0d3612695b53c848c14f48fea9a7a}{Base\+Interface}.



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

\mbox{\Hypertarget{classMaterialPicker_a5bb7c1ae05f7417d3dcdce7c2bcfcf99}\label{classMaterialPicker_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{classBaseInterface_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}
