[Qt-interest] Adding a QComboBox to QTableWidgetItem

Ender EREL erelender at yahoo.com
Tue Jul 28 10:41:31 CEST 2009


Santhosh Y wrote:
> Hi,
> 
> Can I add QComboBox to QTableWidget's cell?
> 
Yes you can. Try myTableWidget->setCellWidget(int row, int column, 
QWidget* widget); . Taking a quick look at the documentation also helps.

> I want to set a QComboBox to a QTableWidgetItem. Is this possible to do ?
> 
It is possible.

> Please answer
> 
As you command.

> Santhosh.
> 

-- 
Ender EREL.



More information about the Qt-interest-old mailing list