I have background-image in my mainwindow. And now, when I call w.showFullScreen(); i want to show this image in fullscreen, no in fixed size.. Any ideas ?
I have background-image in my mainwindow. And now, when I call w.showFullScreen(); i want to show this image in fullscreen, no in fixed size.. Any ideas ?
It depends how you implemented your backgroud.
Is it a QLabel, or is it a QBrush, a QPixmap perhaps?
Can you show the relevant code?
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
I use Style Sheet..,
Qt Code:
{ background-image: url(:/images/debug/foto.jpg) }To copy to clipboard, switch view to plain text mode
Bookmarks