Wireshark  4.3.0
The Wireshark network protocol analyzer
capture_file_properties_dialog.h
Go to the documentation of this file.
1 
12 #ifndef CAPTURE_FILE_PROPERTIES_DIALOG_H
13 #define CAPTURE_FILE_PROPERTIES_DIALOG_H
14 
15 #include <config.h>
16 
17 #include <glib.h>
18 
19 #include <string.h>
20 #include <time.h>
21 
22 #include <epan/strutil.h>
23 #include <wiretap/wtap.h>
24 
25 #include "file.h"
26 
27 #ifdef HAVE_LIBPCAP
28  #include "ui/capture.h"
29  #include "ui/capture_globals.h"
30 #endif
31 
32 #include "wireshark_dialog.h"
33 
34 #include <QClipboard>
35 
36 namespace Ui {
38 }
39 
40 class QAbstractButton;
41 
43 {
44  Q_OBJECT
45 
46 public:
47  explicit CaptureFilePropertiesDialog(QWidget &parent, CaptureFile& capture_file);
49 
50 signals:
51  void captureCommentChanged();
52 
53 protected slots:
54  void changeEvent(QEvent* event);
55 
56 
57 private:
58  Ui::CaptureFilePropertiesDialog *ui;
59 
60  QString summaryToHtml();
61  void fillDetails();
62 
63 private slots:
64  void updateWidgets();
65  void addCaptureComment();
66  void on_buttonBox_helpRequested();
67  void on_buttonBox_clicked(QAbstractButton *button);
68  void on_buttonBox_rejected();
69 };
70 
71 #endif
Definition: capture_file.h:23
Definition: capture_file_properties_dialog.h:43
Definition: wireshark_dialog.h:35
Definition: cfile.h:67