PDA

View Full Version : Help QT checkbox and text on list



jgaleanog
3rd November 2010, 01:20
Hello everyone.

My name is Julio Galeano and I'm getting started with QT development for mobile devices (symbian) and I'm having this problem which I hope you can help me sort out.

I need to have a list of checkboxes, each one of them with a descrpitive text. Both, the checkbox and it's descriptive text have different asociated functions (one function for ticking the checkbox and a different one for clicking on it's descriptive text) which is why I cant use a simple widget QCheckBox. I've searched over the internet and on QT's documentation but I haven't found a way to do it. I thought I could use a QTableWidget, but I'm not so sure it'll be the best solution.

I must add, I'm a beginner on QT develpment so I understand for some of you my question might be simple or basic. In advance, thanks for all the help you can give me.

Julio Galeano

high_flyer
3rd November 2010, 14:40
Read the detailed description of QListWidget and QListWidgetItem .

As far as I can tell, it has all you need out of the box.