QDialog with rounded corners have black corners instead of being translucent
问题 I need to create a QDialog with rounded translucent corners. The problem is when doing so, the corners are translucent, but are somehow filled in by the Window's alpha property making it black (which is my understanding of the cause of the problem) Clearly visible is the rounded edges, but with a black 'background' of sorts. To confirm, this Dialog is a modal dialog launched by a QThread from QMainWindow . It is not the parent window . The CSS for the QDialog (root) component is: QDialog {