Ok this is clear, you are setting some style sheet for QDialog, so every QDialog in the project will have the same style sheet.
If you want to apply the style sheet for one particular dialog, you have to do something like this:
This will change the style sheet of only one dialog.Qt Code:
//Lets assume your QDialog instance name is dlg. QDialog#dlg { background-color: green; }To copy to clipboard, switch view to plain text mode
For more selectors here.





Reply With Quote

Bookmarks