Crossfire Server, Trunk
CREMapPanel Class Reference

#include <CREMapPanel.h>

+ Inheritance diagram for CREMapPanel:
+ Collaboration diagram for CREMapPanel:

Public Member Functions

 CREMapPanel (ScriptFileManager *manager, QWidget *parent)
 
virtual void updateItem () override
 
virtual ~CREMapPanel ()
 
- Public Member Functions inherited from AssetSWrapperPanel< CREMapInformation >
 AssetSWrapperPanel (QWidget *parent)
 
virtual void setAsset (AssetWrapper *asset) override
 
- Public Member Functions inherited from AssetWrapperPanel
ArchetypeComboBoxaddArchetype (const QString &label, const char *property, bool readOnly=false, bool allowNone=true)
 
AssetUseTreeaddAssetUseTree (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)
 
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)
 
TreasureListComboBoxaddTreasureList (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
 
ScriptFileManagermyManager
 
QLabel * myName
 
QTreeWidget * myScripts
 
- Protected Attributes inherited from AssetSWrapperPanel< CREMapInformation >
CREMapInformationmyItem
 
- Protected Attributes inherited from AssetWrapperPanel
AssetWrappermyAsset
 
QMetaObject::Connection myChanged
 
QMetaObject::Connection myDelete
 
bool myInhibit
 
QGridLayout * myLayout
 
QList< PropertyLinkmyLinks
 
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)
 

Detailed Description

Display details about a map.

Definition at line 26 of file CREMapPanel.h.

Constructor & Destructor Documentation

◆ CREMapPanel()

CREMapPanel::CREMapPanel ( ScriptFileManager manager,
QWidget *  parent 
)

Definition at line 42 of file CREMapPanel.cpp.

References fillEvents(), manager, myBackgroundMusic, myExitsFrom, myExitsTo, AssetWrapperPanel::myLayout, myManager, myName, and myScripts.

+ Here is the call graph for this function:

◆ ~CREMapPanel()

CREMapPanel::~CREMapPanel ( )
virtual

Definition at line 71 of file CREMapPanel.cpp.

Member Function Documentation

◆ updateItem()

Field Documentation

◆ myBackgroundMusic

QLabel* CREMapPanel::myBackgroundMusic
protected

Definition at line 40 of file CREMapPanel.h.

Referenced by CREMapPanel(), and updateItem().

◆ myExitsFrom

QTreeWidget* CREMapPanel::myExitsFrom
protected

Definition at line 38 of file CREMapPanel.h.

Referenced by CREMapPanel(), and updateItem().

◆ myExitsTo

QTreeWidget* CREMapPanel::myExitsTo
protected

Definition at line 37 of file CREMapPanel.h.

Referenced by CREMapPanel(), and updateItem().

◆ myManager

ScriptFileManager* CREMapPanel::myManager
protected

Definition at line 35 of file CREMapPanel.h.

Referenced by CREMapPanel(), and updateItem().

◆ myName

QLabel* CREMapPanel::myName
protected

Definition at line 36 of file CREMapPanel.h.

Referenced by CREMapPanel(), and updateItem().

◆ myScripts

QTreeWidget* CREMapPanel::myScripts
protected

Definition at line 39 of file CREMapPanel.h.

Referenced by CREMapPanel(), and updateItem().


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