![]() |
LeechCraft 0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
|
Provides a widget for choosing a font. More...
#include "fontchooserwidget.h"
Inheritance diagram for LC::Util::FontChooserWidget:
Collaboration diagram for LC::Util::FontChooserWidget: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 LC::Util::Filter(), and fontChanged().
Here is the call graph for this function:Emitted when another font has been chosen.
| [out] | font | The new chosen font. |
Referenced by FontChooserWidget(), and LC::Util::WkFontsWidget::WkFontsWidget().
Here is the caller graph for this function:| QFont LC::Util::FontChooserWidget::GetFont | ( | ) | const |
Returns the currently selected font.
Definition at line 24 of file fontchooserwidget.cpp.
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.
References LC::Util::Filter().
Here is the call graph for this function: