[Interest] Question about style sheets.

Igor Mironchik igor.mironchik at gmail.com
Thu Aug 27 19:46:07 CEST 2015


Hi,

I have global style sheet that I install to the instance of 
QApplication. In that style sheet I have

MyDialog
{
     background: #fff;
     border: 15px solid #26a2dc;
     padding: 25px;
  }

In MyDialog class I have following initialization line

setWindowFlags( Qt::FramelessWindowHint | Qt::Popup );

All elements in this dialog draws regarding global style sheet, but 
border of dialog doesn't draw.

What is the problem?

-- 
Best Regards,
Igor Mironchik.




More information about the Interest mailing list