Ich verwende QT Designer und würde gerne die Textfarbe einer QAction in einer QToolBar ändern. Wie kann ich das machen und wie kann ich den Separators in der ToolBar eine andere Farbe geben?
Hier ist das was ich habe und nicht funktioniert:
Code: Alles auswählen
QToolBar#toolBar {
background-color: rgb(25,25,25);;
font: 36px;
font-family: "Tahoma";
min-width: 10em;
padding: 6px;
border-style: none none outset none;
border-width: 2px;
border-color: rgb(21,101,112);
color: red;
}
QToolBar::separator {
height: 2px;
background: rgb(21,101,112);
margin-left: 10px;
margin-right: 5px;
}
QToolBar::item{
color: red;
}