Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
font_color_preferences_frame.h
Go to the documentation of this file.
1
10#ifndef FONT_COLOR_PREFERENCES_FRAME_H
11#define FONT_COLOR_PREFERENCES_FRAME_H
12
13#include <QFrame>
14#include <QFont>
15#include <QComboBox>
16
17#include <epan/prefs.h>
18
19namespace Ui {
21}
22
23class FontColorPreferencesFrame : public QFrame
24{
25 Q_OBJECT
26
27public:
28 explicit FontColorPreferencesFrame(QWidget *parent = 0);
30
31protected:
32 void showEvent(QShowEvent *evt);
33
34private:
35 Ui::FontColorPreferencesFrame *ui;
36 QComboBox *colorSchemeComboBox_;
37
38 pref_t *pref_color_scheme_;
39 pref_t *pref_qt_gui_font_name_;
40 pref_t *pref_active_fg_;
41 pref_t *pref_active_bg_;
42 pref_t *pref_active_style_;
43 pref_t *pref_inactive_fg_;
44 pref_t *pref_inactive_bg_;
45 pref_t *pref_inactive_style_;
46 pref_t *pref_marked_fg_;
47 pref_t *pref_marked_bg_;
48 pref_t *pref_ignored_fg_;
49 pref_t *pref_ignored_bg_;
50 pref_t *pref_client_fg_;
51 pref_t *pref_client_bg_;
52 pref_t *pref_server_fg_;
53 pref_t *pref_server_bg_;
54 pref_t *pref_valid_bg_;
55 pref_t *pref_invalid_bg_;
56 pref_t *pref_deprecated_bg_;
57 QFont cur_font_;
58
59 void updateWidgets();
60 void changeColor(pref_t *pref);
61
62private slots:
63 void colorChanged(pref_t *pref, const QColor &cc);
64 void colorSchemeIndexChanged(int index);
65 void on_fontPushButton_clicked();
66
67 void on_activeFGPushButton_clicked();
68 void on_activeBGPushButton_clicked();
69 void on_activeStyleComboBox_currentIndexChanged(int index);
70 void on_inactiveFGPushButton_clicked();
71 void on_inactiveBGPushButton_clicked();
72 void on_inactiveStyleComboBox_currentIndexChanged(int index);
73 void on_markedFGPushButton_clicked();
74 void on_markedBGPushButton_clicked();
75 void on_ignoredFGPushButton_clicked();
76 void on_ignoredBGPushButton_clicked();
77 void on_clientFGPushButton_clicked();
78 void on_clientBGPushButton_clicked();
79 void on_serverFGPushButton_clicked();
80 void on_serverBGPushButton_clicked();
81 void on_validFilterBGPushButton_clicked();
82 void on_invalidFilterBGPushButton_clicked();
83 void on_deprecatedFilterBGPushButton_clicked();
84};
85
86#endif // FONT_COLOR_PREFERENCES_FRAME_H
Definition font_color_preferences_frame.h:24
Definition prefs.c:249