Wireshark 5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
font_preferences_frame.h
Go to the documentation of this file.
1
9
10#ifndef FONT_PREFERENCES_FRAME_H
11#define FONT_PREFERENCES_FRAME_H
12
13#include <QFrame>
14
15typedef struct preference pref_t;
16
17namespace Ui {
18class FontPreferencesFrame;
19}
20
26class FontPreferencesFrame : public QFrame
27{
28 Q_OBJECT
29
30public:
35 explicit FontPreferencesFrame(QWidget *parent = nullptr);
36
39
40private:
42 Ui::FontPreferencesFrame *ui;
43
45 pref_t *pref_qt_gui_font_name_;
46
50 void updateHints();
51
52private slots:
54 void fontChanged();
55};
56
57#endif // FONT_PREFERENCES_FRAME_H
FontPreferencesFrame(QWidget *parent=nullptr)
Constructs the frame and loads the stashed font.
Definition font_preferences_frame.cpp:24
~FontPreferencesFrame()
Destroys the frame and releases the UI object.
Definition font_preferences_frame.cpp:55
Definition prefs.c:194