Crossfire Server, Trunk  R20513
Public Member Functions | Private Slots | Private Attributes
CRESubItemList Class Reference

Pre- or post- panel displaying script arguments as a string list. More...

#include <CREPrePostPanel.h>

Inheritance diagram for CRESubItemList:
Inheritance graph
Collaboration diagram for CRESubItemList:
Collaboration graph

Public Member Functions

 CRESubItemList (QWidget *parent)
 
void setData (const QStringList &data)
 
- Public Member Functions inherited from CRESubItemWidget
 CRESubItemWidget (QWidget *parent)
 

Private Slots

void currentSubItemChanged (int)
 
void onAddSubItem (bool)
 
void onDeleteSubItem (bool)
 
void subItemChanged (const QString &text)
 

Private Attributes

QStringList myData
 Current arguments. More...
 
QLineEdit * myItemEdit
 Argument edit zone. More...
 
QListWidget * mySubItems
 For one condition, arguments to the script. More...
 

Additional Inherited Members

- Signals inherited from CRESubItemWidget
void dataModified (const QStringList &data)
 

Detailed Description

Pre- or post- panel displaying script arguments as a string list.

Definition at line 116 of file CREPrePostPanel.h.

Constructor & Destructor Documentation

CRESubItemList::CRESubItemList ( QWidget *  parent)

Definition at line 8 of file CREPrePostPanel.cpp.

References currentSubItemChanged(), myItemEdit, mySubItems, onAddSubItem(), onDeleteSubItem(), and subItemChanged().

Here is the call graph for this function:

Member Function Documentation

void CRESubItemList::currentSubItemChanged ( int  )
privateslot

Definition at line 38 of file CREPrePostPanel.cpp.

References myItemEdit, and mySubItems.

Referenced by CRESubItemList().

Here is the caller graph for this function:

void CRESubItemList::onAddSubItem ( bool  )
privateslot

Definition at line 45 of file CREPrePostPanel.cpp.

References CRESubItemWidget::dataModified(), myData, and mySubItems.

Referenced by CRESubItemList().

Here is the caller graph for this function:

void CRESubItemList::onDeleteSubItem ( bool  )
privateslot

Definition at line 54 of file CREPrePostPanel.cpp.

References CRESubItemWidget::dataModified(), myData, and mySubItems.

Referenced by CRESubItemList().

Here is the caller graph for this function:

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

Implements CRESubItemWidget.

Definition at line 29 of file CREPrePostPanel.cpp.

References myData, myItemEdit, and mySubItems.

void CRESubItemList::subItemChanged ( const QString &  text)
privateslot

Definition at line 65 of file CREPrePostPanel.cpp.

References CRESubItemWidget::dataModified(), myData, and mySubItems.

Referenced by CRESubItemList().

Here is the caller graph for this function:

Field Documentation

QStringList CRESubItemList::myData
private

Current arguments.

Definition at line 130 of file CREPrePostPanel.h.

Referenced by onAddSubItem(), onDeleteSubItem(), setData(), and subItemChanged().

QLineEdit* CRESubItemList::myItemEdit
private

Argument edit zone.

Definition at line 128 of file CREPrePostPanel.h.

Referenced by CRESubItemList(), currentSubItemChanged(), and setData().

QListWidget* CRESubItemList::mySubItems
private

For one condition, arguments to the script.

Definition at line 126 of file CREPrePostPanel.h.

Referenced by CRESubItemList(), currentSubItemChanged(), onAddSubItem(), onDeleteSubItem(), setData(), and subItemChanged().


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