![]() |
Crossfire Resources Editor
|
Display details about a map. More...
#include <CREMapPanel.h>
Inheritance diagram for CREMapPanel:
Collaboration diagram for CREMapPanel:Public Member Functions | |
| CREMapPanel (ScriptFileManager *manager, QWidget *parent) | |
| virtual void | updateItem () override |
| Called when myItem was updated. More... | |
| virtual | ~CREMapPanel () |
Public Member Functions inherited from AssetSWrapperPanel< CREMapInformation > | |
| 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 () |
Protected Attributes | |
| QLabel * | myBackgroundMusic |
| QTreeWidget * | myExitsFrom |
| QTreeWidget * | myExitsTo |
| ScriptFileManager * | myManager |
| QLabel * | myName |
| QTreeWidget * | myScripts |
Protected Attributes inherited from AssetSWrapperPanel< CREMapInformation > | |
| CREMapInformation * | 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 |
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) |
Display details about a map.
Definition at line 26 of file CREMapPanel.h.
| CREMapPanel::CREMapPanel | ( | ScriptFileManager * | manager, |
| QWidget * | parent | ||
| ) |
Definition at line 42 of file CREMapPanel.cpp.
References fillEvents(), myBackgroundMusic, myExitsFrom, myExitsTo, AssetWrapperPanel::myLayout, myManager, myName, and myScripts.
Here is the call graph for this function:
|
virtual |
Definition at line 71 of file CREMapPanel.cpp.
|
overridevirtual |
Called when myItem was updated.
Implements AssetSWrapperPanel< CREMapInformation >.
Definition at line 75 of file CREMapPanel.cpp.
References CREMapInformation::accessedFrom(), CREMapInformation::backgroundMusic, HookInformation::eventName(), events, CREMapInformation::exitsTo(), CREPixmap::getIcon(), ScriptFile::hooks(), HookInformation::itemName(), HookInformation::map(), myBackgroundMusic, myExitsFrom, myExitsTo, AssetSWrapperPanel< CREMapInformation >::myItem, myManager, myName, myScripts, CREMapInformation::name, ScriptFile::path(), HookInformation::pluginName(), ScriptFileManager::scriptsForMap(), HookInformation::x(), and HookInformation::y().
Here is the call graph for this function:
|
protected |
Definition at line 41 of file CREMapPanel.h.
Referenced by CREMapPanel(), and updateItem().
|
protected |
Definition at line 39 of file CREMapPanel.h.
Referenced by CREMapPanel(), and updateItem().
|
protected |
Definition at line 38 of file CREMapPanel.h.
Referenced by CREMapPanel(), and updateItem().
|
protected |
Definition at line 36 of file CREMapPanel.h.
Referenced by CREMapPanel(), and updateItem().
|
protected |
Definition at line 37 of file CREMapPanel.h.
Referenced by CREMapPanel(), and updateItem().
|
protected |
Definition at line 40 of file CREMapPanel.h.
Referenced by CREMapPanel(), and updateItem().