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

List:       kde-devel
Subject:    Re: Change Konsole fonts in a KPart Konsole
From:       "Robert Knight" <robertknight () gmail ! com>
Date:       2007-12-18 7:42:11
Message-ID: 13ed09c00712172342h3bec221cg8372ee774d752b34 () mail ! gmail ! com
[Download RAW message or body]

> Can anybody tell me how to do to change the fonts of a Konsole
> in my application which is there as a KPart?

The normal approach to change a widget's font is to call setFont() on
the widget.  The KPart's widget can be retrieved through the widget()
method.

Regards,
Robert.

On 17/12/2007, Giacomo <delleceste@gmail.com> wrote:
> Good morning
> Can anybody tell me how to do to change the fonts of a Konsole
> in my application which is there as a KPart?
>
> Moreover, how can i do to personalize the right click menu on that KPart
> Konsole (add/remove items, is it possible?)?
>
> If I add the console as a client to the KXMLGuiFactory, a menu bar
> appears with "No Text" in each menu title and it puts itself over the
> menu bar of my application..
>
> can anybody give me some hints to solve this?
> Thank you
>
> Giacomo
>
> --
> Giacomo S.
> http://www.giacomos.it
>
> - - - - - - - - - - - - - - - - - - - - - -
>
> IPFIREwall (http://www.giacomos.it/ipfire) viene presentato
> all'Universita` degli Studi di Udine, il 28 ottobre, in occasione del
> Linux Day 2006:
> http://iglu.cc.uniud.it/linuxday
>
> - - - - - - - - - - - - - - - - - - - - - -
>
>  . ''  `.
> :   :'    :
>  `.  ` '
>     `- Debian GNU/Linux -- The power of freedom
>         http://www.debian.org
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>
 
>> 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