summaryrefslogtreecommitdiff
path: root/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/mainwindow.h b/mainwindow.h
index 242ca65..74a6376 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -1,10 +1,12 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
+#include "bytewindow.h"
#include "pcapplusplus.h"
#include "qhexedit2/src/qhexedit.h"
#include <QMainWindow>
+#include <QMenu>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
@@ -19,10 +21,19 @@ public:
~MainWindow();
private:
- QHexEdit myHexEdit;
+ struct {
+ QMenu contextMenu;
+ QAction prependBytes;
+ QAction appendBytes;
+ QAction deleteBytes;
+ QAction deleteSelection;
+ QHexEdit editor;
+ ByteWindow bytewindow;
+ } myHexEdit;
+
time_t firstPacketTs;
- Ui::MainWindow *ui;
PcapPlusPlus *ppp;
+ Ui::MainWindow *ui;
signals:
void processPcap();