[PyKDE] QComboBox question...

Trevor Phillips T.Phillips at murdoch.edu.au
Fri Nov 7 02:21:01 GMT 2003


On Wednesday 05 November 2003 22:34, you wrote:
> 
> Tnx for your response Trevor!  I was already thinking in the same
> direction...  Seems a good way to do this.

I don't know about a "good" way - but it's the only way I know of.
It probably wouldn't be too hard to OOP up a new class inheriting qcombobox 
and manage the extra "value" info automatically, by tweaking each of the 
relevant method functions... I haven't required it enough to go that far 
myself (but such a solution could be fairly portable).

-- 
. Trevor Phillips             -           http://jurai.murdoch.edu.au/ . 
: Web Technical Administrator     -          T.Phillips at murdoch.edu.au : 
| IT Services                        -              Murdoch University | 
 >--------------------------------------------------------------------<
| On nights such as this, evil deeds are done. And good deeds, of     /
| course. But mostly evil, on the whole.                             /
 \      -- (Terry Pratchett, Wyrd Sisters)                          /




More information about the PyQt mailing list