Hello,
I have a very simple question, so i'm going to do an easy explaination of what i want to achieve:
- i Have a QDialog, with various QFrames in it.
- The QDialog is not made directly via code (It is a .ui which is then converted to CPP).
- All of the content of this QDialog are put in a Vertical Layout (I'm not doing this, i have done the set up in Designer, so it is made in code after i convert from UI to CPP).
- Then when the QDialog runs (And depending on user actions), some of the contained elements can be hidden / shown.
What i want is, each time i hidde / show parts of the content, the QDialog to resize to the MINIMUM size possible (Force all the content to be minimum too).
So i tried so many things, does someone know what i have to do (I guess each time i change visibility of content) programmatically?
Thanks a lot for your time!
Pierre.




Reply With Quote
Bookmarks