Dialog for managing Wireshark configuration profiles.
More...
#include <profile_dialog.h>
|
| virtual void | keyPressEvent (QKeyEvent *event) |
| | Handles key press events within the dialog.
|
| |
| QLabel * | autoSwitchLimitLabel () const |
| | Gets the auto switch limit label UI element.
|
| |
| void | 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.
◆ ProfileAction
Actions that can be performed on profiles.
| Enumerator |
|---|
| ShowProfiles | Show the profiles dialog.
|
| NewProfile | Create a new profile.
|
| ImportZipProfile | Import a profile from a ZIP archive.
|
| ImportDirProfile | Import a profile from a directory.
|
| ExportSingleProfile | Export a single profile.
|
| ExportAllProfiles | Export all profiles.
|
| EditCurrentProfile | Edit the current profile.
|
| DeleteCurrentProfile | Delete the current profile.
|
◆ ProfileDialog()
| ProfileDialog::ProfileDialog |
( |
QWidget * |
parent = Q_NULLPTR | ) |
|
|
explicit |
◆ autoSwitchLimitLabel()
| QLabel * ProfileDialog::autoSwitchLimitLabel |
( |
| ) |
const |
|
protected |
Gets the auto switch limit label UI element.
- Returns
- Pointer to the QLabel.
◆ execAction()
Executes a specific profile action.
- Parameters
-
| profile_action | The action to execute. |
- Returns
- The result code of the action.
◆ keyPressEvent()
| void ProfileDialog::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protectedvirtual |
Handles key press events within the dialog.
- Parameters
-
| event | The key press event. |
◆ selectProfile()
| 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.
- Parameters
-
| profile | the name of the profile to be selected |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/profile_dialog.h
- /builds/wireshark/wireshark/ui/qt/profile_dialog.cpp