Crossfire Server, Trunk  R20513
Public Member Functions | Protected Slots | Private Member Functions | Private Attributes
CREQuestPanel Class Reference

#include <CREQuestPanel.h>

Inheritance diagram for CREQuestPanel:
Inheritance graph
Collaboration diagram for CREQuestPanel:
Collaboration graph

Public Member Functions

virtual void commitData ()
 
 CREQuestPanel (QuestManager *manager, MessageManager *messageManager)
 
virtual void setItem (Quest *quest)
 
virtual ~CREQuestPanel ()
 
- Public Member Functions inherited from CREPanel
 CREPanel ()
 
virtual ~CREPanel ()
 

Protected Slots

void deleteStep (bool)
 
void moveDown (bool)
 
void moveUp (bool)
 

Private Member Functions

void displaySteps ()
 

Private Attributes

QCheckBox * myCanRestart
 
QLineEdit * myCode
 
QuestStepmyCurrentStep
 
QTextEdit * myDescription
 
QLineEdit * myFace
 
QComboBox * myFile
 
MessageManagermyMessageManager
 
QComboBox * myParent
 
QuestmyQuest
 
QuestManagermyQuestManager
 
QTreeView * mySteps
 
CREQuestItemModelmyStepsModel
 
QLineEdit * myTitle
 
QTreeWidget * myUse
 

Detailed Description

Definition at line 17 of file CREQuestPanel.h.

Constructor & Destructor Documentation

CREQuestPanel::CREQuestPanel ( QuestManager manager,
MessageManager messageManager 
)
CREQuestPanel::~CREQuestPanel ( )
virtual

Definition at line 114 of file CREQuestPanel.cpp.

Member Function Documentation

void CREQuestPanel::commitData ( )
virtual
void CREQuestPanel::deleteStep ( bool  )
protectedslot

Definition at line 211 of file CREQuestPanel.cpp.

References myQuest, mySteps, and myStepsModel.

Referenced by CREQuestPanel().

Here is the caller graph for this function:

void CREQuestPanel::displaySteps ( )
private

Definition at line 206 of file CREQuestPanel.cpp.

References myQuest, myStepsModel, and CREQuestItemModel::setQuest().

Referenced by setItem().

Here is the call graph for this function:

Here is the caller graph for this function:

void CREQuestPanel::moveDown ( bool  )
protectedslot

Definition at line 233 of file CREQuestPanel.cpp.

References CREQuestItemModel::moveDown(), myQuest, mySteps, and myStepsModel.

Referenced by CREQuestPanel().

Here is the call graph for this function:

Here is the caller graph for this function:

void CREQuestPanel::moveUp ( bool  )
protectedslot

Definition at line 222 of file CREQuestPanel.cpp.

References CREQuestItemModel::moveUp(), myQuest, mySteps, and myStepsModel.

Referenced by CREQuestPanel().

Here is the call graph for this function:

Here is the caller graph for this function:

void CREQuestPanel::setItem ( Quest quest)
virtual

Field Documentation

QCheckBox* CREQuestPanel::myCanRestart
private

Definition at line 37 of file CREQuestPanel.h.

Referenced by commitData(), CREQuestPanel(), and setItem().

QLineEdit* CREQuestPanel::myCode
private

Definition at line 33 of file CREQuestPanel.h.

Referenced by commitData(), CREQuestPanel(), and setItem().

QuestStep* CREQuestPanel::myCurrentStep
private

Definition at line 32 of file CREQuestPanel.h.

Referenced by CREQuestPanel(), and setItem().

QTextEdit* CREQuestPanel::myDescription
private

Definition at line 39 of file CREQuestPanel.h.

Referenced by commitData(), CREQuestPanel(), and setItem().

QLineEdit* CREQuestPanel::myFace
private

Definition at line 35 of file CREQuestPanel.h.

Referenced by commitData(), CREQuestPanel(), and setItem().

QComboBox* CREQuestPanel::myFile
private

Definition at line 36 of file CREQuestPanel.h.

Referenced by commitData(), CREQuestPanel(), and setItem().

MessageManager* CREQuestPanel::myMessageManager
private

Definition at line 30 of file CREQuestPanel.h.

Referenced by CREQuestPanel(), and setItem().

QComboBox* CREQuestPanel::myParent
private

Definition at line 38 of file CREQuestPanel.h.

Referenced by commitData(), CREQuestPanel(), and setItem().

Quest* CREQuestPanel::myQuest
private
QuestManager* CREQuestPanel::myQuestManager
private

Definition at line 29 of file CREQuestPanel.h.

Referenced by commitData(), CREQuestPanel(), and setItem().

QTreeView* CREQuestPanel::mySteps
private

Definition at line 41 of file CREQuestPanel.h.

Referenced by CREQuestPanel(), deleteStep(), moveDown(), and moveUp().

CREQuestItemModel* CREQuestPanel::myStepsModel
private

Definition at line 40 of file CREQuestPanel.h.

Referenced by CREQuestPanel(), deleteStep(), displaySteps(), moveDown(), and moveUp().

QLineEdit* CREQuestPanel::myTitle
private

Definition at line 34 of file CREQuestPanel.h.

Referenced by commitData(), CREQuestPanel(), and setItem().

QTreeWidget* CREQuestPanel::myUse
private

Definition at line 42 of file CREQuestPanel.h.

Referenced by CREQuestPanel(), and setItem().


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