How to remove the background from Qpushbutton?

Asked

Viewed 18 times

-2

I’m trying to create a clickable text - like "that" - in Qt Designer. For this, I created a QPushButton and marked the property flat to remove the background button.

At first glance, the background seems to have been removed, but when I hover over it, it appears again. How can I remove this background definitely?

1 answer

0


I still don’t understand why the following property change the background button, but to remove the background completely, define the property border for none, as follows:

QPushButton: flat {
    border: none;
}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.