In my project I have some own widgets. When I click on a toolbar-button to print, I want to print the widgets in a specific layout (landscape-orientation).
I tried it with a new QWidget with a layout, and in this layout add my widgets. But when I do this, my widget disappear from my mainwindow.
How can I print my widget without disappearing and my own layout?