[SOLVED]box-shadow in stylesheet
-
wrote on 18 Aug 2013, 17:23 last edited by
I wonder how can I view the shadow by stylesheet?
I tried the but it didn't work!
@box-shadow: 0px 5px 5px 0px rgb(0, 170, 0);@ -
wrote on 19 Aug 2013, 17:01 last edited by
Hello,
I believe this is what you are looking for.If not,please do post back.
Have a look at this link
http://www.w3schools.com/cssref/css3_pr_box-shadow.asp -
wrote on 19 Aug 2013, 21:06 last edited by
bq. I believe this is what you are looking for.
yes
-
wrote on 24 Aug 2013, 17:20 last edited by
Any idea guys?! I couldn't see any mentioning to box-shadow in StyleSheets reference
-
wrote on 11 Sept 2013, 17:05 last edited by
New up since last August
-
Do you want it on a webpage using webkit or via qss on a widget?
qss is a subset of css and does not support box shadow. Some simple cases can be "emulated" to an extent with some clever border gradients or a parent container with a padding and background gradient.
-
wrote on 11 Sept 2013, 18:27 last edited by
[quote]Do you want it on a webpage using webkit or via qss on a widget?[/quote]
On widget -
wrote on 27 Oct 2013, 12:07 last edited by
Bump it; Shadow effect is needed feature in modern GUI
-
As I said - qss doesn't support it and most likely will not as there are no (that I know of) new features added to the widgets module.
Qt devs rarely read this forum so it's not the best place for feature request. You can always make it here: https://bugreports.qt.io
For now you can get shadows with border images or gradients or by using QGraphicsDropShadowEffect with setGraphicsEffect.
-
wrote on 27 Oct 2013, 15:38 last edited by
Thanks a lot.
I'm really confused these days because I touch that Qt gurus (including Digia staff) push us to Qt Quick by stopping adding new features to Qt Widgets. I'm not confidence in Qt Quick although of its fancy features because of Digia policy (commercial plugins of QML) so I may leave Qt to another toolkit which may offers cross-platform flexibility (including web interface).
Any way, this post isn't the right place so I’ve to stop here. Once again thank you Chris.