Wireshark 4.5.0
The Wireshark network protocol analyzer
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 keyPressEvent(QKeyEvent *event);
46 void showEvent(QShowEvent *evt);
47
48private:
49 void apply();
50 void resizeSplitter();
51
52 Ui::PreferencesDialog *pd_ui_;
53
54 QHash<QString, QWidget*> prefs_pane_to_item_;
55
56 PrefsModel model_;
57 AdvancedPrefsModel advancedPrefsModel_;
58 AdvancedPrefDelegate advancedPrefsDelegate_;
59 ModulePrefsModel modulePrefsModel_;
60 bool saved_capture_no_extcap_;
61
62 QTimer *searchLineEditTimer;
63 QString searchLineEditText;
64
65private slots:
66 void selectPane(QString pane);
67 void handleCopyMenu(QPoint);
68 void copyActionTriggered();
69 void copyRowActionTriggered();
70 void on_advancedSearchLineEdit_textEdited(const QString &search_re);
71 void on_showChangedValuesCheckBox_toggled(bool checked);
72
73 void on_buttonBox_accepted();
74 void on_buttonBox_rejected();
75 void on_buttonBox_helpRequested();
76 void on_buttonBox_clicked(QAbstractButton *button);
77
84 void updateSearchLineEdit();
85};
86
87#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:173
Definition pref_models.h:25