Unsolved How to change the color of the row in following cases
-
I have a QTableWidget https://ibb.co/gSSDon with two columns
MY requirement is whenever we fill both the columns of a single we should change the background color of the row to yellow
Can some one help me in writing the code for the same
-
You can change the background color of a QTableWidgetItem with QTableWidgetItem::setBackground(): http://doc.qt.io/qt-5/qtablewidgetitem.html#setBackground
-
I was looking for which signal is emitted when to swap from one row to other
using mouse clicks , tab press , or call of ::insertRow method
-
Just take a look at the signals of QTableWidget: http://doc.qt.io/qt-5/qtablewidget.html#signals I'm sure you'll find a signal which fits your needs ...