[Interest] Question about style sheets.

Igor Mironchik igor.mironchik at gmail.com
Mon Aug 31 09:10:55 CEST 2015


Solved by setting Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint 
flags on dialog.

8/27/2015 8:45 PM, Igor Mironchik пишет:
> 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?
>




More information about the Interest mailing list