Hello all,

I'm having a problem with using a QFrame as a color selection indicator. What I'm trying to do is to place a QFrame into my dialog via designer, set its palette's "Window" role to a color (it starts black), then a QPushButton will invoke a QColorDialog::getColor() to change the base color of the QFrame - the idea is to show the picked color on the parent dialog.

What I'm seeing when I run my application is that the QFrame is not visible (at all), and no matter what I change the color to (the base color is being stored in the invisible frame), I cannot see it.

Any ideas? I'm using Qt 4.2.2