Crossfire Server, Trunk
|
#include <AssetWrapperPanel.h>
Public Member Functions | |
AssetSWrapperPanel (QWidget *parent) | |
virtual void | setAsset (AssetWrapper *asset) override |
virtual void | updateItem ()=0 |
Public Member Functions inherited from AssetWrapperPanel | |
ArchetypeComboBox * | addArchetype (const QString &label, const char *property, bool readOnly=false, bool allowNone=true) |
AssetUseTree * | addAssetUseTree (const QString &label, AssetModel *assets, const char *property) |
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, bool wrapText=false) |
QLineEdit * | addLineEdit (const QString &label, const char *property, bool readOnly=true) |
void | addQuestChoice (const QString &label, const char *property, bool readOnly=true, bool allowNone=true) |
QSpinBox * | addSpinBox (const QString &label, const char *property, int min=0, int max=100, bool readOnly=true) |
void | addTab (const QString &title) |
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) | |
virtual | ~AssetWrapperPanel () |
Protected Attributes | |
T * | myItem |
Protected Attributes inherited from AssetWrapperPanel | |
AssetWrapper * | myAsset |
QMetaObject::Connection | myChanged |
QMetaObject::Connection | myDelete |
bool | myInhibit |
QGridLayout * | myLayout |
QList< PropertyLink > | myLinks |
QTabWidget * | myTab |
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) |
Panel displaying information about an AssetWrapper which is its own wrapped item.
Definition at line 113 of file AssetWrapperPanel.h.
|
inline |
Definition at line 115 of file AssetWrapperPanel.h.
|
inlineoverridevirtual |
Reimplemented from AssetWrapperPanel.
Definition at line 117 of file AssetWrapperPanel.h.
|
pure virtual |
Called when myItem was updated.
Implemented in CREMessagePanel, CREMapPanel, AttackMessagePanel, CRERandomMapPanel, SoundFilePanel, GameSoundPanel, and GameSoundsPanel.
Referenced by AssetSWrapperPanel< GameSounds >::setAsset().
|
protected |
Item to display.
Definition at line 126 of file AssetWrapperPanel.h.
Referenced by AssetSWrapperPanel< GameSounds >::setAsset().