Wireshark
4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
ui
qt
extcap_argument_file.h
Go to the documentation of this file.
1
10
#ifndef UI_QT_EXTCAP_ARGUMENT_FILE_H_
11
#define UI_QT_EXTCAP_ARGUMENT_FILE_H_
12
13
#include <QObject>
14
#include <QWidget>
15
#include <QLineEdit>
16
17
#include <
extcap_parser.h
>
18
#include <
extcap_argument.h
>
19
20
class
ExtcapArgumentFileSelection
:
public
ExtcapArgument
21
{
22
Q_OBJECT
23
24
public
:
25
ExtcapArgumentFileSelection
(
extcap_arg
* argument, QObject * parent = Q_NULLPTR);
26
virtual
~ExtcapArgumentFileSelection
();
27
28
virtual
QWidget * createEditor(QWidget * parent);
29
30
virtual
QString value();
31
32
virtual
bool
isValid();
33
34
virtual
void
setDefaultValue();
35
36
protected
:
37
QLineEdit * textBox;
38
39
private
slots:
40
/* opens the file dialog */
41
void
openFileDialog();
42
/* clears previously entered filename */
43
void
clearFilename();
44
};
45
46
#endif
/* UI_QT_EXTCAP_ARGUMENT_FILE_H_ */
ExtcapArgumentFileSelection
Definition
extcap_argument_file.h:21
ExtcapArgument
Definition
extcap_argument.h:71
extcap_argument.h
extcap_parser.h
_extcap_arg
Definition
extcap_parser.h:100
Generated by
1.9.8