Ok, then how would I mask the border-image widget?![]()
Ok, then how would I mask the border-image widget?![]()
Mask the top level widget (window). Of course you need to calculate the mask first, but it shouldn't be hard.
codeslicer (24th February 2008)
I don't think this will work, because, the buttons at the bottom of the monitor will stretch. Take a look at that screenshot on page 2. But that's a nice idea, if I didn't have to worry about scaling, then that would have been the ideal solution.
I'm thinking of using QWidget->hide() on each of those image labels, what do you think, will that work?
Thanks for helping me out, my lack of explanation skills keeps requiring more and more solutions![]()
codeslicer (25th February 2008)
Read again how border-image works. Pay special attention to the parameters. Read about border-width as well.
codeslicer (25th February 2008)
Yes, I read it. It's just that the buttons and stand will stretch to the right and left, horizontally. Oh well, the stretch probably won't be more than a few pixels.
To understand better, attached is the ui form + resources...
Please do not copy/use those images in your applications (Although I doubt you will need to)
Last edited by marcel; 27th February 2008 at 02:13. Reason: removed attachmets at user's request
*Bump*
Border image doesn't have a middle image that doesn't stretch right?
I think it does. But if it doesn't work, use background-image.
Bookmarks