I have a basic question about sizeHint. I have read thru the Qt documentation but I still don't know how to use sizeHint. Never have I been able to compile anything that has sizeHint() in it. I'd like to know what is the proper use of sizeHint.
For example if I want sizeHint to take care of the size of my application's window, how do I use it? Let's assume that I want the size always to be between 200x200 and 300x300 but as small as possible at the same time. What does the command look like when in action? I have not been able to find any relevant exaples online either. Thanks for help.