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

A dialog for configuring extcap device options. More...

#include <extcap_options_dialog.h>

Inheritance diagram for ExtcapOptionsDialog:

Public Member Functions

 ~ExtcapOptionsDialog ()
 Destroys the ExtcapOptionsDialog.
 
ExtcapValueList loadValuesFor (int argNum, QString call, QString parent="")
 Loads a list of available values for a specific argument.
 

Static Public Member Functions

static ExtcapOptionsDialogcreateForDevice (QString &device_name, bool startCaptureOnClose, QWidget *parent=0, QString *option_name=NULL, QString *option_value=NULL)
 Creates an ExtcapOptionsDialog for a specific device.
 

Detailed Description

A dialog for configuring extcap device options.

Member Function Documentation

◆ createForDevice()

ExtcapOptionsDialog * ExtcapOptionsDialog::createForDevice ( QString &  device_name,
bool  startCaptureOnClose,
QWidget *  parent = 0,
QString *  option_name = NULL,
QString *  option_value = NULL 
)
static

Creates an ExtcapOptionsDialog for a specific device.

Parameters
device_nameThe name of the extcap device.
startCaptureOnCloseTrue to automatically start the capture when the dialog closes.
parentThe parent widget, defaults to 0.
option_nameOptional pointer to a specific option name to configure.
option_valueOptional pointer to a specific option value to configure.
Returns
A pointer to the created ExtcapOptionsDialog.

◆ loadValuesFor()

ExtcapValueList ExtcapOptionsDialog::loadValuesFor ( int  argNum,
QString  call,
QString  parent = "" 
)

Loads a list of available values for a specific argument.

Parameters
argNumThe argument number.
callThe call string associated with the argument.
parentThe parent hierarchy string (defaults to an empty string).
Returns
A list of loaded ExtcapValue objects.

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