10#ifndef EXPORT_OBJECT_DIALOG_H
11#define EXPORT_OBJECT_DIALOG_H
29class ExportObjectDialog;
91 void on_buttonBox_helpRequested();
97 void on_buttonBox_clicked(QAbstractButton *button);
103 void on_cmbContentType_currentIndexChanged(
int index);
109 void uniqueToggled(
bool checked);
117 void modelDataChanged(
const QModelIndex &topLeft,
int from,
int to);
122 void modelRowsReset();
128 void currentHasChanged(
const QModelIndex ¤t);
133 void selectionHasChanged(
const QItemSelection&);
141 bool mimeTypeIsPreviewable(QString mime_type);
148 void saveEntry(
const QModelIndex &proxyIndex, QString *tempFile =
nullptr);
154 void saveEntries(
const QModelIndexList &proxyIndices);
160 void saveCurrentEntry(QString *tempFile = Q_NULLPTR);
165 void saveSelectedEntries();
170 void saveDisplayedEntries();
175 void saveAllEntries();
178 Ui::ExportObjectDialog *eo_ui_;
181 QPushButton *save_bt_;
184 QToolButton *save_all_bt_;
193 QStringList contentTypes;
198 void updateContentTypes();
Represents an event occurring during a capture or file operation.
Definition capture_event.h:24
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
virtual void keyPressEvent(QKeyEvent *evt) override
Handles key press events for the dialog.
Definition export_object_dialog.cpp:216
void endRetapPackets() override
Finishes retap by cleaning up resources.
Definition export_object_dialog.cpp:206
void beginRetapPackets() override
Marks the beginning of a retap operation for packets.
Definition export_object_dialog.cpp:200
void show()
Displays the export object dialog.
Definition export_object_dialog.cpp:186
ExportObjectDialog(QWidget &parent, CaptureFile &cf, register_eo_t *eo)
Constructs a new ExportObjectDialog.
Definition export_object_dialog.cpp:33
~ExportObjectDialog()
Destroys the ExportObjectDialog.
Definition export_object_dialog.cpp:101
A table model managing a list of exportable objects extracted from network traffic.
Definition export_objects_model.h:81
A proxy model used for sorting and filtering export objects.
Definition export_objects_model.h:230
WiresharkDialog(QWidget &parent, CaptureFile &capture_file)
Constructs a new WiresharkDialog object.
Definition wireshark_dialog.cpp:30
virtual void accept() override
Accepts the dialog.
Definition wireshark_dialog.cpp:43
struct register_eo register_eo_t
Definition export_object.h:61