|
| bool | openCaptureFile (QString cf_path, QString display_filter, unsigned int type, bool is_tempfile=false) |
| | Opens a capture file.
|
| |
| bool | openCaptureFile (QString cf_path=QString(), QString display_filter=QString()) |
| | Convenience overload that auto-detects file type.
|
| |
| void | filterPackets (QString new_filter=QString(), bool force=false) override |
| | Applies a new display filter to the open capture file.
|
| |
|
void | layoutToolbars () |
| | Repositions and resizes toolbars according to current layout settings.
|
| |
|
void | updatePreferenceActions () |
| | Refreshes menu items that reflect preference values.
|
| |
|
void | updateRecentActions () |
| | Rebuilds the File → Open Recent submenu from the recent-files list.
|
| |
|
void | updateAggregationView () const |
| | Refreshes the packet aggregation view to reflect the current capture state.
|
| |
|
void | setTitlebarForCaptureFile () |
| | Updates the window title bar to reflect the current capture file name and state.
|
| |
|
void | showCaptureOptionsDialog () |
| | Opens the capture options dialog (interface selection, filters, etc.).
|
| |
|
void | captureFileOpened () |
| | Updates UI state when a capture file is first opened.
|
| |
|
void | captureFileReadFinished () |
| | Updates UI state after a capture file has been fully read.
|
| |
|
void | captureFileClosing () |
| | Updates UI state while a capture file is being closed.
|
| |
|
void | captureFileClosed () |
| | Resets UI state after a capture file has been fully closed.
|
| |
| void | launchRLCGraph (bool channelKnown, uint8_t RAT, uint16_t ueid, uint8_t rlcMode, uint16_t channelType, uint16_t channelId, uint8_t direction) |
| | Opens the LTE RLC graph dialog for a specific channel.
|
| |
| void | rtpPlayerDialogReplaceRtpStreams (QVector< rtpstream_id_t * > stream_ids) |
| | Replaces all streams in the RTP Player dialog with the given stream list.
|
| |
| void | rtpPlayerDialogAddRtpStreams (QVector< rtpstream_id_t * > stream_ids) |
| | Adds streams to the RTP Player dialog.
|
| |
| void | rtpPlayerDialogRemoveRtpStreams (QVector< rtpstream_id_t * > stream_ids) |
| | Removes streams from the RTP Player dialog.
|
| |
| void | rtpAnalysisDialogReplaceRtpStreams (QVector< rtpstream_id_t * > stream_ids) |
| | Replaces all streams in the RTP Analysis dialog with the given stream list.
|
| |
| void | rtpAnalysisDialogAddRtpStreams (QVector< rtpstream_id_t * > stream_ids) |
| | Adds streams to the RTP Analysis dialog.
|
| |
| void | rtpAnalysisDialogRemoveRtpStreams (QVector< rtpstream_id_t * > stream_ids) |
| | Removes streams from the RTP Analysis dialog.
|
| |
| void | rtpStreamsDialogSelectRtpStreams (QVector< rtpstream_id_t * > stream_ids) |
| | Selects the given streams in the RTP Streams dialog.
|
| |
| void | rtpStreamsDialogDeselectRtpStreams (QVector< rtpstream_id_t * > stream_ids) |
| | Deselects the given streams in the RTP Streams dialog.
|
| |
Public Slots inherited from MainWindow |
| void | setDisplayFilter (QString filter, FilterAction::Action action, FilterAction::ActionType filterType) |
| | Sets the display filter and performs an action.
|
| |
| virtual void | filterPackets (QString new_filter, bool force)=0 |
| | Filters the packets.
|
| |
| virtual void | showPreferencesDialog (QString module_name)=0 |
| | Shows the preferences dialog for a specific module.
|
| |
| virtual void | showIOGraphDialog (io_graph_item_unit_t value_units, QString yfield)=0 |
| | Shows the IO graph dialog.
|
| |
| virtual void | showPlotDialog (const QString &y_field, bool filtered)=0 |
| | Shows a plot dialog.
|
| |
|
void | layoutPanes () |
| | Recalculates and lays out the panes.
|
| |
|
void | applyRecentPaneGeometry () |
| | Applies the most recent pane geometry settings.
|
| |
|
void | updateForUnsavedChanges () |
| | Updates the UI to reflect unsaved changes.
|
| |
| void | cyclePane (bool reverse=false) |
| | Cycles the focus through the available panes.
|
| |
|
| | WiresharkMainWindow (QWidget *parent=nullptr) |
| | Constructs the Wireshark main window and initialises all menus, toolbars, and UI components.
|
| |
|
| ~WiresharkMainWindow () |
| | Destroys the main window and releases all associated resources.
|
| |
| QMenu * | createPopupMenu () override |
| | Creates and returns the window's right-click popup menu.
|
| |
| CaptureFile * | captureFile () |
| | Returns a pointer to the current capture file object.
|
| |
|
void | setFunnelMenus (void) |
| | Rebuilds the Lua funnel statistics menus from registered funnel entries.
|
| |
| void | removeAdditionalToolbar (QString toolbarName) |
| | Removes an additional (plugin/interface) toolbar by name.
|
| |
| void | addInterfaceToolbar (const iface_toolbar *toolbar_entry) |
| | Adds an interface toolbar for the given toolbar descriptor.
|
| |
| void | removeInterfaceToolbar (const char *menu_title) |
| | Removes the interface toolbar with the given menu title.
|
| |
| QString | getMwFileName () |
| | Returns the file path currently shown in the main window title bar.
|
| |
| void | setMwFileName (QString fileName) |
| | Sets the file path shown in the main window title bar.
|
| |
Public Member Functions inherited from MainWindow |
| | MainWindow (QWidget *parent=nullptr) |
| | Constructs a new MainWindow.
|
| |
|
| ~MainWindow () |
| | Destroys the MainWindow.
|
| |
| void | setMainWindowTitle (QString title=QString()) |
| | Sets the title of the main window.
|
| |
| bool | hasSelection () |
| | Checks if there is a current selection.
|
| |
| bool | hasUniqueSelection () |
| | Checks if the current selection is unique.
|
| |
| QList< int > | selectedRows (bool useFrameNum=false) |
| | Retrieves the selected rows.
|
| |
| void | insertColumn (QString name, QString abbrev, int pos=-1) |
| | Inserts a column into the view.
|
| |
| void | gotoFrame (int packet_num) |
| | Navigates to a specific frame number.
|
| |
| frame_data * | frameDataForRow (int row) const |
| | Retrieves frame data for a specific row.
|
| |
| QString | getFilter () |
| | Retrieves the current display filter.
|
| |
| MainStatusBar * | statusBar () |
| | Retrieves the main status bar.
|
| |
| void | appendPacketMenu (FunnelAction *funnel_action) |
| | Appends a custom packet menu action.
|
| |
| QList< QAction * > | getPacketMenuActions () |
| | Retrieves the list of custom packet menu actions.
|
| |
|
void | clearAddedPacketMenus () |
| | Clears the recently added custom packet menus.
|
| |
| bool | addPacketMenus (QMenu *ctx_menu, GPtrArray *finfo_array) |
| | Adds packet menus to the given context menu.
|
| |
|
| bool | eventFilter (QObject *obj, QEvent *event) override |
| | Filters events on watched objects (e.g. focus changes on child widgets).
|
| |
| bool | event (QEvent *event) override |
| | Handles window-level events such as activation changes.
|
| |
| void | keyPressEvent (QKeyEvent *event) override |
| | Handles key press events for global keyboard shortcuts.
|
| |
| void | closeEvent (QCloseEvent *event) override |
| | Prompts the user to save unsaved changes before closing the window.
|
| |
| void | dragEnterEvent (QDragEnterEvent *event) override |
| | Accepts drag-enter events for capture files dragged onto the window.
|
| |
| void | dropEvent (QDropEvent *event) override |
| | Opens a capture file dropped onto the window.
|
| |
| void | changeEvent (QEvent *event) override |
| | Responds to locale or palette changes by retranslating the UI.
|
| |
| void | openRecentCaptureFile (const QString &filename) override |
| | Opens the given recent capture file, handling any necessary prompts.
|
| |
| bool | tryClosingCaptureFile (QString before_what, FileCloseContext context=Default) override |
| | Attempts to close the current capture file, prompting the user to save if there are unsaved changes.
|
| |
Protected Member Functions inherited from MainWindow |
|
void | showWelcome () |
| | Displays the welcome screen.
|
| |
|
void | showCapture () |
| | Displays the main capture view.
|
| |
|
void | setTitlebarForCaptureInProgress () |
| | Sets the title bar text for when a capture is in progress.
|
| |
| void | setIconForCaptureInProgress (bool capture_in_progress) |
| | Sets the window icon to indicate if a capture is in progress.
|
| |
| QWidget * | getLayoutWidget (layout_pane_content_e type) |
| | Retrieves the widget corresponding to a layout pane content type.
|
| |
| void | populateRecentCapturesMenu () |
| | Populate the recent captures menu. Calls openRecentCaptureFile() for each menu item action.
|
| |
| void | retranslateUiElements () |
| | Handle retranslation of UI elements in MainWindow.
|
| |
Wireshark main application window, extending MainWindow with the full Wireshark feature set including live capture, telephony analysis, RTP stream handling, wireless tools, and plugin/Lua integration.