Crossfire Server, Trunk
RecipePanel Class Reference

#include <RecipePanel.h>

+ Inheritance diagram for RecipePanel:
+ Collaboration diagram for RecipePanel:

Public Member Functions

 RecipePanel (QWidget *parent)
 
virtual void setItem (AssetWrapper *asset) override
 
- Public Member Functions inherited from AssetWrapperPanel
ArchetypeComboBoxaddArchetype (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)
 
TreasureListComboBoxaddTreasureList (const QString &label, const char *property, bool readOnly=true, bool allowNone=true)
 
 AssetWrapperPanel (QWidget *parent)
 
- Public Member Functions inherited from CRETPanel< AssetWrapper >
 CRETPanel (QWidget *parent)
 
- Public Member Functions inherited from CREPanel
virtual void commitData ()
 
 CREPanel (QWidget *parent)
 
virtual ~CREPanel ()
 

Protected Attributes

QTreeWidget * myArchetypes
 
QTextEdit * myIngredients
 
- Protected Attributes inherited from AssetWrapperPanel
AssetWrappermyAsset
 
QMetaObject::Connection myChanged
 
QMetaObject::Connection myDelete
 
bool myInhibit
 
QGridLayout * myLayout
 
QList< PropertyLinkmyLinks
 

Additional Inherited Members

- Protected Slots inherited from AssetWrapperPanel
void dataChanged ()
 
void itemChanged ()
 
- Protected Member Functions inherited from AssetWrapperPanel
template<class T >
T * addWidget (const QString &label, T *widget, bool sideBySide, const char *property, const char *widgetProperty)
 

Detailed Description

Definition at line 9 of file RecipePanel.h.

Constructor & Destructor Documentation

◆ RecipePanel()

RecipePanel::RecipePanel ( QWidget *  parent)

Member Function Documentation

◆ setItem()

void RecipePanel::setItem ( AssetWrapper asset)
overridevirtual

Field Documentation

◆ myArchetypes

QTreeWidget* RecipePanel::myArchetypes
protected

Definition at line 18 of file RecipePanel.h.

Referenced by RecipePanel(), and setItem().

◆ myIngredients

QTextEdit* RecipePanel::myIngredients
protected

Definition at line 19 of file RecipePanel.h.

Referenced by RecipePanel(), and setItem().


The documentation for this class was generated from the following files: