Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
QPushButton made with images on it gets focus "shading" in Ubuntu
ronM71 last edited by
I have a widgets with QPushButtons on it. I style these QPushButtons to show an image for the standard, hover and pressed states. It works fine for Windows and OSX but does show a "selection" shade when the pushbutton receives focus on Ubuntu. It's kind of reddish shade layered on top of the button image. hitting TAB on the keyboard will move the focus rect and remove the red coloring.
How can I make sure this doesn't happen? how do I prevent focus on the QPushButton in Ubuntu?.
andre last edited by
I would think that is an artifact of the style you are using. Set a different style (QStyle, not style sheet) for the push buttons.