Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
preference_editor_frame.h
Go to the documentation of this file.
1
10#ifndef PREFERENCE_EDITOR_FRAME_H
11#define PREFERENCE_EDITOR_FRAME_H
12
13#include "accordion_frame.h"
14
15struct pref_module;
16struct preference;
17struct epan_range;
18
19namespace Ui {
21}
22
24{
25 Q_OBJECT
26
27public:
28 explicit PreferenceEditorFrame(QWidget *parent = 0);
30
31public slots:
32 void editPreference(struct preference *pref = NULL, struct pref_module *module = NULL);
33
34signals:
35 void showProtocolPreferences(const QString module_name);
36
37protected:
38 virtual void showEvent(QShowEvent *event);
39 virtual void keyPressEvent(QKeyEvent *event);
40
41private slots:
42 // Similar to ModulePreferencesScrollArea
43 void uintLineEditTextEdited(const QString &new_str);
44 void stringLineEditTextEdited(const QString &new_str);
45 void rangeLineEditTextEdited(const QString &new_str);
46 void browsePushButtonClicked();
47
48 void on_modulePreferencesToolButton_clicked();
49 void on_preferenceLineEdit_returnPressed();
50 void on_buttonBox_accepted();
51 void on_buttonBox_rejected();
52
53private:
54 Ui::PreferenceEditorFrame *ui;
55
56 struct pref_module *module_;
57 struct preference *pref_;
58
59 unsigned int new_uint_;
60 QString new_str_;
61 struct epan_range *new_range_;
62};
63
64#endif // PREFERENCE_EDITOR_FRAME_H
Definition accordion_frame.h:18
Definition preference_editor_frame.h:24
Definition range.h:41
Definition prefs-int.h:27
Definition prefs.c:241