Hi

I tried following code to implement round corners of Qdialog ,but the corners are not transparent , Their color is black.

All corner of dialog.png is transparent.

QDialog{
border-image: url(qss/dialog.png);
border-width: 5px;
background-color:transparent;
}

and if i use border-radius:3px, It doesn't work. dialog will have a black border.

This methed works for QPushbutton, but doesn't work for QDialog, I think it's because the QDialog is in toplevel

Thx in advance,and sry for my bad english