| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
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 <string.h>
18#include <time.h>
19
20#include <epan/strutil.h>
21#include <wiretap/wtap.h>
22
23#include "file.h"
24
25#ifdef HAVE_LIBPCAP
26 #include "ui/capture.h"
27 #include "ui/capture_globals.h"
28#endif
29
30#include "wireshark_dialog.h"
31
32#include <QClipboard>
33
34 namespace Ui {
35 class CaptureFilePropertiesDialog;
36}
37
38 class QAbstractButton;
39
40 class CaptureFilePropertiesDialog : public WiresharkDialog
41{
42 Q_OBJECT
43
44 public:
45 explicit CaptureFilePropertiesDialog(QWidget &parent, CaptureFile& capture_file);
46 virtual ~CaptureFilePropertiesDialog();
47
48 protected:
49 virtual QString getStartTextString() const;
50 virtual QString getFirstItemString() const;
51 virtual QString getLastItemString() const;
52 virtual QString getEndTextString() const;
53 virtual QString getDroppedItemString() const;
54 virtual QString getItemSizeLimitString() const;
55 virtual QString getRowTitleString() const;
56 virtual QString getAvgItemSizeString() const;
57 virtual QString getItemCommentString() const;
58 virtual QString getCreatedByString() const;
59
60
61signals:
62 void captureCommentChanged();
63
64 protected slots:
65 void changeEvent(QEvent* event);
66
67
68 private:
69 Ui::CaptureFilePropertiesDialog *ui;
70
71 QString summaryToHtml();
72 void fillDetails();
73
74 private slots:
75 void updateWidgets();
76 void addCaptureComment();
77 void on_buttonBox_helpRequested();
78 void on_buttonBox_clicked(QAbstractButton *button);
79 void on_buttonBox_rejected();
80};
81
82#endif
capture.h
capture_globals.h
CaptureFile
Definition capture_file.h:21
CaptureFilePropertiesDialog
Definition capture_file_properties_dialog.h:41
WiresharkDialog
Definition wireshark_dialog.h:35
file.h
_capture_file
Definition cfile.h:71
strutil.h
wireshark_dialog.h
wtap.h