Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
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
21{
22 Q_OBJECT
23
24public:
25 ExtcapArgumentFileSelection(extcap_arg * argument, QObject * parent = Q_NULLPTR);
27
28 virtual QWidget * createEditor(QWidget * parent);
29
30 virtual QString value();
31
32 virtual bool isValid();
33
34 virtual void setDefaultValue();
35
36protected:
37 QLineEdit * textBox;
38
39private 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_ */
Definition extcap_argument_file.h:21
Definition extcap_argument.h:71
Definition extcap_parser.h:100