mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
Add CalamaresUtils::defaultFont()
This commit is contained in:
parent
93c515ccef
commit
25e388aa29
2 changed files with 10 additions and 0 deletions
|
@ -206,6 +206,15 @@ defaultFontHeight()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QFont
|
||||||
|
defaultFont()
|
||||||
|
{
|
||||||
|
QFont f;
|
||||||
|
f.setPointSize( defaultFontSize() );
|
||||||
|
return f;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
setDefaultFontSize( int points )
|
setDefaultFontSize( int points )
|
||||||
{
|
{
|
||||||
|
|
|
@ -67,6 +67,7 @@ UIDLLEXPORT void clearLayout( QLayout* layout );
|
||||||
UIDLLEXPORT void setDefaultFontSize( int points );
|
UIDLLEXPORT void setDefaultFontSize( int points );
|
||||||
UIDLLEXPORT int defaultFontSize();
|
UIDLLEXPORT int defaultFontSize();
|
||||||
UIDLLEXPORT int defaultFontHeight();
|
UIDLLEXPORT int defaultFontHeight();
|
||||||
|
UIDLLEXPORT QFont defaultFont();
|
||||||
UIDLLEXPORT QSize defaultIconSize();
|
UIDLLEXPORT QSize defaultIconSize();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue