From e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 22:34:10 +0200 Subject: Adding upstream version 4.2.2. Signed-off-by: Daniel Baumann --- ui/qt/packet_comment_dialog.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 ui/qt/packet_comment_dialog.h (limited to 'ui/qt/packet_comment_dialog.h') diff --git a/ui/qt/packet_comment_dialog.h b/ui/qt/packet_comment_dialog.h new file mode 100644 index 00000000..114e8345 --- /dev/null +++ b/ui/qt/packet_comment_dialog.h @@ -0,0 +1,37 @@ +/** @file + * + * Wireshark - Network traffic analyzer + * By Gerald Combs + * Copyright 1998 Gerald Combs + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef PACKET_COMMENT_DIALOG_H +#define PACKET_COMMENT_DIALOG_H + +#include + +#include "geometry_state_dialog.h" + +namespace Ui { +class PacketCommentDialog; +} + +class PacketCommentDialog : public GeometryStateDialog +{ + Q_OBJECT + +public: + explicit PacketCommentDialog(bool isEdit, QWidget *parent = 0, QString comment = QString()); + ~PacketCommentDialog(); + QString text(); + +private slots: + void on_buttonBox_helpRequested(); + +private: + Ui::PacketCommentDialog *pc_ui_; +}; + +#endif // PACKET_COMMENT_DIALOG_H -- cgit v1.2.3