Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
welcome_page_preferences_frame.h
Go to the documentation of this file.
1
10#ifndef WELCOME_PAGE_PREFERENCES_FRAME_H
11#define WELCOME_PAGE_PREFERENCES_FRAME_H
12
13#include <QFrame>
14#include <QAbstractButton>
15
16namespace Ui {
18}
19
24class WelcomePagePreferencesFrame : public QFrame
25{
26 Q_OBJECT
27
28public:
33 explicit WelcomePagePreferencesFrame(QWidget *parent = 0);
34
37
42 void unstash();
43
44private:
46 Ui::WelcomePagePreferencesFrame *ui;
47
49 bool stashed_learn_visible_;
50
52 bool stashed_tips_visible_;
53
55 bool stashed_tips_events_;
56
58 bool stashed_tips_sponsorship_;
59
61 bool stashed_tips_tips_;
62
64 bool stashed_tips_auto_advance_;
65
67 unsigned stashed_tips_interval_;
68
73 void updateTipsSubCheckboxes();
74
75private slots:
80 void learnVisibleToggled(bool checked);
81
86 void tipsVisibleToggled(bool checked);
87
92 void tipsEventsToggled(bool checked);
93
98 void tipsSponsorshipToggled(bool checked);
99
104 void tipsTipsToggled(bool checked);
105
110 void tipsAutoAdvanceToggled(bool checked);
111
116 void tipsIntervalValueChanged(int value);
117
122 void restoreButtonBoxClicked(QAbstractButton *button);
123};
124
125#endif // WELCOME_PAGE_PREFERENCES_FRAME_H
Preferences frame for the Wireshark welcome page, managing visibility and behaviour of the "Learn" pa...
Definition welcome_page_preferences_frame.h:25
~WelcomePagePreferencesFrame()
Destroys the frame and releases the UI object.
Definition welcome_page_preferences_frame.cpp:51
void unstash()
Restores all preference controls to the values that were saved when the frame was last stashed.
Definition welcome_page_preferences_frame.cpp:56