I'm trying to use setText() on a QTablWidgetItem that is already in my
Accessing whatever the text is within the item and dumping it in stdout
shows me that it's correct,
but the item is basically invisible.
Any help is appcreciated.
Here's a crude mock up.
QTableWidget mytable( 0, 1, this );
QTableWidgetItem tmp - new QTableWidgetItem( "0" );
mytable->insertRow( 0 );
mytable->setItem( 0, 0, temp );
mydialog::udpate( const QString& s )
mytable->item( 0, 0 )->setText( s );
cout << "Current value: " << qPrintable( s ) << endl; // prints out
right value, but can't see cell
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/