Extcap argument representing a timestamp input.
More...
#include <extcap_argument.h>
|
|
virtual void | setDefaultValue () |
| | Sets the timestamp to its default value.
|
| |
| virtual void | setDefaultValue () |
| | Slot to set the argument to its default value.
|
| |
| void | onBoolChanged (bool val) |
| | Slot to handle boolean value changes.
|
| |
| void | onIntChanged (int val) |
| | Slot to handle integer value changes.
|
| |
| void | onStringChanged (QString val) |
| | Slot to handle string value changes.
|
| |
|
| | ExtArgTimestamp (extcap_arg *argument, QObject *parent=Q_NULLPTR) |
| | Constructs an ExtArgTimestamp.
|
| |
| virtual QWidget * | createEditor (QWidget *parent) |
| | Creates the datetime editor widget.
|
| |
| virtual bool | isValid () |
| | Checks if the timestamp input is valid.
|
| |
| virtual QString | defaultValue () |
| | Retrieves the default timestamp value.
|
| |
| virtual QString | value () |
| | Retrieves the current timestamp value.
|
| |
| virtual QString | prefValue () |
| | Retrieves the preference value for the timestamp.
|
| |
| virtual bool | isSetDefaultValueSupported () |
| | Checks if setting a default timestamp is supported.
|
| |
| | ExtcapArgument (QObject *parent=Q_NULLPTR) |
| | Constructs an empty ExtcapArgument.
|
| |
| | ExtcapArgument (extcap_arg *argument, QObject *parent=Q_NULLPTR) |
| | Constructs an ExtcapArgument from a core extcap_arg structure.
|
| |
| | ExtcapArgument (const ExtcapArgument &obj) |
| | Copy constructor for ExtcapArgument.
|
| |
|
virtual | ~ExtcapArgument () |
| | Destroys the ExtcapArgument.
|
| |
| virtual QWidget * | createLabel (QWidget *parent=0) |
| | Creates a label widget for this argument.
|
| |
| virtual extcap_arg * | argument () |
| | Retrieves the underlying extcap_arg structure.
|
| |
| virtual QString | call () |
| | Retrieves the call string for this argument.
|
| |
| bool | isDefault () |
| | Checks if the argument currently holds its default value.
|
| |
| bool | isRequired () |
| | Checks if the argument is required.
|
| |
| bool | isSufficient () |
| | Checks if the argument provides sufficient information on its own.
|
| |
| bool | reload () |
| | Reloads the argument data.
|
| |
| QString | prefKey (const QString &device_name, const QString &option_name, const QString &option_value) |
| | Generates a preference key for this argument.
|
| |
|
void | resetValue () |
| | Resets the argument to its initial value.
|
| |
| virtual QString | group () const |
| | Retrieves the group name this argument belongs to.
|
| |
| virtual int | argNr () const |
| | Retrieves the argument number.
|
| |
Extcap argument representing a timestamp input.
◆ ExtArgTimestamp()
| ExtArgTimestamp::ExtArgTimestamp |
( |
extcap_arg * |
argument, |
|
|
QObject * |
parent = Q_NULLPTR |
|
) |
| |
Constructs an ExtArgTimestamp.
- Parameters
-
| argument | Pointer to the core extcap_arg. |
| parent | The parent QObject. |
◆ createEditor()
| QWidget * ExtArgTimestamp::createEditor |
( |
QWidget * |
parent | ) |
|
|
virtual |
Creates the datetime editor widget.
- Parameters
-
| parent | The parent widget for the editor. |
- Returns
- A pointer to the created datetime widget.
Reimplemented from ExtcapArgument.
◆ defaultValue()
| QString ExtArgTimestamp::defaultValue |
( |
| ) |
|
|
virtual |
Retrieves the default timestamp value.
- Returns
- The default timestamp string.
Reimplemented from ExtcapArgument.
◆ isSetDefaultValueSupported()
| bool ExtArgTimestamp::isSetDefaultValueSupported |
( |
| ) |
|
|
virtual |
Checks if setting a default timestamp is supported.
- Returns
- True if supported, false otherwise.
Reimplemented from ExtcapArgument.
◆ isValid()
| bool ExtArgTimestamp::isValid |
( |
| ) |
|
|
virtual |
Checks if the timestamp input is valid.
- Returns
- True if valid, false otherwise.
Reimplemented from ExtcapArgument.
◆ prefValue()
| QString ExtArgTimestamp::prefValue |
( |
| ) |
|
|
virtual |
Retrieves the preference value for the timestamp.
- Returns
- The preference value string.
Reimplemented from ExtcapArgument.
◆ value()
| QString ExtArgTimestamp::value |
( |
| ) |
|
|
virtual |
Retrieves the current timestamp value.
- Returns
- The current timestamp string.
Reimplemented from ExtcapArgument.
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/extcap_argument.h
- /builds/wireshark/wireshark/ui/qt/extcap_argument.cpp