'stylesheet inherit in QT Designer buttons and widgets
I am designing a UI in QT Designer. I added background image to the main window, and same is inherited to the buttons, and widgets inside the main window,
How can I stop this auto inherit and keep default settings for the objects inside the main window ?
Thanks in Advance !!.
Solution 1:[1]
Use it like this:
.QMainWindow {
background-image: your image;
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Leonardo Dagnino |
