[libcalamaresui] Provide standardised large font
This commit is contained in:
parent
8b406cac9b
commit
3e24c3c58f
@ -226,6 +226,15 @@ defaultFont()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QFont
|
||||||
|
largeFont()
|
||||||
|
{
|
||||||
|
QFont f;
|
||||||
|
f.setPointSize( defaultFontSize() + 4 );
|
||||||
|
return f;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
setDefaultFontSize( int points )
|
setDefaultFontSize( int points )
|
||||||
{
|
{
|
||||||
|
@ -115,6 +115,7 @@ UIDLLEXPORT void setDefaultFontSize( int points );
|
|||||||
UIDLLEXPORT int defaultFontSize(); // in points
|
UIDLLEXPORT int defaultFontSize(); // in points
|
||||||
UIDLLEXPORT int defaultFontHeight(); // in pixels, DPI-specific
|
UIDLLEXPORT int defaultFontHeight(); // in pixels, DPI-specific
|
||||||
UIDLLEXPORT QFont defaultFont();
|
UIDLLEXPORT QFont defaultFont();
|
||||||
|
UIDLLEXPORT QFont largeFont();
|
||||||
UIDLLEXPORT QSize defaultIconSize();
|
UIDLLEXPORT QSize defaultIconSize();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user