|
Crossfire Server, Trunk
|
#include <CREReplyPanel.h>
Inheritance diagram for CREReplyPanel:
Collaboration diagram for CREReplyPanel:Signals | |
| void | dataModified () |
Public Member Functions | |
| CREReplyPanel (QWidget *parent) | |
| QList< QStringList > | getData () |
| void | setData (const QList< QStringList > &data) |
| virtual | ~CREReplyPanel () |
Private Slots | |
| void | currentReplyChanged (QTreeWidgetItem *, QTreeWidgetItem *) |
| void | onAddItem (bool) |
| void | onDeleteItem (bool) |
| void | onTextChanged (const QString &) |
| void | onTypeChanged (int) |
Private Member Functions | |
| void | setText (QTreeWidgetItem *item, QStringList data) |
| void | updateItem () |
Private Attributes | |
| QList< QStringList > | myData |
| QLineEdit * | myMessage |
| QTreeWidget * | myReplies |
| QLineEdit * | myText |
| QComboBox * | myType |
This panel is the 'replies' subpanel in the messages panel.
Definition at line 26 of file CREReplyPanel.h.
| CREReplyPanel::CREReplyPanel | ( | QWidget * | parent | ) |
Definition at line 16 of file CREReplyPanel.cpp.
References currentReplyChanged(), myMessage, myReplies, myText, myType, onAddItem(), onDeleteItem(), onTextChanged(), and onTypeChanged().
Here is the call graph for this function:
|
virtual |
Definition at line 49 of file CREReplyPanel.cpp.
|
privateslot |
Definition at line 126 of file CREReplyPanel.cpp.
References navar-midane_time::data, myData, myMessage, myReplies, myText, and myType.
Referenced by CREReplyPanel().
Here is the caller graph for this function:
|
signal |
Emitted when the data this panel manages changes .
Referenced by onAddItem(), onDeleteItem(), and updateItem().
Here is the caller graph for this function:| QList< QStringList > CREReplyPanel::getData | ( | ) |
Definition at line 63 of file CREReplyPanel.cpp.
References myData.
|
privateslot |
Definition at line 68 of file CREReplyPanel.cpp.
References dataModified(), myData, myReplies, and setText().
Referenced by CREReplyPanel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 78 of file CREReplyPanel.cpp.
References dataModified(), myData, and myReplies.
Referenced by CREReplyPanel().
Here is the caller graph for this function:
|
privateslot |
Definition at line 101 of file CREReplyPanel.cpp.
References updateItem().
Referenced by CREReplyPanel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 106 of file CREReplyPanel.cpp.
References updateItem().
Referenced by CREReplyPanel().
Here is the call graph for this function:
Here is the caller graph for this function:| void CREReplyPanel::setData | ( | const QList< QStringList > & | data | ) |
Definition at line 53 of file CREReplyPanel.cpp.
References navar-midane_time::data, myData, myReplies, say::reply, and setText().
Here is the call graph for this function:
|
private |
Fill a line of myReplies with the data.
| item | line to fill. |
| data | contents to put in the line. |
Definition at line 89 of file CREReplyPanel.cpp.
References navar-midane_time::data, and myType.
Referenced by onAddItem(), setData(), and updateItem().
Here is the caller graph for this function:
|
private |
Update the currently being edited reply with data in the various fields.
Definition at line 111 of file CREReplyPanel.cpp.
References navar-midane_time::data, dataModified(), myData, myMessage, myReplies, myText, myType, and setText().
Referenced by onTextChanged(), and onTypeChanged().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
The data this panel is working on.
Definition at line 43 of file CREReplyPanel.h.
Referenced by currentReplyChanged(), getData(), onAddItem(), onDeleteItem(), setData(), and updateItem().
|
private |
Zone to edit the message the NPC will say.
Definition at line 49 of file CREReplyPanel.h.
Referenced by CREReplyPanel(), currentReplyChanged(), and updateItem().
|
private |
Display for the replies.
Definition at line 45 of file CREReplyPanel.h.
Referenced by CREReplyPanel(), currentReplyChanged(), onAddItem(), onDeleteItem(), setData(), and updateItem().
|
private |
Zone to edit the reply keyword.
Definition at line 47 of file CREReplyPanel.h.
Referenced by CREReplyPanel(), currentReplyChanged(), and updateItem().
|
private |
Available reply type.
Definition at line 51 of file CREReplyPanel.h.
Referenced by CREReplyPanel(), currentReplyChanged(), setText(), and updateItem().