Add CalamaresUtils::defaultFont()
This commit is contained in:
parent
93c515ccef
commit
25e388aa29
@ -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…
Reference in New Issue
Block a user