diff options
Diffstat (limited to 'ui/qt/packet_comment_dialog.h')
-rw-r--r-- | ui/qt/packet_comment_dialog.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ui/qt/packet_comment_dialog.h b/ui/qt/packet_comment_dialog.h new file mode 100644 index 0000000..114e834 --- /dev/null +++ b/ui/qt/packet_comment_dialog.h @@ -0,0 +1,37 @@ +/** @file + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef PACKET_COMMENT_DIALOG_H +#define PACKET_COMMENT_DIALOG_H + +#include <glib.h> + +#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 |