Re: PushButton and ButtonGroups

2010-02-03 Thread alan moore
Marco Martin wrote: > On Wednesday 03 February 2010, alanm wrote: >> 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

Re: PushButton and ButtonGroups

2010-02-03 Thread Aaron J. Seigo
On February 3, 2010, alanm wrote: > I also tried buttongroup.addButton(my_plasma_pushbutton.nativeWidget()), > but go the same result. that sounds like an error in the bindings. Plasma::PushButton::nativeWidget() returns a KPushButton which IsA QAbstractButton. anyways, yes, we should provide ni

Re: PushButton and ButtonGroups

2010-02-03 Thread Marco Martin
On Wednesday 03 February 2010, alanm wrote: > 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 missed

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 missed something obvious. > __

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