Hello all,
i have several style problems:
- Is there a way to change the font-weight (or font-size minimum) of the selected item in QListWidget?
I try this styleSheet:
"QListWidget::item:selected{font-size: 20px;"
"background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #cdcdcd, stop: 1 #5781AE);}"
"QListWidget::item:selected{font-size: 20px;"
"background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #cdcdcd, stop: 1 #5781AE);}"
To copy to clipboard, switch view to plain text mode
The background color works, but not the font size.
- Is ther a way to change only the color of a QPorgressBar?
I mean that when i apply a style sheet only for the backround color like this
"QProgressBar::chunk {"
"background: qlineargradient(x1: 0, y1: 0.5, x2: 1, y2: 0.5, stop: 0 #76B900, stop: 0.5 white, stop: 1 #76B900 );}"
"QProgressBar::chunk {"
"background: qlineargradient(x1: 0, y1: 0.5, x2: 1, y2: 0.5, stop: 0 #76B900, stop: 0.5 white, stop: 1 #76B900 );}"
To copy to clipboard, switch view to plain text mode
all properties of the original QProgessbar style are disabled.
Thanks for your answer.
Bookmarks