|
Crossfire Resources Editor
|
#include <TreasureListComboBox.h>


Public Member Functions | |
| const treasurelist * | list () const |
| void | setList (const treasurelist *list) |
| TreasureListComboBox (QWidget *parent, bool allowNone) | |
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.

| 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().

|
readwrite |
Definition at line 26 of file TreasureListComboBox.h.
Referenced by setList(), and TreasureListComboBox().
1.8.17