Quote Originally Posted by yellowmat
Despite I called the resize method of QCanvas, it looks not to be applied because the view is very small ... maybe something like 80x20.

So what is the problem with my code ?
You have set the size of the canvas itself, but the view has its own size --- you must set it too (you do it just like with any other widget).