Diffstat (limited to 'noncore/net/wellenreiter/gui/packetview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/packetview.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/noncore/net/wellenreiter/gui/packetview.h b/noncore/net/wellenreiter/gui/packetview.h index ee3cf3a..b5f2b26 100644 --- a/noncore/net/wellenreiter/gui/packetview.h +++ b/noncore/net/wellenreiter/gui/packetview.h | |||
@@ -16,23 +16,32 @@ | |||
16 | #ifndef PACKETVIEW_H | 16 | #ifndef PACKETVIEW_H |
17 | #define PACKETVIEW_H | 17 | #define PACKETVIEW_H |
18 | 18 | ||
19 | #include <qvbox.h> | 19 | #include <qlist.h> |
20 | #include <qframe.h> | ||
20 | 21 | ||
21 | class QString; | 22 | class QString; |
22 | class QMultiLineEdit; | 23 | class QSpinBox; |
24 | class QLabel; | ||
25 | class QTextView; | ||
26 | class OPacket; | ||
23 | 27 | ||
24 | class PacketView: public QVBox | 28 | class PacketView: public QFrame |
25 | { | 29 | { |
26 | 30 | ||
27 | public: | 31 | public: |
28 | PacketView( QWidget * parent = 0, const char * name = "PacketView", WFlags f = 0 ); | 32 | PacketView( QWidget * parent = 0, const char * name = "PacketView", WFlags f = 0 ); |
29 | 33 | ||
30 | void log( const QString& text ); | 34 | void add( OPacket* p ); |
31 | const QString getLog() const; | 35 | const QString getLog() const; |
32 | void clear(); | 36 | void clear(); |
33 | 37 | ||
34 | protected: | 38 | protected: |
35 | QMultiLineEdit* ledit; | 39 | |
40 | QSpinBox* _number; | ||
41 | QLabel* _label; | ||
42 | QLabel* _list; | ||
43 | QTextView* _hex; | ||
44 | QList<OPacket> _packets; | ||
36 | 45 | ||
37 | }; | 46 | }; |
38 | 47 | ||