Wireshark
4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
ui
qt
widgets
display_filter_combo.h
Go to the documentation of this file.
1
10
#ifndef DISPLAY_FILTER_COMBO_H
11
#define DISPLAY_FILTER_COMBO_H
12
13
#include <QComboBox>
14
#include <QList>
15
16
class
DisplayFilterCombo
:
public
QComboBox
17
{
18
Q_OBJECT
19
public
:
20
explicit
DisplayFilterCombo
(QWidget *parent = 0);
21
bool
addRecentCapture(
const
char
*filter);
22
void
writeRecent(FILE *rf);
23
void
updateStyleSheet();
24
25
protected
:
26
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
27
void
rowsAboutToBeInserted(
const
QModelIndex&,
int
,
int
);
28
void
rowsInserted(
const
QModelIndex&,
int
,
int
);
29
#endif
30
virtual
bool
event(QEvent *event);
31
32
private
:
33
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
34
bool
clear_state_;
35
#endif
36
37
public
slots:
38
bool
checkDisplayFilter();
39
void
applyDisplayFilter();
40
void
setDisplayFilter(QString filter);
41
42
private
slots:
43
void
updateMaxCount();
44
void
onActivated(
int
index);
45
};
46
47
#endif
// DISPLAY_FILTER_COMBO_H
DisplayFilterCombo
Definition
display_filter_combo.h:17
Generated by
1.9.8