summaryrefslogtreecommitdiffstats
path: root/ui/qt/packet_comment_dialog.h
blob: 114e834559e50ae7cc996f42d35bc004fd51d6fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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