![]() |
Crossfire Resources Editor
|
Combobox displaying a list of treasure lists, allowing selection and search. More...
#include <TreasureListComboBox.h>
Inheritance diagram for TreasureListComboBox:
Collaboration diagram for TreasureListComboBox:Public Member Functions | |
| const treasurelist * | list () const |
| Get the selected treasure list. More... | |
| void | setList (const treasurelist *list) |
| Set the selected list. More... | |
| TreasureListComboBox (QWidget *parent, bool allowNone) | |
| Standard constructor. More... | |
Properties | |
| const treasurelist | list |
Combobox displaying a list of treasure lists, allowing selection and search.
Definition at line 23 of file TreasureListComboBox.h.
| TreasureListComboBox::TreasureListComboBox | ( | QWidget * | parent, |
| bool | allowNone | ||
| ) |
Standard constructor.
| parent | ancestor of this widget. |
| allowNone | whether to allow "(none)" treasure list. |
Definition at line 18 of file TreasureListComboBox.cpp.
References CREPixmap::getTreasureIcon(), CREPixmap::getTreasureOneIcon(), list, and names.
Here is the call graph for this function:| const treasurelist* TreasureListComboBox::list | ( | ) | const |
Get the selected treasure list.
| void TreasureListComboBox::setList | ( | const treasurelist * | list | ) |
Set the selected list.
| list | list to select. |
Definition at line 37 of file TreasureListComboBox.cpp.
References list.
Referenced by TreasurePanel::dropEvent().
Here is the caller graph for this function:
|
readwrite |
Definition at line 26 of file TreasureListComboBox.h.
Referenced by setList(), and TreasureListComboBox().