Crossfire Server, Trunk
CREReplyPanel.h
Go to the documentation of this file.
1
#ifndef _CREREPLYPANEL_H
2
#define _CREREPLYPANEL_H
3
4
#include <QWidget>
5
6
class
QTreeWidget;
7
class
QLineEdit;
8
class
QComboBox;
9
class
QTreeWidgetItem;
10
14
class
CREReplyPanel
:
public
QWidget
15
{
16
Q_OBJECT
17
18
public
:
19
CREReplyPanel
(QWidget* parent);
20
virtual
~CREReplyPanel
();
21
22
void
setData
(
const
QList<QStringList>&
data
);
23
QList<QStringList>
getData
();
24
25
signals:
27
void
dataModified
();
28
29
private
:
31
QList<QStringList>
myData
;
33
QTreeWidget*
myReplies
;
35
QLineEdit*
myText
;
37
QLineEdit*
myMessage
;
39
QComboBox*
myType
;
40
46
void
setText
(QTreeWidgetItem*
item
, QStringList
data
);
50
void
updateItem
();
51
52
private
slots:
53
void
currentReplyChanged
(QTreeWidgetItem*, QTreeWidgetItem*);
54
void
onAddItem
(
bool
);
55
void
onDeleteItem
(
bool
);
56
void
onTextChanged
(
const
QString&);
57
void
onTypeChanged
(
int
);
58
};
59
60
#endif
/* _CREREPLYPANEL_H */
CREReplyPanel::myText
QLineEdit * myText
Definition:
CREReplyPanel.h:35
CREReplyPanel::~CREReplyPanel
virtual ~CREReplyPanel()
Definition:
CREReplyPanel.cpp:37
CREReplyPanel::onTextChanged
void onTextChanged(const QString &)
Definition:
CREReplyPanel.cpp:89
CREReplyPanel::dataModified
void dataModified()
CREReplyPanel::currentReplyChanged
void currentReplyChanged(QTreeWidgetItem *, QTreeWidgetItem *)
Definition:
CREReplyPanel.cpp:114
CREReplyPanel::myMessage
QLineEdit * myMessage
Definition:
CREReplyPanel.h:37
CREReplyPanel::myData
QList< QStringList > myData
Definition:
CREReplyPanel.h:31
CREReplyPanel::onTypeChanged
void onTypeChanged(int)
Definition:
CREReplyPanel.cpp:94
CREReplyPanel::setData
void setData(const QList< QStringList > &data)
Definition:
CREReplyPanel.cpp:41
navar-midane_time.data
data
Definition:
navar-midane_time.py:11
CREReplyPanel
Definition:
CREReplyPanel.h:14
CREReplyPanel::getData
QList< QStringList > getData()
Definition:
CREReplyPanel.cpp:51
CREReplyPanel::updateItem
void updateItem()
Definition:
CREReplyPanel.cpp:99
item
Definition:
item.py:1
CREReplyPanel::setText
void setText(QTreeWidgetItem *item, QStringList data)
Definition:
CREReplyPanel.cpp:77
CREReplyPanel::onDeleteItem
void onDeleteItem(bool)
Definition:
CREReplyPanel.cpp:66
CREReplyPanel::myType
QComboBox * myType
Definition:
CREReplyPanel.h:39
CREReplyPanel::CREReplyPanel
CREReplyPanel(QWidget *parent)
Definition:
CREReplyPanel.cpp:4
CREReplyPanel::onAddItem
void onAddItem(bool)
Definition:
CREReplyPanel.cpp:56
CREReplyPanel::myReplies
QTreeWidget * myReplies
Definition:
CREReplyPanel.h:33
crossfire-crossfire-server
utils
cre
CREReplyPanel.h
Generated by
1.8.17