Hi,

in my application-wide css i define
Qt Code:
  1. * {color: #333333;}
  2. QPushButton[enabled="false"] {color: FF0000;}
To copy to clipboard, switch view to plain text mode 
This works in my "normal" Application. But if i start a normal QDialog-Subclass via
Qt Code:
  1. dgl_xyz dgl( this, Qt::Dialog );
  2. dgl.setAttribute( Qt::WA_ShowModal );
  3. if ( dgl.exec() == QDialog::Accepted )
  4. {
  5. //...
  6. }
To copy to clipboard, switch view to plain text mode 
the fonts color is #333333, but the font of the disabled QPushButtons are also gray instead of red.


What's wrong?


Thanks,

Lykurg