PushButton background not visible
-
hey eddy
well
as per your suggestion i checked out this link
http://developer.qt.nokia.com/faq/answer/i_change_the_background_color_of_my_child_widgets_but_the_color_does_not_chone of the suggestion is to change set setAutoFillBackground(true). Since this property does not work with stylesheets. I removed the style sheets and added. But i dont see any change. The form has a background image. Is it the reason???
@
QPalette pal = ui->pushButton->palette();
pal.setColor(QPalette::Highlight,QColor("Green"));
ui->pushButton->setAutoFillBackground(true);
@alfah
-
hello everyone
I found the following link abt the transparecy.
http://doc.qt.nokia.com/qq/qq16-background.htmlShould I set the autofillproperty of each widget to preserve eahc widgets properties so that content propagation does not take place???