QWidget Background Problem
Solved
General and Desktop
-
Hello,
I have QWidget and I using this QWidget like this.This is just picture. I using stylesheet for do this background but I need to do get this background from url. I mean I want change this background from url.
For exampleI want get this background from this url. How can I do this ?
If I cant do this with qwidget can you say me please other ways.Thank you.
-
If you are using the QWidgets, you have no direct way of doing it. You need to download the image using the QNetworkAccessManager and us it. If you want use QML, QImage has option to load the image directly from URL.
-
How I can do this with qimage sir ?
-
Have you seen this post ?