[Qt-creator] Drawing on QWidget

Alex Williams linuxfpga at gmail.com
Sun Jul 5 22:13:27 CEST 2009


> Umm... Why don't you just use the QLabel widget and its setPixmap() method?

Because I'm not sure... I know this solution, it works, but It seems
that this is a wrong way. When I using QLabel and layouts - it
blocking me to scale my windows back again to smaller size, so this
solution is not acceptable...

And again, I just want to ask developers of Qt Creator: they added
QWidget element in Qt Designer. QWidget using it's own drawing
function and events processing. So, I'm just creating new project,
adding QWidget... And what I should do now? Where to write painting
function and how?

Please, help me, I'm stucked with this problem ^_^
P.S. When I using wxWidgets and Lazarus VCL - there are no problems,
everything is clear and working... ;)



More information about the Qt-creator-old mailing list