You can set the background-color
& color
attributes of your widget as follows, forget the QPallette
:
QWidget#yourWidgetName
{
background-color: #ccc;
color: #1c1c1c;
}
Read the documentation A-Z, it has all the wisdom you gonna need when dealing with QT style-sheets
Setting link-color
& link-visited-color
at the style-sheet level is not possible though.