It turns out that I left out the last (supposedly optional) argument to drawControl. The line should be:
which fixes everything on my computer.Qt Code:
To copy to clipboard, switch view to plain text mode
It turns out that I left out the last (supposedly optional) argument to drawControl. The line should be:
which fixes everything on my computer.Qt Code:
To copy to clipboard, switch view to plain text mode
ROFL! xD
This was sooooo annoying :/ I'm really glad that we finally made it =P.
That code was dryving me insane uff...
One more thing, could you tell me if style sheet works for you? I'm trying to draw the items with custom background his way:
Qt Code:
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1); } background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc); } background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6b9be8, stop: 1 #577fbf); }To copy to clipboard, switch view to plain text mode
But I get the default blue/dark-blue when selected or mouse-over.
I get the following, which is not the default on my machine.
Yeah, I get that too! But I have my own stylesheet and it's not like that, so... What's the problem? Why is not rendering my stylesheet?
Ok, nm... I'm stupid. It was actually showing the stylesheet, but I had the stylesheet almost exactly the same colors as the default (+I'm a little bit daltonic) ...
Really thanksI can finally rip xD
Bookmarks