Can't get flat QToolButton with border on hover stylesheet
- by Max
Hi, all!
I need to implement textbox with inplace button (for search or filter purposes). So, I need to get Qtoolbutton, that is flat and rendered as icon, and obtain the border when hovered by mouse or pressed. And maybe I'd add some almost transparent background on hover too.
I tried to set the following stylesheet:
'border: none; hover {border: 1px} pressed {border: 1px}'
, but it seems that only border set. I tried to set autoRaise() to True and False, I mean, maybe some intersection occured, but haven't succeed.