How to resize a QMainWindow in QWorkspace.
I've tried to programmatically Maximise a QMainWindow in QWorkspace but I cannot get the equivalant of the user hitting the maximise button. Thoughts?
I've tried setWindowState, but that always leaves the title bar on the internal window. I've looked at posting a WindowStateChangeEvent but that hasn't worked so far.
Re: How to resize a QMainWindow in QWorkspace.
Did you try calling showMaximized() on the child window?
Re: How to resize a QMainWindow in QWorkspace.
Thankyou, that works. I did look for a setMaximised or just maximise call, somehow totally missed showMaximised.