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