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