Active Topics

 


Reply
Thread Tools
Posts: 341 | Thanked: 57 times | Joined on Nov 2009
#11
Originally Posted by Rob1n View Post
Ah, I see - you want something similar, but not using time values. Is it a single multi-column list you're wanting to display, or multiple independent lists? For a multi-column list, I think a QMaemo5ListPickSelector + QAbstractTableModel would work. No idea about independent lists though - presumably you'd need to subclass QMaemo5AbstractPickSelector and code all the functionality yourself. The source code for the QMaemo5TimePickSelector should offer some clues for that.
Well what I'm trying to achieve is this: I would like something like the TimePickSelector look, but with only 2 columns, not 3 ... each column would have numbers in it, and the user would select 1 number from each of these columns .. The value then returned to the calling QMaemo5ValueButton depends on these two values .. How can I achieve this ?

EDIT: And where can I get the code from TimePickSelector from ?
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#12
Originally Posted by ahmadka View Post
Well what I'm trying to achieve is this: I would like something like the TimePickSelector look, but with only 2 columns, not 3 ... each column would have numbers in it, and the user would select 1 number from each of these columns .. The value then returned to the calling QMaemo5ValueButton depends on these two values .. How can I achieve this ?

EDIT: And where can I get the code from TimePickSelector from ?
You'll almost certainly need to subclass QMaemo5AbstractPickSelector then. You can find the source code for QMaemo5TimePickSelector here - it doesn't look tremendously helpful to me though.
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:49.