An AccordionFrame for editing user-defined hostname mappings.
More...
#include <address_editor_frame.h>
|
| void | showNameResolutionPreferences (const QString module_name) |
| | Emitted when the user clicks the Name Resolution Preferences button.
|
|
void | redissectPackets () |
| | Emitted after a hostname mapping is saved, to trigger a full redissection.
|
| void | visibilityChanged (bool visible) |
| | Emitted when the frame's visibility changes.
|
|
| | AddressEditorFrame (QWidget *parent=0) |
| | Construct an AddressEditorFrame.
|
|
| ~AddressEditorFrame () |
| | Destroy the AddressEditorFrame and release its UI resources.
|
| | AccordionFrame (QWidget *parent=0) |
| | Create an AccordionFrame with the given parent.
|
|
void | animatedShow () |
| | Show the frame with a slide-down animation.
|
|
void | animatedHide () |
| | Hide the frame with a slide-up animation.
|
|
void | updateStyleSheet () |
| | Reapply the stylesheet after a palette or style change.
|
|
| virtual void | showEvent (QShowEvent *event) override |
| | Populate widgets with the latest address data when the frame becomes visible.
|
| virtual void | keyPressEvent (QKeyEvent *event) override |
| | Handle key press events.
|
|
virtual void | hideEvent (QHideEvent *) override |
| | Emit visibilityChanged(false) when the frame is hidden.
|
An AccordionFrame for editing user-defined hostname mappings.
◆ AddressEditorFrame()
| AddressEditorFrame::AddressEditorFrame |
( |
QWidget * | parent = 0 | ) |
|
|
explicit |
◆ editAddresses
| void AddressEditorFrame::editAddresses |
( |
CaptureFile & | cf, |
|
|
int | column = -1 ) |
|
slot |
Populate the frame with addresses from the selected packet.
- Parameters
-
| cf | The capture file containing the currently selected packet. |
| column | Zero-based packet-list column index to pre-select, or -1 to select the first available address. |
◆ keyPressEvent()
| void AddressEditorFrame::keyPressEvent |
( |
QKeyEvent * | event | ) |
|
|
overrideprotectedvirtual |
Handle key press events.
- Parameters
-
◆ showEvent()
| void AddressEditorFrame::showEvent |
( |
QShowEvent * | event | ) |
|
|
overrideprotectedvirtual |
Populate widgets with the latest address data when the frame becomes visible.
- Parameters
-
Reimplemented from AccordionFrame.
◆ showNameResolutionPreferences
| void AddressEditorFrame::showNameResolutionPreferences |
( |
const QString | module_name | ) |
|
|
signal |
Emitted when the user clicks the Name Resolution Preferences button.
- Parameters
-
| module_name | The preferences module name to open (e.g. "nameres"). |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/address_editor_frame.h
- /builds/wireshark/wireshark/ui/qt/address_editor_frame.cpp