Active Topics

 


Reply
Thread Tools
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#1
I'm trying to figure out which kind of widget those screenshots have:






PushButtons with checkable properties true or horizontal combobox? Or custom ones?

Thanks.
 
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#2
Originally Posted by gionni88 View Post
I'm trying to figure out which kind of widget those screenshots have:






PushButtons with checkable properties true or horizontal combobox? Or custom ones?

Thanks.
The menu can be achieved by having an action group with each desired action as a child. You then add each individual action to the windows menu. If you want an example (in python) check Gonvert's source code
http://wiki.maemo.org/Gonvert

I am unsure what is done for the non-menu buttons.
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
 

The Following User Says Thank You to epage For This Useful Post:
Venemo's Avatar
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#3
Originally Posted by gionni88 View Post
I'm trying to figure out which kind of widget those screenshots have:

This is done by adding filters to a HildonAppMenu. It is also doable from Qt by adding a radiobutton thingy to the menu (I think).

Originally Posted by gionni88 View Post
This one seems like a tab control, maybe your theme gives the same appearance to the tabs as the menu filters.
 

The Following User Says Thank You to Venemo For This Useful Post:
Posts: 388 | Thanked: 842 times | Joined on Sep 2009 @ Finland
#4
Originally Posted by gionni88 View Post
This one looks familiar
They are grouped QRadioButtons
 

The Following User Says Thank You to hqh For This Useful Post:
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#5
Originally Posted by gionni88 View Post
I'm trying to figure out which kind of widget those screenshots have:

In C++/Qt:
http://gitorious.org/qt-mediaplayer/...dow.cpp#line12
Thanks to tswindell for help with those
 

The Following 2 Users Say Thank You to MohammadAG For This Useful Post:
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#6
QActionGroup for the menu one and a QGroupBox with an horizontal layout for the other one. The first in the second screenshot seams like the standard tab and it has black vertical lines to space the choises. Thanks everyone!
 

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


 
Forum Jump


All times are GMT. The time now is 16:51.