Primary tabs

AUG
4
2006

Qt4 ItemViews

Comments

The convenience widgets do wrap the signals so you can just connect to them if you want to.

http://doc.trolltech.com/4.2/qlistwidget.html#currentItemChanged

The current API isn't about setting text, but about inserting items with a preset text, it is orthogonal in that it then has functions to retrieve those items. Perhaps it should have a setText(int row, const &QString) and QString text(int row).


By IceFox at Tue, 08/08/2006 - 10:33

Yeah, I'd like to have those. It's still missing itemActivated(QString text), currentItemChanged(QString text) etc. though which we had in QListBox.


By Richard Moore at Tue, 08/08/2006 - 12:00

Pages