Unsolved scrollbar in qStylesheet
-
what is Url means in it?
how can i access it ?QSizeGrip { image: url(:/images/sizegrip.png); width: 16px; height: 16px; }
-
@hjohn
Don't know what you mean by "how can i access it". The line:image: url(:/images/sizegrip.png);
means that a
QSizeGrip
will simply be given an image, where that image is in file/images/sizegrip.png
, relative to where your code is running (I think). You don't "do" anything with it. You could change that path if you wanted to use some other image for the sizegrip. -
@JonB Can i set my drive's path.or I have to add image in QT project.
-
@hjohn
You can probably have an absolute path with something likeurl(file://C/path/images/sizegrip.png)
. But this is not my area. You'll have to look up the syntax of that Qturl()
, or wait for someone else to answer. -
@JonB I just added image in resources and its done.