karankumar1609
25th March 2013, 14:08
Hello Everyone,
I have got stucked in a problem which works fine on my windows OS and not on MAC OSX.
I have added a QPushButton in my table widget but when the list of table widget increases then on scrolling added push button not move.
QPushButton *deleteButton = new QPushButton(Delete);
deleteButton->setFixedSize(32, 32);
deleteButton->setStyleSheet("QPushButton { border-image: url(:/Resource/Images/DashBoard/checkout.png); }");
ui->tableWidget_fileList->setCellWidget(row, 4, deleteButton);
it seems that the position of the buttons are static.
Unable to get out of this problem, anyone have adea about that?
I have got stucked in a problem which works fine on my windows OS and not on MAC OSX.
I have added a QPushButton in my table widget but when the list of table widget increases then on scrolling added push button not move.
QPushButton *deleteButton = new QPushButton(Delete);
deleteButton->setFixedSize(32, 32);
deleteButton->setStyleSheet("QPushButton { border-image: url(:/Resource/Images/DashBoard/checkout.png); }");
ui->tableWidget_fileList->setCellWidget(row, 4, deleteButton);
it seems that the position of the buttons are static.
Unable to get out of this problem, anyone have adea about that?