5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef CAPTURE_FILE_PROPERTIES_DIALOG_H
13 #define CAPTURE_FILE_PROPERTIES_DIALOG_H
20 #include <epan/strutil.h>
21 #include <wiretap/wtap.h>
26 #include "ui/capture.h"
27 #include "ui/capture_globals.h"
30 #include "wireshark_dialog.h"
35 class CaptureFilePropertiesDialog
;
38 class QAbstractButton
;
40 class CaptureFilePropertiesDialog
: public WiresharkDialog
45 explicit CaptureFilePropertiesDialog(QWidget
&parent
, CaptureFile
& capture_file
);
46 ~CaptureFilePropertiesDialog();
49 void captureCommentChanged();
52 void changeEvent(QEvent
* event
);
56 Ui::CaptureFilePropertiesDialog
*ui
;
58 QString
summaryToHtml();
63 void addCaptureComment();
64 void on_buttonBox_helpRequested();
65 void on_buttonBox_clicked(QAbstractButton
*button
);
66 void on_buttonBox_rejected();