A button that presents a menu to copy settings from existing profiles.
More...
#include <copy_from_profile_button.h>
|
| void | copyProfile (QString filename) |
| | Signal emitted when a profile has been selected for copying.
|
| |
A button that presents a menu to copy settings from existing profiles.
◆ CopyFromProfileButton()
| CopyFromProfileButton::CopyFromProfileButton |
( |
QWidget * |
parent = Q_NULLPTR, |
|
|
QString |
profileFile = QString(), |
|
|
QString |
toolTip = QString() |
|
) |
| |
Constructs a new CopyFromProfileButton.
- Parameters
-
| parent | The parent widget, defaults to Q_NULLPTR. |
| profileFile | The target configuration file to copy, defaults to an empty string. |
| toolTip | The tooltip text for the button, defaults to an empty string. |
◆ copyProfile
| void CopyFromProfileButton::copyProfile |
( |
QString |
filename | ) |
|
|
signal |
Signal emitted when a profile has been selected for copying.
- Parameters
-
| filename | The name of the profile or file to copy from. |
◆ setFilename()
| void CopyFromProfileButton::setFilename |
( |
QString |
filename | ) |
|
Sets the target configuration filename for copying.
- Parameters
-
| filename | The configuration filename. |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/widgets/copy_from_profile_button.h
- /builds/wireshark/wireshark/ui/qt/widgets/copy_from_profile_button.cpp