Wireshark 5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
font_color_preferences_frame.h
Go to the documentation of this file.
1
9
10#ifndef FONT_COLOR_PREFERENCES_FRAME_H
11#define FONT_COLOR_PREFERENCES_FRAME_H
12
13#include <QFrame>
14#include <QComboBox>
15#include <QString>
16
18
19namespace Ui {
20class FontColorPreferencesFrame;
21}
22
26class FontColorPreferencesFrame : public QFrame
27{
28 Q_OBJECT
29
30public:
35 explicit FontColorPreferencesFrame(QWidget *parent = 0);
36
41
48 void unstash();
49
50protected:
55 void showEvent(QShowEvent *evt) override;
56
57private:
59 Ui::FontColorPreferencesFrame *ui;
60
61 QString stashed_theme_name_;
62
68 int stashed_color_scheme_;
69
76 int stashed_contrast_;
77
81 void updateWidgets();
82
90 void updateContrastCombo();
91
98 void populateThemeCombo();
99
100private slots:
105 void colorSchemeIndexChanged(int index);
106
107 void themeIndexChanged(int index);
108
113 void contrastIndexChanged(int index);
114
118 void refreshPreview();
119
123 void on_themeDesignerPushButton_clicked();
124};
125
126#endif // FONT_COLOR_PREFERENCES_FRAME_H
void unstash()
Definition font_color_preferences_frame.cpp:215
~FontColorPreferencesFrame()
Destroys the FontColorPreferencesFrame.
Definition font_color_preferences_frame.cpp:132
FontColorPreferencesFrame(QWidget *parent=0)
Constructs a new FontColorPreferencesFrame.
Definition font_color_preferences_frame.cpp:28
void showEvent(QShowEvent *evt) override
Handles the event when the frame is shown.
Definition font_color_preferences_frame.cpp:137