Hi
I have a style sheet that sets the background colour for QDialog -

QDialog {
    background-color: red;
}

My application has a QListWidget added from Designer and is created with its 
containing layout as the parent,
Upon selecting an element in the list I launch a dialog, but the style sheet is 
not applied to this dialog.
I believe that this is because the list widget is not created with my main 
window as a parent

I thought that by specifying the background colour in the style sheet that all 
dialogs (regardless of parent) would have the same background colour.

I would be grateful if someone could explain why this is not the case

Thanks in advance

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to