![]() |
Crossfire Resources Editor
|
Display details about a random map. More...
#include <RandomMapPanel.h>
Inheritance diagram for CRERandomMapPanel:
Collaboration diagram for CRERandomMapPanel:Public Member Functions | |
| CRERandomMapPanel (QWidget *parent) | |
| virtual void | updateItem () override |
| Called when myItem was updated. More... | |
Public Member Functions inherited from AssetSWrapperPanel< const RandomMap > | |
| AssetSWrapperPanel (QWidget *parent) | |
| virtual void | setAsset (AssetWrapper *asset) override |
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 () |
Private Attributes | |
| QTextEdit * | myInformation |
| QLabel * | mySource |
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) |
Protected Attributes inherited from AssetSWrapperPanel< const RandomMap > | |
| const RandomMap * | myItem |
| Item to display. More... | |
Protected Attributes inherited from AssetWrapperPanel | |
| AssetWrapper * | myAsset |
| QMetaObject::Connection | myChanged |
| QMetaObject::Connection | myDelete |
| bool | myInhibit |
| QGridLayout * | myLayout |
| QList< PropertyLink > | myLinks |
| QTabWidget * | myTab |
Display details about a random map.
Definition at line 25 of file RandomMapPanel.h.
| CRERandomMapPanel::CRERandomMapPanel | ( | QWidget * | parent | ) |
Definition at line 19 of file RandomMapPanel.cpp.
References myInformation, AssetWrapperPanel::myLayout, and mySource.
|
overridevirtual |
Called when myItem was updated.
Implements AssetSWrapperPanel< const RandomMap >.
Definition at line 28 of file RandomMapPanel.cpp.
References CREMapInformation::displayName(), RandomMap::map(), myInformation, AssetSWrapperPanel< const RandomMap >::myItem, mySource, RandomMap::parameters(), RandomMap::x(), and RandomMap::y().
Here is the call graph for this function:
|
private |
Definition at line 33 of file RandomMapPanel.h.
Referenced by CRERandomMapPanel(), and updateItem().
|
private |
Definition at line 32 of file RandomMapPanel.h.
Referenced by CRERandomMapPanel(), and updateItem().