Yes there was. Don't abuse the word "Creator" because it leads to confusion. You should have asked about initial visibility of the form in your program that you create in Creator (or in fact Designer). Then I would have said that widgets are hidden by default and you should show() them in your code. Then you would have asked how to do that and then I would point you to the link I did point you to. So cutting to the chase - your question was answered by the link I gave you.
Then read the link and the answer(s) to your question(s) will become obvious.As for the other question, I'm yet to read through all that (tthe link)
You're used to stupid IDEs that don't give a damn about inheritance. Qt does so you do all that you say by subclassing and not editing auto-generated code.. It's just that I'm used to utilizing IDE:s to generate a base code I then can edit to fit my purpose. I'm sure there are some smart concepts behind the QT approach, but a little frustrating when I get stuck as in my case above.
And by the way - learning some things first before giving opinions about them is a really good idea. You got stuck because you started coding before learning and expected something to work exactly as you're used to with some other mechanism and finding that things are a bit different you assumed that everything must be different. Just as you didn't notice that the code generated from the .ui file is not a widget so calling show(), hide() or setVisible() on it wouldn't make any sense.
Bookmarks