Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
module_preferences_scroll_area.h
Go to the documentation of this file.
1
10#ifndef MODULE_PREFERENCES_SCROLL_AREA_H
11#define MODULE_PREFERENCES_SCROLL_AREA_H
12
13#include <config.h>
14
15#include <epan/prefs.h>
16
17#include <QScrollArea>
18
19namespace Ui {
21}
22
26class ModulePreferencesScrollArea : public QScrollArea
27{
28 Q_OBJECT
29
30public:
36 explicit ModulePreferencesScrollArea(module_t *module, QWidget *parent = 0);
37
42
47 const QString name() const;
48
49protected:
53 void showEvent(QShowEvent *);
54
59 void resizeEvent(QResizeEvent *evt);
60
61private:
63 Ui::ModulePreferencesScrollArea *ui;
64
66 module_t *module_;
67
71 void updateWidgets();
72
73private slots:
78 void uintLineEditTextEdited(const QString &new_str);
79
84 void intLineEditTextEdited(const QString& new_str);
85
90 void floatLineEditTextEdited(const QString& new_str);
91
96 void boolCheckBoxToggled(bool checked);
97
102 void enumRadioButtonToggled(bool checked);
103
108 void enumComboBoxCurrentIndexChanged(int index);
109
114 void stringLineEditTextEdited(const QString &new_str);
115
120 void rangeSyntaxLineEditTextEdited(const QString &new_str);
121
125 void uatPushButtonClicked();
126
130 void saveFilenamePushButtonClicked();
131
135 void openFilenamePushButtonClicked();
136
140 void dirnamePushButtonClicked();
141
146 void enumComboBoxCurrentIndexChanged_PROTO_TCP(int index);
147};
148
149#endif // MODULE_PREFERENCES_SCROLL_AREA_H
A scroll area widget for displaying and editing module preferences.
Definition module_preferences_scroll_area.h:27
void resizeEvent(QResizeEvent *evt)
Handles the resize event.
Definition module_preferences_scroll_area.cpp:473
const QString name() const
Gets the name of the module.
Definition module_preferences_scroll_area.cpp:463
void showEvent(QShowEvent *)
Handles the show event.
Definition module_preferences_scroll_area.cpp:468
~ModulePreferencesScrollArea()
Destroys the ModulePreferencesScrollArea.
Definition module_preferences_scroll_area.cpp:458
Represents a preference module grouping related preferences under a named, hierarchical entry in the ...
Definition prefs-int.h:27