Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
preferences_dialog.h
Go to the documentation of this file.
1
10#ifndef PREFERENCES_DIALOG_H
11#define PREFERENCES_DIALOG_H
12
13#include <config.h>
14
15#include <epan/prefs.h>
16
19
21
22class QComboBox;
23class QAbstractButton;
24
25namespace Ui {
27}
28
30{
31 Q_OBJECT
32
33public:
34 explicit PreferencesDialog(QWidget *parent = 0);
36
42 void setPane(const QString module_name);
43
44protected:
45 void showEvent(QShowEvent *evt);
46
47private:
48 void apply();
49
50 Ui::PreferencesDialog *pd_ui_;
51
52 QHash<QString, QWidget*> prefs_pane_to_item_;
53
54 PrefsModel model_;
55 AdvancedPrefsModel advancedPrefsModel_;
56 AdvancedPrefDelegate advancedPrefsDelegate_;
57 ModulePrefsModel modulePrefsModel_;
58 bool saved_capture_no_extcap_;
59
60 QTimer *searchLineEditTimer;
61 QString searchLineEditText;
62
63private slots:
64 void selectPane(QString pane);
65 void on_advancedSearchLineEdit_textEdited(const QString &search_re);
66 void on_showChangedValuesCheckBox_toggled(bool checked);
67
68 void on_buttonBox_accepted();
69 void on_buttonBox_rejected();
70 void on_buttonBox_helpRequested();
71 void on_buttonBox_clicked(QAbstractButton *button);
72
79 void updateSearchLineEdit();
80};
81
82#endif // PREFERENCES_DIALOG_H
Definition pref_delegate.h:23
Definition pref_models.h:99
Definition geometry_state_dialog.h:17
Definition pref_models.h:140
Definition preferences_dialog.h:30
void setPane(const QString module_name)
Definition preferences_dialog.cpp:163
Definition pref_models.h:25