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