LeechCraft
0.6.70-15082-g543737046d
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. More... | |
Public Member Functions | |
FontChooserWidget (QWidget *parent=nullptr) | |
Constructs the widget with the given parent. More... | |
QFont | GetFont () const |
Returns the currently selected font. More... | |
void | SetFont (const QFont &font) |
Sets the currently font to font. More... | |
Provides a widget for choosing a font.
This widget allows the user to choose a font in the XML settings dialog.
Definition at line 35 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 27 of file fontchooserwidget.cpp.
|
signal |
Emitted when another font has been chosen.
[out] | font | The new chosen font. |
QFont LC::Util::FontChooserWidget::GetFont | ( | ) | const |
Returns the currently selected font.
Definition at line 38 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 43 of file fontchooserwidget.cpp.