![]() |
LeechCraft 0.6.70-17793-g6e56308e78
Modular cross-platform feature rich live environment.
|
Provides a widget for choosing a font. More...
#include "fontchooserwidget.h"
Signals | |
| void | fontChanged (QFont font) |
| Emitted when another font has been chosen. | |
Public Member Functions | |
| FontChooserWidget (QWidget *parent=nullptr) | |
| Constructs the widget with the given parent. | |
| QFont | GetFont () const |
| Returns the currently selected font. | |
| void | SetFont (const QFont &font) |
| Sets the currently font to font. | |
Provides a widget for choosing a font.
This widget allows the user to choose a font in the XML settings dialog.
Definition at line 21 of file fontchooserwidget.h.
| LC::Util::FontChooserWidget::FontChooserWidget | ( | QWidget * | parent = nullptr | ) |
Constructs the widget with the given parent.
| [in] | parent | The parent widget. |
Definition at line 13 of file fontchooserwidget.cpp.
References fontChanged().
|
signal |
Emitted when another font has been chosen.
| [out] | font | The new chosen font. |
Referenced by FontChooserWidget(), and LC::Util::WkFontsWidget::WkFontsWidget().
| QFont LC::Util::FontChooserWidget::GetFont | ( | ) | const |
Returns the currently selected font.
Definition at line 24 of file fontchooserwidget.cpp.
| void LC::Util::FontChooserWidget::SetFont | ( | const QFont & | font | ) |
Sets the currently font to font.
| [in] | font | The font to set the currently chosen one to. |
Definition at line 29 of file fontchooserwidget.cpp.