![]() |
Crossfire Resources Editor
|
Display and allow edition of a list of multiline strings. More...
#include <CREStringListPanel.h>
Inheritance diagram for CREStringListPanel:
Collaboration diagram for CREStringListPanel: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().
Here is the call graph for this function:
|
virtual |
Definition at line 46 of file CREStringListPanel.cpp.
|
private |
Definition at line 66 of file CREStringListPanel.cpp.
References myItems.
Referenced by onAddItem(), and setData().
Here is the caller graph for this function:| QStringList CREStringListPanel::data | ( | ) | const |
Definition at line 58 of file CREStringListPanel.cpp.
References myItems.
Referenced by CREStringListDelegate::setModelData().
Here is the caller graph for this function:
|
protectedslot |
Definition at line 74 of file CREStringListPanel.cpp.
References createItem(), and myItems.
Referenced by CREStringListPanel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedslot |
Definition at line 79 of file CREStringListPanel.cpp.
References myItems.
Referenced by CREStringListPanel().
Here is the caller graph for this function:
|
protectedslot |
Definition at line 86 of file CREStringListPanel.cpp.
References myOriginal, and setData().
Referenced by CREStringListPanel().
Here is the call graph for this function:
Here is the caller graph for this function:| void CREStringListPanel::setData | ( | const QStringList & | list | ) |
Definition at line 50 of file CREStringListPanel.cpp.
References createItem(), myItems, and myOriginal.
Referenced by onReset(), and CREStringListDelegate::setEditorData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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.