Wireshark 5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
welcome_page_preferences_frame.h
Go to the documentation of this file.
1
9
10#ifndef WELCOME_PAGE_PREFERENCES_FRAME_H
11#define WELCOME_PAGE_PREFERENCES_FRAME_H
12
13#include <QFrame>
14#include <QAbstractButton>
15
16namespace Ui {
17class WelcomePagePreferencesFrame;
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_side_by_side_;
50
52 bool stashed_learn_visible_;
53
55 bool stashed_tips_visible_;
56
58 bool stashed_tips_events_;
59
61 bool stashed_tips_sponsorship_;
62
64 bool stashed_tips_tips_;
65
67 bool stashed_tips_auto_advance_;
68
70 unsigned stashed_tips_interval_;
71
76 void updateTipsSubCheckboxes();
77
78private slots:
83 void learnVisibleToggled(bool checked);
84
89 void tipsVisibleToggled(bool checked);
90
95 void tipsEventsToggled(bool checked);
96
101 void tipsSponsorshipToggled(bool checked);
102
107 void tipsTipsToggled(bool checked);
108
113 void tipsAutoAdvanceToggled(bool checked);
114
119 void tipsIntervalValueChanged(int value);
120
125 void restoreButtonBoxClicked(QAbstractButton *button);
126};
127
128#endif // WELCOME_PAGE_PREFERENCES_FRAME_H
WelcomePagePreferencesFrame(QWidget *parent=0)
Constructs the frame and initialises its UI.
Definition welcome_page_preferences_frame.cpp:17
~WelcomePagePreferencesFrame()
Destroys the frame and releases the UI object.
Definition welcome_page_preferences_frame.cpp:54
void unstash()
Restores all preference controls to the values that were saved when the frame was last stashed.
Definition welcome_page_preferences_frame.cpp:59