cfalcioni
3rd May 2012, 14:04
Hi all,
I create an application with qt4.7
I'm using a QTableWidget (tableData) and I define his property runtime.
Here I define a header
void AnaResults::SetHeaderRow(int row, QString dato)
{
QTableWidgetItem *newItem = new QTableWidgetItem();
newItem->setData(0,dato);
const QColor color(76,123,200);
newItem->setBackgroundColor(color);
newItem->setSizeHint(QSize(280,20));
ui->tableData->setVerticalHeaderItem(row,newItem);
}
all it's ok!
But when I install the application on another pc, the color of the alls headers is wrong!!!
Do I missing some .dll on installation package???? I didn't find it!!!!
thans for help or suggestions!!
Claudia
I create an application with qt4.7
I'm using a QTableWidget (tableData) and I define his property runtime.
Here I define a header
void AnaResults::SetHeaderRow(int row, QString dato)
{
QTableWidgetItem *newItem = new QTableWidgetItem();
newItem->setData(0,dato);
const QColor color(76,123,200);
newItem->setBackgroundColor(color);
newItem->setSizeHint(QSize(280,20));
ui->tableData->setVerticalHeaderItem(row,newItem);
}
all it's ok!
But when I install the application on another pc, the color of the alls headers is wrong!!!
Do I missing some .dll on installation package???? I didn't find it!!!!
thans for help or suggestions!!
Claudia