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.

enter image description here

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); } 

code on github


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -