Crossfire Server, Trunk
|
#include <QuestComboBox.h>
Public Member Functions | |
const quest_definition * | quest () const |
QuestComboBox (QWidget *parent, bool allowNone) | |
void | setQuest (const quest_definition *quest) |
virtual | ~QuestComboBox () |
Properties | |
const quest_definition | quest |
Combobox displaying a list of quests, allowing selection and search.
Definition at line 23 of file QuestComboBox.h.
QuestComboBox::QuestComboBox | ( | QWidget * | parent, |
bool | allowNone | ||
) |
Standard constructor.
parent | ancestor of this widget. |
allowNone | whether to allow "(none)" face. |
Definition at line 20 of file QuestComboBox.cpp.
References AssetsCollection< T, Key >::each(), CREPixmap::getIcon(), getManager(), names, and AssetsManager::quests().
|
virtual |
Definition at line 41 of file QuestComboBox.cpp.
const quest_definition* QuestComboBox::quest | ( | ) | const |
Get the selected quest.
void QuestComboBox::setQuest | ( | const quest_definition * | quest | ) |
Set the selected quest.
quest | quest to select. |
Definition at line 45 of file QuestComboBox.cpp.
|
readwrite |
Definition at line 26 of file QuestComboBox.h.