Hi all,
I've stumbled on a potential issue concerning the usage of stylesheets and
QWidget::palette() (to get colors set by the stylesheet). In a nutshell,
accessing palette() within the constructor of the object (e.g QWidget) does
not work.
I've described the issue fully here:
Hi Max,
In our Qt 4.8.6 app we use the Polish event to apply changes after the styles
are set in our base window class:
bool BaseForm::event(QEvent *event)
{
bool result = QDialog::event( event );
if (event-type() == QEvent::Polish)
{