![]() |
Crossfire Resources Editor
|
Combobox displaying a list of faces, allowing selection and search. More...
#include <FaceComboBox.h>
Inheritance diagram for FaceComboBox:
Collaboration diagram for FaceComboBox:Public Member Functions | |
| const Face * | face () const |
| Get the selected face. More... | |
| FaceComboBox (QWidget *parent, bool allowNone) | |
| Standard constructor. More... | |
| void | setFace (const Face *face) |
| Set the selected face. More... | |
| virtual | ~FaceComboBox () |
Properties | |
| const Face | face |
Combobox displaying a list of faces, allowing selection and search.
Definition at line 23 of file FaceComboBox.h.
| FaceComboBox::FaceComboBox | ( | QWidget * | parent, |
| bool | allowNone | ||
| ) |
Standard constructor.
| parent | ancestor of this widget. |
| allowNone | whether to allow "(none)" face. |
Definition at line 18 of file FaceComboBox.cpp.
References face, CREPixmap::getIcon(), and names.
Here is the call graph for this function:
|
virtual |
Definition at line 41 of file FaceComboBox.cpp.
| const Face* FaceComboBox::face | ( | ) | const |
Get the selected face.
| void FaceComboBox::setFace | ( | const Face * | face | ) |
Set the selected face.
| face | face to select. |
Definition at line 45 of file FaceComboBox.cpp.
References face.
Referenced by CRESmoothFaceMaker::setSelectedFace().
Here is the caller graph for this function:
|
readwrite |
Definition at line 27 of file FaceComboBox.h.
Referenced by FaceComboBox(), CRESmoothFaceMaker::makeSmooth(), and setFace().