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

Pre- or post- conditions panel displaying a quest step. More...

#include <CREPrePostPanel.h>

Inheritance diagram for CRESubItemQuest:
Inheritance graph
Collaboration diagram for CRESubItemQuest:
Collaboration graph

Public Member Functions

 CRESubItemQuest (bool isPre, const QuestManager *quests, QWidget *parent)
 
virtual void setData (const QStringList &data)
 
- Public Member Functions inherited from CRESubItemWidget
 CRESubItemWidget (QWidget *parent)
 

Private Slots

void checkToggled (bool checked)
 
void selectedQuestChanged (int index)
 
void selectedStepChanged (int index)
 

Private Member Functions

void fillQuestSteps ()
 
void updateData ()
 

Private Attributes

QRadioButton * myAtStep
 
QComboBox * myFirstStep
 Steps of the current quest for new step (post-) or at/frop step (pre-). More...
 
QRadioButton * myFromStep
 
bool myInit
 
bool myIsPre
 
QComboBox * myQuestList
 List of quests. More...
 
const QuestManagermyQuests
 
QComboBox * mySecondStep
 Steps of the current quest for up to step (pre-). More...
 
QRadioButton * myStepRange
 

Additional Inherited Members

- Signals inherited from CRESubItemWidget
void dataModified (const QStringList &data)
 

Detailed Description

Pre- or post- conditions panel displaying a quest step.

Definition at line 57 of file CREPrePostPanel.h.

Constructor & Destructor Documentation

CRESubItemQuest::CRESubItemQuest ( bool  isPre,
const QuestManager quests,
QWidget *  parent 
)

Member Function Documentation

void CRESubItemQuest::checkToggled ( bool  checked)
privateslot

Definition at line 296 of file CREPrePostPanel.cpp.

References mySecondStep, myStepRange, and updateData().

Referenced by CRESubItemQuest().

Here is the call graph for this function:

Here is the caller graph for this function:

void CRESubItemQuest::fillQuestSteps ( )
private
void CRESubItemQuest::selectedQuestChanged ( int  index)
privateslot

Definition at line 235 of file CREPrePostPanel.cpp.

References QuestStep::description(), QuestStep::isCompletion(), myFirstStep, myIsPre, myQuests, mySecondStep, QuestManager::quests(), QuestStep::step(), and Quest::steps().

Referenced by CRESubItemQuest().

Here is the call graph for this function:

Here is the caller graph for this function:

void CRESubItemQuest::selectedStepChanged ( int  index)
privateslot

Definition at line 305 of file CREPrePostPanel.cpp.

References updateData().

Referenced by CRESubItemQuest().

Here is the call graph for this function:

Here is the caller graph for this function:

void CRESubItemQuest::setData ( const QStringList &  data)
virtual
void CRESubItemQuest::updateData ( )
private

Definition at line 261 of file CREPrePostPanel.cpp.

References CRESubItemWidget::dataModified(), myAtStep, myFirstStep, myInit, myIsPre, myQuestList, mySecondStep, and myStepRange.

Referenced by checkToggled(), and selectedStepChanged().

Here is the caller graph for this function:

Field Documentation

QRadioButton* CRESubItemQuest::myAtStep
private

Definition at line 75 of file CREPrePostPanel.h.

Referenced by CRESubItemQuest(), setData(), and updateData().

QComboBox* CRESubItemQuest::myFirstStep
private

Steps of the current quest for new step (post-) or at/frop step (pre-).

Definition at line 72 of file CREPrePostPanel.h.

Referenced by CRESubItemQuest(), selectedQuestChanged(), setData(), and updateData().

QRadioButton* CRESubItemQuest::myFromStep
private

Definition at line 76 of file CREPrePostPanel.h.

Referenced by CRESubItemQuest(), and setData().

bool CRESubItemQuest::myInit
private

Definition at line 78 of file CREPrePostPanel.h.

Referenced by CRESubItemQuest(), setData(), and updateData().

bool CRESubItemQuest::myIsPre
private

Definition at line 68 of file CREPrePostPanel.h.

Referenced by CRESubItemQuest(), selectedQuestChanged(), setData(), and updateData().

QComboBox* CRESubItemQuest::myQuestList
private

List of quests.

Definition at line 70 of file CREPrePostPanel.h.

Referenced by CRESubItemQuest(), setData(), and updateData().

const QuestManager* CRESubItemQuest::myQuests
private

Definition at line 67 of file CREPrePostPanel.h.

Referenced by CRESubItemQuest(), and selectedQuestChanged().

QComboBox* CRESubItemQuest::mySecondStep
private

Steps of the current quest for up to step (pre-).

Definition at line 74 of file CREPrePostPanel.h.

Referenced by checkToggled(), CRESubItemQuest(), selectedQuestChanged(), setData(), and updateData().

QRadioButton* CRESubItemQuest::myStepRange
private

Definition at line 77 of file CREPrePostPanel.h.

Referenced by checkToggled(), CRESubItemQuest(), setData(), and updateData().


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