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

#include <CREStringListPanel.h>

Inheritance diagram for CREStringListPanel:
Inheritance graph
Collaboration diagram for CREStringListPanel:
Collaboration graph

Signals

void dataModified ()
 

Public Member Functions

void clearData ()
 
 CREStringListPanel (QWidget *parent)
 
QStringList getData () const
 
void setData (const QStringList &list)
 
virtual ~CREStringListPanel ()
 

Protected Slots

void onAddItem (bool)
 
void onCurrentItemChanged (int currentRow)
 
void onDeleteItem (bool)
 
void onTextEditChanged ()
 

Private Member Functions

void commitData ()
 

Private Attributes

int myCurrentLine
 
QListWidget * myItems
 
QTextEdit * myTextEdit
 

Detailed Description

Definition at line 12 of file CREStringListPanel.h.

Constructor & Destructor Documentation

CREStringListPanel::CREStringListPanel ( QWidget *  parent)

Definition at line 4 of file CREStringListPanel.cpp.

References myCurrentLine, myItems, myTextEdit, onAddItem(), onCurrentItemChanged(), onDeleteItem(), and onTextEditChanged().

Here is the call graph for this function:

CREStringListPanel::~CREStringListPanel ( )
virtual

Definition at line 29 of file CREStringListPanel.cpp.

Member Function Documentation

void CREStringListPanel::clearData ( )

Definition at line 33 of file CREStringListPanel.cpp.

Referenced by CRERulePanel::setMessageRule().

Here is the caller graph for this function:

void CREStringListPanel::commitData ( )
private

Definition at line 73 of file CREStringListPanel.cpp.

References dataModified(), myCurrentLine, myItems, and myTextEdit.

Referenced by onCurrentItemChanged().

Here is the caller graph for this function:

void CREStringListPanel::dataModified ( )
signal

Referenced by commitData(), onAddItem(), onDeleteItem(), and onTextEditChanged().

Here is the caller graph for this function:

QStringList CREStringListPanel::getData ( ) const

Definition at line 47 of file CREStringListPanel.cpp.

References myItems.

Referenced by CRERulePanel::onMessageModified().

Here is the caller graph for this function:

void CREStringListPanel::onAddItem ( bool  )
protectedslot

Definition at line 55 of file CREStringListPanel.cpp.

References dataModified(), and myItems.

Referenced by CREStringListPanel().

Here is the caller graph for this function:

void CREStringListPanel::onCurrentItemChanged ( int  currentRow)
protectedslot

Definition at line 82 of file CREStringListPanel.cpp.

References commitData(), myCurrentLine, myItems, and myTextEdit.

Referenced by CREStringListPanel().

Here is the call graph for this function:

Here is the caller graph for this function:

void CREStringListPanel::onDeleteItem ( bool  )
protectedslot

Definition at line 61 of file CREStringListPanel.cpp.

References dataModified(), myCurrentLine, myItems, and myTextEdit.

Referenced by CREStringListPanel().

Here is the caller graph for this function:

void CREStringListPanel::onTextEditChanged ( )
protectedslot

Definition at line 91 of file CREStringListPanel.cpp.

References dataModified(), myCurrentLine, myItems, and myTextEdit.

Referenced by CREStringListPanel().

Here is the caller graph for this function:

void CREStringListPanel::setData ( const QStringList &  list)

Definition at line 38 of file CREStringListPanel.cpp.

References myCurrentLine, myItems, and myTextEdit.

Referenced by CRERulePanel::setMessageRule().

Here is the caller graph for this function:

Field Documentation

int CREStringListPanel::myCurrentLine
private
QListWidget* CREStringListPanel::myItems
private
QTextEdit* CREStringListPanel::myTextEdit
private

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