Does anyone know if there is there any way to format the NW corner button using a stylesheet? Setting the following style sheet on the NW corner button in my CTableWidget constructor doesn't seem to do anything:

Qt Code:
  1. CTableWidget::CTableWidget( QWidget* parent ):
  2. QTableWidget( parent )
  3. {
  4. QList< QAbstractButton* > buttons = qFindChildren< QAbstractButton* >( this );
  5. for ( int i=0; i<buttons.size(); ++i )
  6. {
  7. buttons[i]->setStyleSheet( "QWidget{ background-color:red; }" );
  8. }
  9. }
To copy to clipboard, switch view to plain text mode 

I can paint the button myself using an event filter, but it doesn't seem like an end user can modify the appearance.

TIA,

jt