[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Is there a KFont resource manager
From:       David Johnson <david () usermode ! org>
Date:       2008-01-06 19:04:04
Message-ID: 200801061104.04209.david () usermode ! org
[Download RAW message or body]

On Sunday 06 January 2008 07:53:19 am David Boosalis wrote:
> I would like to know which if any class I can use to set the font of my own
> widgets title area to be consistent with the KDE 4.0 desktop.  That is I
> want it to be larger and in bold when compared to the rest of the widget's
> font.  I know I could just arbitrarily make it larger then the default font
> (for example: titleFont.setPointSize(defaultFont.pointSize() + 2), but I
> want it to be consistent with the rest of the desktop. I looked in the api
> docs for Core and UI but perhaps I overlook it. Does such a resource
> manager exists.

There is a static KGlobalSettings::windowTitleFont() function that returns the 
font set for window titles. Is this what you are looking for?

David
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic