Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

capture_file_properties_dialog.h
1 /* capture_file_properties_dialog.h
2 *
3 * GSoC 2013 - QtShark
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11
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 {
37 class CaptureFilePropertiesDialog;
38 }
39
40 class QAbstractButton;
41
42 class CaptureFilePropertiesDialog : public WiresharkDialog
43 {
44 Q_OBJECT
45
46 public:
47 explicit CaptureFilePropertiesDialog(QWidget &parent, CaptureFile& capture_file);
48 ~CaptureFilePropertiesDialog();
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 on_buttonBox_helpRequested();
66 void on_buttonBox_accepted();
67 void on_buttonBox_clicked(QAbstractButton *button);
68 void on_buttonBox_rejected();
69 };
70
71 #endif
72
73 /*
74 * Editor modelines
75 *
76 * Local Variables:
77 * c-basic-offset: 4
78 * tab-width: 8
79 * indent-tabs-mode: nil
80 * End:
81 *
82 * ex: set shiftwidth=4 tabstop=8 expandtab:
83 * :indentSize=4:tabSize=8:noTabs=true:
84 */
Ui
Definition: ui_about_dialog.h:291
capture.h
CaptureFilePropertiesDialog
Definition: capture_file_properties_dialog.h:42
strutil.h
Ui::CaptureFilePropertiesDialog
Definition: ui_capture_file_properties_dialog.h:120
WiresharkDialog
Definition: wireshark_dialog.h:32
_capture_file
Definition: cfile.h:58
CaptureFile
Definition: capture_file.h:22