View Single Post
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#4
Originally Posted by zolakt View Post
Hmmm...I'd like to avoid creating another custom dialog.

But regardless, radio buttons are not the way.
They are poorly ported, for this use, anyway.
They look like "normal radio buttons", and I couldn't get them to expand horizontally, so you have to click on the (very) little circle, or the label to select.
Checkbox is also not the answer, because I don't need multiple selection

I was hopping I could just pass some flag to QInputDialog.
well radio buttons are properly implemented in maemo5 style(unless you have changed styles in your app) to be big and large with a default height of 70px I think just like a pushbutton.
You can change the width with setMaximumSize.

Even the checkbox is the same case albeit its a bit smaller.

You can switch off multiple selection in both setting the auto exclusive property
__________________
Developer of :
Buddy - budget/expense manager ( website )
Showtime - a telly channel listing viewer/reminder ( website )
Travelapp - london underground status/planner ( website )
Batlevel - desktop widget for battery level ( website )

“I hear and I forget. I see and I remember. I do and I understand.”

Last edited by krk969; 2010-05-09 at 12:48.
 

The Following User Says Thank You to krk969 For This Useful Post: