|
Crossfire Server, Trunk
|
#include <TreasureListComboBox.h>
Inheritance diagram for TreasureListComboBox:
Collaboration diagram for TreasureListComboBox: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 AssetsCollection< T, Key >::each(), getManager(), CREPixmap::getTreasureIcon(), CREPixmap::getTreasureOneIcon(), list, treasurelist::name, names, treasurelist::total_chance, and AssetsManager::treasures().
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().