Crossfire Server, Trunk
|
#include <CREStringListPanel.h>
Public Member Functions | |
CREStringListPanel (QWidget *parent) | |
QStringList | data () const |
void | setData (const QStringList &list) |
virtual | ~CREStringListPanel () |
Protected Slots | |
void | onAddItem (bool) |
void | onDeleteItem (bool) |
void | onReset (bool) |
Private Member Functions | |
QListWidgetItem * | createItem (const QString &text) |
Private Attributes | |
QListWidget * | myItems |
QStringList | myOriginal |
Display and allow edition of a list of multiline strings.
Definition at line 24 of file CREStringListPanel.h.
CREStringListPanel::CREStringListPanel | ( | QWidget * | parent | ) |
Definition at line 17 of file CREStringListPanel.cpp.
References myItems, onAddItem(), onDeleteItem(), and onReset().
|
virtual |
Definition at line 46 of file CREStringListPanel.cpp.
|
private |
Definition at line 66 of file CREStringListPanel.cpp.
References myItems, and guild_entry::text.
Referenced by onAddItem(), and setData().
QStringList CREStringListPanel::data | ( | ) | const |
Definition at line 58 of file CREStringListPanel.cpp.
References myItems.
Referenced by CREStringListDelegate::setModelData().
|
protectedslot |
Definition at line 74 of file CREStringListPanel.cpp.
References createItem(), and myItems.
Referenced by CREStringListPanel().
|
protectedslot |
Definition at line 79 of file CREStringListPanel.cpp.
References myItems.
Referenced by CREStringListPanel().
|
protectedslot |
Definition at line 86 of file CREStringListPanel.cpp.
References myOriginal, and setData().
Referenced by CREStringListPanel().
void CREStringListPanel::setData | ( | const QStringList & | list | ) |
Definition at line 50 of file CREStringListPanel.cpp.
References createItem(), guildoracle::list, myItems, and myOriginal.
Referenced by onReset(), and CREStringListDelegate::setEditorData().
|
private |
Definition at line 38 of file CREStringListPanel.h.
Referenced by createItem(), CREStringListPanel(), data(), onAddItem(), onDeleteItem(), and setData().
|
private |
Definition at line 39 of file CREStringListPanel.h.