Crossfire Server, Trunk
CRERulePanel Class Reference

#include <CRERulePanel.h>

+ Inheritance diagram for CRERulePanel:
+ Collaboration diagram for CRERulePanel:

Signals

void currentRuleModified ()
 

Public Member Functions

 CRERulePanel (const MessageManager *manager, const QuestManager *quests, QWidget *parent)
 
void setMessageRule (MessageRule *rule)
 
virtual ~CRERulePanel ()
 

Protected Slots

void onIncludeModified ()
 
void onMatchModified ()
 
void onMessageModified ()
 
void onPostModified ()
 
void onPreModified ()
 
void onRepliesModified ()
 

Protected Attributes

QTextEdit * myInclude
 
QTextEdit * myMatches
 
CREStringListPanelmyMessages
 
CREPrePostPanelmyPost
 
CREPrePostPanelmyPre
 
CREReplyPanelmyReplies
 
MessageRulemyRule
 

Detailed Description

Definition at line 18 of file CRERulePanel.h.

Constructor & Destructor Documentation

◆ CRERulePanel()

CRERulePanel::CRERulePanel ( const MessageManager manager,
const QuestManager quests,
QWidget *  parent 
)

◆ ~CRERulePanel()

CRERulePanel::~CRERulePanel ( )
virtual

Definition at line 48 of file CRERulePanel.cpp.

Member Function Documentation

◆ currentRuleModified

void CRERulePanel::currentRuleModified ( )
signal

Referenced by onIncludeModified(), onMatchModified(), onMessageModified(), onPostModified(), onPreModified(), and onRepliesModified().

+ Here is the caller graph for this function:

◆ onIncludeModified

void CRERulePanel::onIncludeModified ( )
protectedslot

Definition at line 113 of file CRERulePanel.cpp.

References currentRuleModified(), myInclude, myRule, and MessageRule::setInclude().

Referenced by CRERulePanel().

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

◆ onMatchModified

void CRERulePanel::onMatchModified ( )
protectedslot

Definition at line 73 of file CRERulePanel.cpp.

References currentRuleModified(), myMatches, myRule, and MessageRule::setMatch().

Referenced by CRERulePanel().

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

◆ onMessageModified

void CRERulePanel::onMessageModified ( )
protectedslot

Definition at line 89 of file CRERulePanel.cpp.

References currentRuleModified(), CREStringListPanel::getData(), myMessages, myRule, and MessageRule::setMessages().

Referenced by CRERulePanel().

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

◆ onPostModified

void CRERulePanel::onPostModified ( )
protectedslot

Definition at line 97 of file CRERulePanel.cpp.

References currentRuleModified(), CREPrePostPanel::getData(), myPost, myRule, and MessageRule::setPostconditions().

Referenced by CRERulePanel().

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

◆ onPreModified

void CRERulePanel::onPreModified ( )
protectedslot

Definition at line 81 of file CRERulePanel.cpp.

References currentRuleModified(), CREPrePostPanel::getData(), myPre, myRule, and MessageRule::setPreconditions().

Referenced by CRERulePanel().

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

◆ onRepliesModified

void CRERulePanel::onRepliesModified ( )
protectedslot

Definition at line 105 of file CRERulePanel.cpp.

References currentRuleModified(), CREReplyPanel::getData(), myReplies, myRule, and MessageRule::setReplies().

Referenced by CRERulePanel().

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

◆ setMessageRule()

Field Documentation

◆ myInclude

QTextEdit* CRERulePanel::myInclude
protected

Definition at line 38 of file CRERulePanel.h.

Referenced by CRERulePanel(), onIncludeModified(), and setMessageRule().

◆ myMatches

QTextEdit* CRERulePanel::myMatches
protected

Definition at line 33 of file CRERulePanel.h.

Referenced by CRERulePanel(), onMatchModified(), and setMessageRule().

◆ myMessages

CREStringListPanel* CRERulePanel::myMessages
protected

Definition at line 35 of file CRERulePanel.h.

Referenced by CRERulePanel(), onMessageModified(), and setMessageRule().

◆ myPost

CREPrePostPanel* CRERulePanel::myPost
protected

Definition at line 36 of file CRERulePanel.h.

Referenced by CRERulePanel(), onPostModified(), and setMessageRule().

◆ myPre

CREPrePostPanel* CRERulePanel::myPre
protected

Definition at line 34 of file CRERulePanel.h.

Referenced by CRERulePanel(), onPreModified(), and setMessageRule().

◆ myReplies

CREReplyPanel* CRERulePanel::myReplies
protected

Definition at line 37 of file CRERulePanel.h.

Referenced by CRERulePanel(), onRepliesModified(), and setMessageRule().

◆ myRule


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