Hello,
First of all forgive me my bad English and please keep in mind I'm a complete newbie to C++. I did some coding for a while in 'Gambas', that's like Visual Basic but for Linux.
Up to now it goes fine with Qt but I do have one problem I can't solve ...
The GUI of my first program is made with designer and has amongst several buttons and lineEdits also a ListWidget.
This ListWidget does not emit signals, all other widgets do, they work fine.
Here's some code I use to emit the signal:
connect(listWidget, SIGNAL(itemActivated(QListWidgetItem * item)), this, SLOT(enableDeleteButton()));
Signal itemClicked() doesn't work neither....
As the function enableDeleteButton() says it will enable a button I can use to remove items from the ListWidget.
Anyone an idea what I'm doing wrong?
Thanks.
Vito




Reply With Quote

Bookmarks