Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
ui
qt
widgets
path_selection_edit.h
1
/* path_chooser_delegate.cpp
2
* Delegate to select a file path for a treeview entry
3
*
4
* Wireshark - Network traffic analyzer
5
* By Gerald Combs <gerald@wireshark.org>
6
* Copyright 1998 Gerald Combs
7
*
8
* SPDX-License-Identifier: GPL-2.0-or-later
9
*/
10
11
#ifndef PATH_SELECTOR_EDIT_H
12
#define PATH_SELECTOR_EDIT_H
13
14
#include <QWidget>
15
#include <QString>
16
#include <QLineEdit>
17
#include <QToolButton>
18
19
class
PathSelectionEdit
:
public
QWidget
20
{
21
Q_OBJECT
22
23
public
:
24
PathSelectionEdit
(QString title, QString path,
bool
selectFile, QWidget *parent = 0);
25
PathSelectionEdit
(QWidget *parent = 0);
26
27
QString path()
const
;
28
29
public
slots:
30
void
setPath(QString newPath = QString());
31
32
signals:
33
void
pathChanged(QString newPath);
34
35
protected
slots:
36
void
browseForPath();
37
38
private
:
39
QString _title;
40
QString _path;
41
bool
_selectFile;
42
43
QLineEdit * _edit;
44
QToolButton * _button;
45
};
19
class
PathSelectionEdit
:
public
QWidget {
…
};
46
47
#endif
// PATH_SELECTOR_EDIT_H
PathSelectionEdit
Definition
path_selection_edit.h:20
Generated by
1.9.8