mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 08:28:22 -04:00
[libcalamaresui] Provide standardised large font
This commit is contained in:
parent
8b406cac9b
commit
3e24c3c58f
2 changed files with 10 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue