Table view for displaying resolved network addresses, with built-in support for copying, exporting, and saving the address table in plain-text, CSV, and JSON formats.
More...
#include <resolved_addresses_view.h>
|
|
void | saveAs () |
| | Opens a file-save dialog and writes the full address table to a user-chosen file in the selected export format.
|
| |
|
| void | contextMenuEvent (QContextMenuEvent *e) override |
| | Presents a context menu with copy and save options at the cursor position.
|
| |
Table view for displaying resolved network addresses, with built-in support for copying, exporting, and saving the address table in plain-text, CSV, and JSON formats.
◆ eResolvedAddressesExport
Output format used when exporting or copying resolved address data.
| Enumerator |
|---|
| EXPORT_TEXT | Plain-text tabular format.
|
| EXPORT_CSV | Comma-separated values format.
|
| EXPORT_JSON | JSON array format.
|
◆ ResolvedAddressesView()
| ResolvedAddressesView::ResolvedAddressesView |
( |
QWidget * |
parent = nullptr | ) |
|
◆ contextMenuEvent()
| void ResolvedAddressesView::contextMenuEvent |
( |
QContextMenuEvent * |
e | ) |
|
|
overrideprotected |
Presents a context menu with copy and save options at the cursor position.
- Parameters
-
| e | The context menu event carrying the cursor position. |
◆ createCopyMenu()
| QMenu * ResolvedAddressesView::createCopyMenu |
( |
bool |
selected = false, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
Creates and returns a "Copy" submenu populated with format actions.
- Parameters
-
| selected | true to restrict copy actions to the current selection; false to copy all rows. |
| parent | Optional parent widget for the menu. |
- Returns
- Pointer to the newly created QMenu; caller takes ownership.
The documentation for this class was generated from the following files: