Crossfire Server, Trunk  R20576
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::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::~CREStringListPanel ( )
virtual

Definition at line 29 of file CREStringListPanel.cpp.

Member Function Documentation

◆ clearData()

void CREStringListPanel::clearData ( )

Definition at line 33 of file CREStringListPanel.cpp.

Referenced by CRERulePanel::setMessageRule().

Here is the caller graph for this function:

◆ commitData()

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:

◆ dataModified

void CREStringListPanel::dataModified ( )
signal

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

Here is the caller graph for this function:

◆ getData()

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:

◆ onAddItem

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:

◆ onCurrentItemChanged

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:

◆ onDeleteItem

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:

◆ onTextEditChanged

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:

◆ setData()

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

◆ myCurrentLine

int CREStringListPanel::myCurrentLine
private

◆ myItems

QListWidget* CREStringListPanel::myItems
private

◆ myTextEdit

QTextEdit* CREStringListPanel::myTextEdit
private

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