Interface to aid WebKit-view-containing tabs to expose the view fonts configuration to the user.
More...
#include "iwkfontssettable.h"
|
| virtual QObject * | GetQObject ()=0 |
| | Returns this tab as a QObject. More...
|
| |
| virtual void | SetFontFamily (QWebSettings::FontFamily family, const QFont &font)=0 |
| | Sets the font for the given font family. More...
|
| |
| virtual void | SetFontSize (QWebSettings::FontSize type, int size)=0 |
| | Sets the size for the given font size type. More...
|
| |
| virtual void | SetFontSizeMultiplier (qreal factor)=0 |
| | Sets the font size multiplier to the given factor. More...
|
| |
Interface to aid WebKit-view-containing tabs to expose the view fonts configuration to the user.
The tabs implementing this interface should just be registered with an instance of LeechCraft::Util::WkFontsWidget, which will take care of the rest.
- See also
- ITabWidget
Definition at line 46 of file iwkfontssettable.h.
| virtual IWkFontsSettable::~IWkFontsSettable |
( |
| ) |
|
|
protectedvirtualdefault |
| virtual QObject* IWkFontsSettable::GetQObject |
( |
| ) |
|
|
pure virtual |
Returns this tab as a QObject.
- Returns
- This tab as a QObject.
| virtual void IWkFontsSettable::SetFontFamily |
( |
QWebSettings::FontFamily |
family, |
|
|
const QFont & |
font |
|
) |
| |
|
pure virtual |
Sets the font for the given font family.
See also QWebSettings::setFontFamily().
- Parameters
-
| [in] | family | The font family to change. |
| [in] | font | The font to set for the font family. |
| virtual void IWkFontsSettable::SetFontSize |
( |
QWebSettings::FontSize |
type, |
|
|
int |
size |
|
) |
| |
|
pure virtual |
Sets the size for the given font size type.
See also QWebSettings::setFontSize().
- Parameters
-
| [in] | type | The font type to change. |
| [in] | size | The font size to set. |
| virtual void IWkFontsSettable::SetFontSizeMultiplier |
( |
qreal |
factor | ) |
|
|
pure virtual |
Sets the font size multiplier to the given factor.
See also QWebView::setTextSizeMultiplier().
- Parameters
-
| [in] | factor | The font size multiplier. |
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-6645-gcd10d7e/src/interfaces/iwkfontssettable.h