Re: PushButton and ButtonGroups

2010-02-03 Thread alanm
On Wednesday 03 February 2010 1:01:32 pm alanm wrote: > I guess the question is, what's the correct way to do this with > Plasma.PushButton since Plasma doesn't seem to have any equivalent of a > QButtonGroup? > > Sorry in advance if I

PushButton and ButtonGroups

2010-02-03 Thread alanm
I'm trying to write a plasmoid python script that will have a set of checkable buttons of which only one can be checked at a time. Basically like radio buttons, but implemented with pushbuttons for appearance purposes. I can make the Plasma.pushbutton checkable easily enough, but I can't work o

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

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