summaryrefslogtreecommitdiff
path: root/mainwindow.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-09-28 06:23:26 +0200
committerToni Uhlig <matzeton@googlemail.com>2023-09-29 06:23:26 +0200
commita739ae878b909412bb098a27f5c5fe35a7702b27 (patch)
tree19919ebc1136ff9b0883d5ace53d36077a4fe091 /mainwindow.h
parentbee123e9811d53d4f852839b7dd3e6bfdba5245e (diff)
Added IP address randomizer.
* added "Save Selection" menu action Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/mainwindow.h b/mainwindow.h
index f5e1c39..5670898 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -21,8 +21,16 @@ public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
pcpp::RawPacket* currentSelectedPacket();
+ bool addTableRow(const pcpp::Packet& packet);
+ bool setTableRow(size_t index, const pcpp::Packet& packet);
+
private:
struct {
+ QMenu menu;
+ QAction randomize;
+ } tableContextMenu;
+
+ struct {
QMenu contextMenu;
QAction prependBytes;
QAction appendBytes;
@@ -33,8 +41,8 @@ private:
} myHexEdit;
time_t firstPacketTs;
- PcapPlusPlus *ppp;
Ui::MainWindow *ui;
+ PcapPlusPlus *ppp;
signals:
void processPcap();