10 #ifndef WIRESHARK_DIALOG_H
11 #define WIRESHARK_DIALOG_H
43 virtual void keyPressEvent(QKeyEvent *event) { QDialog::keyPressEvent(event); }
44 virtual void accept();
45 virtual void reject();
75 const QString &windowSubtitle() {
return subtitle_; }
76 virtual void updateWidgets();
96 const char *filter,
unsigned flags,
97 tap_reset_cb tap_reset,
98 tap_packet_cb tap_packet,
99 tap_draw_cb tap_draw);
138 void dialogCleanup(
bool closeDialog =
false);
141 QList<void *> tap_listeners_;
Definition: capture_event.h:21
Definition: capture_file.h:21
Definition: geometry_state_dialog.h:17
Definition: wireshark_dialog.h:35
bool dialogClosed()
Check to see if the user has closed (and not minimized) the dialog.
Definition: wireshark_dialog.h:116
virtual void removeTapListeners()
Remove all tap listeners registered via registerTapListener.
Definition: wireshark_dialog.cpp:159
bool registerTapListener(const char *tap_name, void *tap_data, const char *filter, unsigned flags, tap_reset_cb tap_reset, tap_packet_cb tap_packet, tap_draw_cb tap_draw)
Convenience wrapper for register_tap_listener. Tap listeners registered via this function are automat...
Definition: wireshark_dialog.cpp:96
bool file_closed_
true if the file has been closed, false otherwise.
Definition: wireshark_dialog.h:110
virtual void captureFileClosed()
Called when the capture file was closed. This can be used to enable or disable widgets according to t...
Definition: wireshark_dialog.cpp:172
void setWindowSubtitle(const QString &subtitle)
Set the window subtitle, e.g. "Foo Timeouts". The subtitle and file name will be added to the dialog ...
Definition: wireshark_dialog.cpp:56
virtual void captureFileClosing()
Called when the capture file is about to close. This can be used to disconnect taps and similar actio...
Definition: wireshark_dialog.cpp:166
void beginRetapPackets()
Mark the start of a code block that retaps packets. If the user closes the dialog while tapping,...
Definition: wireshark_dialog.cpp:148
virtual void endRetapPackets()
Mark the end of a code block that retaps packets. If the user has closed the dialog it will be desroy...
Definition: wireshark_dialog.cpp:153