Re: Stylesheets and plasma widgets

2009-09-12 Thread Aaron J. Seigo
On September 12, 2009, Marco Martin wrote: > On Friday 11 September 2009, Aaron J. Seigo wrote: > > On September 11, 2009, Marco Martin wrote: > > > but the ones thatreally have to use the proxywidget to paint, like the > > > ones that have to layout text there wouldn't be much we can do about > >

Re: Stylesheets and plasma widgets

2009-09-12 Thread Marco Martin
On Friday 11 September 2009, Aaron J. Seigo wrote: > On September 11, 2009, Marco Martin wrote: > > but the ones thatreally have to use the proxywidget to paint, like the > > ones that have to layout text there wouldn't be much we can do about > > (maybe syncing the nativewidget font with the plasm

Re: Stylesheets and plasma widgets

2009-09-11 Thread Aaron J. Seigo
On September 11, 2009, Marco Martin wrote: > but the ones thatreally have to use the proxywidget to paint, like the ones > that have to layout text there wouldn't be much we can do about (maybe > syncing the nativewidget font with the plasma theme one?) that'd probably be the best we could do...

Re: Stylesheets and plasma widgets

2009-09-11 Thread Marco Martin
On Friday 11 September 2009, Aaron J. Seigo wrote: > On September 11, 2009, Marco Martin wrote: > > On Friday 11 September 2009, Aaron J. Seigo wrote: > > > On September 10, 2009, alan moore wrote: > > > > Thanks; I tried this, but it didn't work (or else I'm doing it > > > > wrong). > > > > > > lo

Re: Stylesheets and plasma widgets

2009-09-11 Thread Aaron J. Seigo
On September 11, 2009, Marco Martin wrote: > On Friday 11 September 2009, Aaron J. Seigo wrote: > > On September 10, 2009, alan moore wrote: > > > Thanks; I tried this, but it didn't work (or else I'm doing it wrong). > > > > looking at Plasma::PushButton, it doesn't allow setting the font > > dire

Re: Stylesheets and plasma widgets

2009-09-11 Thread Marco Martin
On Friday 11 September 2009, Aaron J. Seigo wrote: > On September 10, 2009, alan moore wrote: > > Thanks; I tried this, but it didn't work (or else I'm doing it wrong). > > looking at Plasma::PushButton, it doesn't allow setting the font directly. > it uses the theme's font. it should probably not

Re: Stylesheets and plasma widgets

2009-09-10 Thread Aaron J. Seigo
On September 10, 2009, alan moore wrote: > Thanks; I tried this, but it didn't work (or else I'm doing it wrong). looking at Plasma::PushButton, it doesn't allow setting the font directly. it uses the theme's font. it should probably not do so if a font is set (e.g. receives a FontChange event).

Re: Stylesheets and plasma widgets

2009-09-10 Thread alan moore
Aaron J. Seigo wrote: > On September 10, 2009, alanm wrote: >> Is there a better way to make these kinds of small adjustments apart from >> style sheets? > > set the font style/face/color on the nativeWidget()? > Thanks; I tried this, but it didn't work (or else I'm doing it wrong). My code is:

Re: Stylesheets and plasma widgets

2009-09-10 Thread Aaron J. Seigo
On September 10, 2009, alanm wrote: > Is there a better way to make these kinds of small adjustments apart from > style sheets? set the font style/face/color on the nativeWidget()? -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE c

Re: Stylesheets and plasma widgets

2009-09-10 Thread alanm
On Thursday 10 September 2009 2:29:09 pm Aaron J. Seigo wrote: > On September 10, 2009, alanm wrote: > > I have a plasmoid (in Python) which uses Plasma.ToolButton widgets. I > > would like to allow the user to override the default style (taken from > > the plasma theme) of the buttons (for insta

Re: Stylesheets and plasma widgets

2009-09-10 Thread Aaron J. Seigo
On September 10, 2009, alanm wrote: > I have a plasmoid (in Python) which uses Plasma.ToolButton widgets. I > would like to allow the user to override the default style (taken from the > plasma theme) of the buttons (for instance, to change font/size/colors). why? > - First, I find that if I

Re: Stylesheets and plasma widgets

2009-09-10 Thread Marco Martin
On Thursday 10 September 2009, alanm wrote: > I have a plasmoid (in Python) which uses Plasma.ToolButton widgets. I > would like to allow the user to override the default style (taken from the > plasma theme) of the buttons (for instance, to change font/size/colors). > > I have two problems/misund

Stylesheets and plasma widgets

2009-09-10 Thread alanm
I have a plasmoid (in Python) which uses Plasma.ToolButton widgets. I would like to allow the user to override the default style (taken from the plasma theme) of the buttons (for instance, to change font/size/colors). I have two problems/misunderstandings I need help with here: - First, I find