Crossfire Server, Trunk
|
#include <RecipePanel.h>
Public Member Functions | |
RecipePanel (QWidget *parent) | |
virtual void | setItem (AssetWrapper *asset) override |
![]() | |
ArchetypeComboBox * | addArchetype (const QString &label, const char *property, bool readOnly=false, bool allowNone=true) |
void | addBottomFiller () |
QCheckBox * | addCheckBox (const QString &label, const char *property, bool readOnly=true) |
void | addFaceChoice (const QString &label, const char *property, bool readOnly=true, bool allowNone=true) |
QLabel * | addLabel (const QString &label, const char *property) |
QLineEdit * | addLineEdit (const QString &label, const char *property, bool readOnly=true) |
QSpinBox * | addSpinBox (const QString &label, const char *property, int min=0, int max=100, bool readOnly=true) |
QTextEdit * | addTextEdit (const QString &label, const char *property, bool readOnly=true) |
TreasureListComboBox * | addTreasureList (const QString &label, const char *property, bool readOnly=true, bool allowNone=true) |
AssetWrapperPanel (QWidget *parent) | |
![]() | |
CRETPanel (QWidget *parent) | |
![]() | |
virtual void | commitData () |
CREPanel (QWidget *parent) | |
virtual | ~CREPanel () |
Protected Attributes | |
QTreeWidget * | myArchetypes |
QTextEdit * | myIngredients |
![]() | |
AssetWrapper * | myAsset |
QMetaObject::Connection | myChanged |
QMetaObject::Connection | myDelete |
bool | myInhibit |
QGridLayout * | myLayout |
QList< PropertyLink > | myLinks |
Additional Inherited Members | |
![]() | |
void | dataChanged () |
void | itemChanged () |
![]() | |
template<class T > | |
T * | addWidget (const QString &label, T *widget, bool sideBySide, const char *property, const char *widgetProperty) |
Definition at line 9 of file RecipePanel.h.
RecipePanel::RecipePanel | ( | QWidget * | parent | ) |
Definition at line 11 of file RecipePanel.cpp.
References AssetWrapperPanel::addCheckBox(), AssetWrapperPanel::addLineEdit(), AssetWrapperPanel::addTextEdit(), myArchetypes, myIngredients, and AssetWrapperPanel::myLayout.
|
overridevirtual |
Reimplemented from AssetWrapperPanel.
Definition at line 30 of file RecipePanel.cpp.
References archininventory::arch, CREUtils::archetypeNode(), AssetsManager::archetypes(), AssetsCollection< T, Key >::find(), getManager(), myArchetypes, myIngredients, give::name, and AssetWrapperPanel::setItem().
|
protected |
Definition at line 18 of file RecipePanel.h.
Referenced by RecipePanel(), and setItem().
|
protected |
Definition at line 19 of file RecipePanel.h.
Referenced by RecipePanel(), and setItem().