Crossfire Server, Trunk
CRESubItemQuest Class Reference

#include <CREPrePostPanel.h>

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

Public Member Functions

 CRESubItemQuest (PrePostWidget::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
 
PrePostWidget::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 69 of file CREPrePostPanel.h.

Constructor & Destructor Documentation

◆ CRESubItemQuest()

Member Function Documentation

◆ checkToggled

void CRESubItemQuest::checkToggled ( bool  checked)
privateslot

Definition at line 335 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 266 of file CREPrePostPanel.cpp.

References AssetsCollection< T, Key >::find(), getManager(), myFirstStep, myMode, myQuestList, mySecondStep, PrePostWidget::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 344 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 86 of file CREPrePostPanel.h.

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

◆ myBelowStep

QRadioButton* CRESubItemQuest::myBelowStep
private

For quest condition.

Definition at line 87 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 83 of file CREPrePostPanel.h.

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

◆ myFromStep

QRadioButton* CRESubItemQuest::myFromStep
private

Definition at line 88 of file CREPrePostPanel.h.

Referenced by CRESubItemQuest(), and setData().

◆ myInit

bool CRESubItemQuest::myInit
private

Definition at line 90 of file CREPrePostPanel.h.

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

◆ myMode

PrePostWidget::Mode CRESubItemQuest::myMode
private

Definition at line 79 of file CREPrePostPanel.h.

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

◆ myQuestList

QComboBox* CRESubItemQuest::myQuestList
private

List of quests.

Definition at line 81 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 85 of file CREPrePostPanel.h.

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

◆ myStepRange

QRadioButton* CRESubItemQuest::myStepRange
private

Definition at line 89 of file CREPrePostPanel.h.

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


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