Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Signals | Public Member Functions | List of all members
CopyFromProfileButton Class Reference

A button that presents a menu to copy settings from existing profiles. More...

#include <copy_from_profile_button.h>

Inheritance diagram for CopyFromProfileButton:

Signals

void copyProfile (QString filename)
 Signal emitted when a profile has been selected for copying.
 

Public Member Functions

 CopyFromProfileButton (QWidget *parent=Q_NULLPTR, QString profileFile=QString(), QString toolTip=QString())
 Constructs a new CopyFromProfileButton.
 
void setFilename (QString filename)
 Sets the target configuration filename for copying.
 

Detailed Description

A button that presents a menu to copy settings from existing profiles.

Constructor & Destructor Documentation

◆ CopyFromProfileButton()

CopyFromProfileButton::CopyFromProfileButton ( QWidget *  parent = Q_NULLPTR,
QString  profileFile = QString(),
QString  toolTip = QString() 
)

Constructs a new CopyFromProfileButton.

Parameters
parentThe parent widget, defaults to Q_NULLPTR.
profileFileThe target configuration file to copy, defaults to an empty string.
toolTipThe tooltip text for the button, defaults to an empty string.

Member Function Documentation

◆ copyProfile

void CopyFromProfileButton::copyProfile ( QString  filename)
signal

Signal emitted when a profile has been selected for copying.

Parameters
filenameThe name of the profile or file to copy from.

◆ setFilename()

void CopyFromProfileButton::setFilename ( QString  filename)

Sets the target configuration filename for copying.

Parameters
filenameThe configuration filename.

The documentation for this class was generated from the following files: