You are the only one who may know it. Only you know what it does and how it does it. We don't.
You are the only one who may know it. Only you know what it does and how it does it. We don't.
At a guess your size hint should be the same as the size of the image you load into the JCanvas. Implement QWidget::sizeHint() in your JCanvas and return that size as a starting point. You may also want to try setting QSizePolicy::Fixed on the JCanvas.
Bookmarks