[Kde-bindings] QComboBox use
Miquel Oliete
ktalanet at yahoo.es
Thu Jan 31 21:43:18 UTC 2008
On Thu, 31 Jan 2008 21:29:33 +0100
Arno Rehn wrote:
> You can select an item with it's index, see QComboBox::setCurrentIndex. In
> Ruby this should be as simple as 'mycombo.currentIndex = index'.
> Just look that stuff up in the Qt documentation, it's quite useful ;)
Thanks Arno, I was just searching something like this
comboBox.setCurrentItem(comboBox.findText('Euro'))
and I have found it.
Thanks for your answer
Regards
--
Miquel (a.k.a. Ktalà a.k.a. Ton)
Linux User #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux wolverine 2.6.22.5)
Welcome to the jungle, we got fun and games
Guns n' Roses
More information about the Kde-bindings
mailing list