Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
file_set_dialog.h
Go to the documentation of this file.
1
10#ifndef FILE_SET_DIALOG_H
11#define FILE_SET_DIALOG_H
12
13#include <config.h>
14
15#include "file.h"
16#include "fileset.h"
17
19
20#include <QItemSelection>
21
22namespace Ui {
23class FileSetDialog;
24}
25
27
32{
33 Q_OBJECT
34
35public:
40 explicit FileSetDialog(QWidget *parent = 0);
41
46
51 void fileOpened(const capture_file *cf);
52
56 void fileClosed();
57
62 void addFile(fileset_entry *entry = NULL);
63
67 void beginAddFile();
68
72 void endAddFile();
73
74signals:
79 void fileSetOpenCaptureFile(QString filePath);
80
81private slots:
86 void selectionChanged(const QItemSelection &selected, const QItemSelection &);
87
91 void on_buttonBox_helpRequested();
92
93private:
95 Ui::FileSetDialog *fs_ui_;
96
98 FilesetEntryModel *fileset_entry_model_;
99
101 QPushButton *close_button_;
102
104 int cur_idx_;
105};
106
107#endif // FILE_SET_DIALOG_H
A dialog for managing and displaying capture file sets.
Definition file_set_dialog.h:32
void fileClosed()
Handles the event when the capture file is closed.
Definition file_set_dialog.cpp:93
void endAddFile()
Finalizes the process of adding a new file to the dialog.
Definition file_set_dialog.cpp:114
void beginAddFile()
Prepares the dialog to begin adding a new file.
Definition file_set_dialog.cpp:106
void fileSetOpenCaptureFile(QString filePath)
Signal emitted to open a specific capture file from the set.
void addFile(fileset_entry *entry=NULL)
Adds a file entry to the file set dialog.
Definition file_set_dialog.cpp:97
~FileSetDialog()
Destroys the FileSetDialog.
Definition file_set_dialog.cpp:79
void fileOpened(const capture_file *cf)
Handles the event when a capture file in the set is opened.
Definition file_set_dialog.cpp:86
A model managing a list of fileset entries for UI display.
Definition fileset_entry_model.h:25
A dialog that remembers its geometry and splitter state.
Definition geometry_state_dialog.h:20
Represents a capture file and its associated metadata.
Definition cfile.h:84
Describes a single file belonging to a capture file set.
Definition fileset.h:25