Crossfire Server, Trunk
CRESubItemQuest Class Reference

#include <CREPrePostPanel.h>

+ Inheritance diagram for CRESubItemQuest:
+ Collaboration diagram for CRESubItemQuest:

Public Member Functions

 CRESubItemQuest (CREPrePostList::Mode mode, 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
 
QRadioButton * myBelowStep
 
QComboBox * myFirstStep
 
QRadioButton * myFromStep
 
bool myInit
 
CREPrePostList::Mode myMode
 
QComboBox * myQuestList
 
QComboBox * mySecondStep
 
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()

Member Function Documentation

◆ checkToggled

void CRESubItemQuest::checkToggled ( bool  checked)
privateslot

Definition at line 324 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:

◆ fillQuestSteps()

void CRESubItemQuest::fillQuestSteps ( )
private

◆ selectedQuestChanged

void CRESubItemQuest::selectedQuestChanged ( int  index)
privateslot

Definition at line 256 of file CREPrePostPanel.cpp.

References AssetsCollection< T, Key >::find(), getManager(), myFirstStep, myMode, myQuestList, mySecondStep, CREPrePostList::PostConditions, and AssetsManager::quests().

Referenced by CRESubItemQuest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ selectedStepChanged

void CRESubItemQuest::selectedStepChanged ( int  index)
privateslot

Definition at line 333 of file CREPrePostPanel.cpp.

References npc_dialog::index, and updateData().

Referenced by CRESubItemQuest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setData()

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

◆ updateData()

void CRESubItemQuest::updateData ( )
private

Field Documentation

◆ myAtStep

QRadioButton* CRESubItemQuest::myAtStep
private

Definition at line 74 of file CREPrePostPanel.h.

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

◆ myBelowStep

QRadioButton* CRESubItemQuest::myBelowStep
private

For quest condition.

Definition at line 75 of file CREPrePostPanel.h.

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

◆ myFirstStep

QComboBox* CRESubItemQuest::myFirstStep
private

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

Definition at line 71 of file CREPrePostPanel.h.

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

◆ myFromStep

QRadioButton* CRESubItemQuest::myFromStep
private

Definition at line 76 of file CREPrePostPanel.h.

Referenced by CRESubItemQuest(), and setData().

◆ myInit

bool CRESubItemQuest::myInit
private

Definition at line 78 of file CREPrePostPanel.h.

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

◆ myMode

CREPrePostList::Mode CRESubItemQuest::myMode
private

Definition at line 67 of file CREPrePostPanel.h.

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

◆ myQuestList

QComboBox* CRESubItemQuest::myQuestList
private

List of quests.

Definition at line 69 of file CREPrePostPanel.h.

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

◆ mySecondStep

QComboBox* CRESubItemQuest::mySecondStep
private

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

Definition at line 73 of file CREPrePostPanel.h.

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

◆ myStepRange

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: