Hi,
in my application-wide css i define
* {color: #333333;}
* {color: #333333;}
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
dgl_xyz dgl( this, Qt::Dialog );
dgl.setAttribute( Qt::WA_ShowModal );
if ( dgl.
exec() == QDialog::Accepted ) {
//...
}
dgl_xyz dgl( this, Qt::Dialog );
dgl.setAttribute( Qt::WA_ShowModal );
if ( dgl.exec() == QDialog::Accepted )
{
//...
}
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
Bookmarks