css - How to style a QWizard's button area? -
i have application styles set in qss file. widget backgrounds darker colour , buttons have own styles too.
this working throughout software except on qwizard seems have own button area across bottom of wizard default qt widget colour still applied it.
i have looked @ various components can apply styles on qwizard none of them seem button area across bottom of form, wondering if has encountered before , found out object need apply style change colour of area.
if set wizard style classicstyle
qwidgets
available colorization qss
.
wizard->setwizardstyle(qwizard::classicstyle);
for default vistastyle
painting hardcoded in source of qwizard
this:
if (wizardprivate->isvistathemeenabled(qvistahelper::vistabasic)) { if (window()->isactivewindow()) painter.setpen(qpen(qbrush(qcolor(169, 191, 214)), 0)); // ### hardcoded else painter.setpen(qpen(qbrush(qcolor(182, 193, 204)), 0)); // ### hardcoded painter.drawline(0, 0, width(), 0); }
Comments
Post a Comment