In an app I'm creating I have a dialog that pops up. I'd like to have the dialog be maximised to fill the whole screen, but I can't see how I go about doing that?
I've played around with the different "sizePolicy" settings, but none of these seem to make it fill to fit the screen. I thought that perhaps setting the policy to "Expanding/Expanding" would do the trick, but it seems not.
I'm launching the dialog by doing:
Can anyone give me an idea how I should be doing this?