Wireshark 4.5.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#include <epan/prefs-int.h>
17
18#include <QScrollArea>
19
20namespace Ui {
22}
23
24class ModulePreferencesScrollArea : public QScrollArea
25{
26 Q_OBJECT
27
28public:
29 explicit ModulePreferencesScrollArea(module_t *module, QWidget *parent = 0);
31 const QString name() const { return QString(module_->name); }
32
33protected:
34 void showEvent(QShowEvent *);
35 void resizeEvent(QResizeEvent *evt);
36
37private:
38 Ui::ModulePreferencesScrollArea *ui;
39
40 module_t *module_;
41 void updateWidgets();
42
43private slots:
44 void uintLineEditTextEdited(const QString &new_str);
45 void boolCheckBoxToggled(bool checked);
46 void enumRadioButtonToggled(bool checked);
47 void enumComboBoxCurrentIndexChanged(int index);
48 void stringLineEditTextEdited(const QString &new_str);
49 void rangeSyntaxLineEditTextEdited(const QString &new_str);
50 void uatPushButtonClicked();
51 void saveFilenamePushButtonClicked();
52 void openFilenamePushButtonClicked();
53 void dirnamePushButtonClicked();
54 void enumComboBoxCurrentIndexChanged_PROTO_TCP(int index);
55};
56
57#endif // MODULE_PREFERENCES_SCROLL_AREA_H
Definition module_preferences_scroll_area.h:25
Definition prefs-int.h:27
const char * name
Definition prefs-int.h:28