PDA

View Full Version : QCornerButton



zahra
7th April 2015, 09:54
Hi,
I was wondering if there is a way to change QCornertButton in QTableWidget. I'm subclassing QTableWidget but I can't get the correct way to change the top-left corner button background color.

wysota
7th April 2015, 15:45
You can use qFindChild() (or QObject::findChild) to access the button by its name (you can check the name in Qt source code).