![]() |
Crossfire Resources Editor
|
Display and allow edition of a treasure in a treasure list. More...
#include <TreasurePanel.h>
Inheritance diagram for TreasurePanel:
Collaboration diagram for TreasurePanel:Public Member Functions | |
| TreasurePanel (QWidget *parent) | |
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 void | setAsset (AssetWrapper *item) |
| virtual | ~AssetWrapperPanel () |
Protected Member Functions | |
| virtual void | dragEnterEvent (QDragEnterEvent *event) override |
| virtual void | dragMoveEvent (QDragMoveEvent *event) override |
| virtual void | dropEvent (QDropEvent *event) override |
Protected Member Functions inherited from AssetWrapperPanel | |
| template<class T > | |
| T * | addWidget (const QString &label, T *widget, bool sideBySide, const char *property, const char *widgetProperty) |
Protected Attributes | |
| ArchetypeComboBox * | myArch |
| TreasureListComboBox * | myList |
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 () |
Display and allow edition of a treasure in a treasure list.
Definition at line 26 of file TreasurePanel.h.
| TreasurePanel::TreasurePanel | ( | QWidget * | parent | ) |
Definition at line 22 of file TreasurePanel.cpp.
References AssetWrapperPanel::addArchetype(), AssetWrapperPanel::addBottomFiller(), AssetWrapperPanel::addLineEdit(), AssetWrapperPanel::addSpinBox(), AssetWrapperPanel::addTreasureList(), myArch, myList, and HelpManager::setHelpId().
Here is the call graph for this function:
|
overrideprotectedvirtual |
Definition at line 36 of file TreasurePanel.cpp.
References MimeUtils::Archetype, and MimeUtils::TreasureList.
|
overrideprotectedvirtual |
Definition at line 42 of file TreasurePanel.cpp.
|
overrideprotectedvirtual |
Definition at line 46 of file TreasurePanel.cpp.
References MimeUtils::Archetype, MimeUtils::extract(), myArch, myList, ArchetypeComboBox::setArch(), TreasureListComboBox::setList(), and MimeUtils::TreasureList.
Here is the call graph for this function:
|
protected |
Definition at line 33 of file TreasurePanel.h.
Referenced by dropEvent(), and TreasurePanel().
|
protected |
Definition at line 34 of file TreasurePanel.h.
Referenced by dropEvent(), and TreasurePanel().