Transparency of metallic push-buttons
-
I found that the way to adjust the transparency of a push button is by
button->setStyleSheet("background-color: rgba(230, 230, 230, 85%);" );
where 85% would correspond to the desired transparency level. However, the rgb values change the color of the push-button, and I would like the buttons to still have the metallic grey appearance that that usually have. Can this be achieved (regular push-button, with transparency level adjusted only)?
-
Try this: "link":http://qt-project.org/doc/qt-5/qwidget.html#windowOpacity-prop, although I suspect it will not work.
-
It doesn't work.
[quote author="sierdzio" date="1415268388"]Try this: "link":http://qt-project.org/doc/qt-5/qwidget.html#windowOpacity-prop, although I suspect it will not work.[/quote]