|
Wireshark 5.1.0
The Wireshark network protocol analyzer
|
Dialog for managing Wireshark configuration profiles. More...
#include <profile_dialog.h>
Public Types | |
| enum | ProfileAction { ShowProfiles , NewProfile , ImportZipProfile , ImportDirProfile , ExportSingleProfile , ExportSingleProfileWithChildren , ExportAllProfiles , EditCurrentProfile , DeleteCurrentProfile } |
| Actions that can be performed on profiles. More... | |
Public Member Functions | |
| ProfileDialog (QWidget *parent=Q_NULLPTR) | |
| Constructs a ProfileDialog. | |
| virtual | ~ProfileDialog () |
| Destroys the ProfileDialog. | |
| int | execAction (ProfileAction profile_action) |
| Executes a specific profile action. | |
| void | selectProfile (QString profile=QString()) |
| Select the profile with the given name. | |
| Public Member Functions inherited from GeometryStateDialog | |
| GeometryStateDialog (QWidget *parent, Qt::WindowFlags f=Qt::Window) | |
| Constructs a new GeometryStateDialog with the specified parent and window flags. | |
| ~GeometryStateDialog () | |
| Save the geometry and splitter state and then destroy the GeometryStateDialog. | |
| void | setWindowModality (Qt::WindowModality windowModality) |
| Sets the window modality for the dialog. On non-macOS platforms, this also sets the parent to ensure modal dialogs are always on top of their parent. | |
Protected Member Functions | |
| virtual void | keyPressEvent (QKeyEvent *event) override |
| Handles key press events within the dialog. | |
| QLabel * | autoSwitchLimitLabel () const |
| Gets the auto switch limit label UI element. | |
| Protected Member Functions inherited from GeometryStateDialog | |
| bool | loadGeometry (int width=0, int height=0, const QString &dialog_name=QString()) |
| Loads the geometry and splitter state for the dialog. | |
| void | loadSplitterState (QSplitter *splitter=nullptr) |
| Loads the state of a splitter for the dialog. | |
Dialog for managing Wireshark configuration profiles.
Actions that can be performed on profiles.
|
explicit |
Constructs a ProfileDialog.
| parent | The parent widget. |
|
protected |
Gets the auto switch limit label UI element.
| int ProfileDialog::execAction | ( | ProfileDialog::ProfileAction | profile_action | ) |
Executes a specific profile action.
| profile_action | The action to execute. |
|
overrideprotectedvirtual |
Handles key press events within the dialog.
| event | The key press event. |
| void ProfileDialog::selectProfile | ( | QString | profile = QString() | ) |
Select the profile with the given name.
If the profile name is empty, the currently selected profile will be chosen instead. If the chosen profile is invalid, the first row will be chosen.
| profile | the name of the profile to be selected |