QT Creator: Calling child Windows

Nov 9, 2013 at 6:51pm

All of it is self explanitory, but I really don't have the time to analyze hours' worth of code... Can anyone tell me how to call a window?

I made my main window a friend class of this new 'child' window. I want to call it (run it alongside the main) and then be able to access it's members.

Unfortunately, there are some new objects I need to work with to do this (date edit box, anyone?? ;)) and the suggestions in the IDE have disappeared (because, of course, UI is supposed to be a private member, but mainwindow is supposed to be a friend...). Can anyone help me?

I'm asking, because most of what I could find online are from people who have no clue how to write C++ except with Qt's objects.
Nov 9, 2013 at 9:09pm
nevermind, I just added a member that's a pointer to what I want modified. Now I don't need setters/getters at all because the object being modified is modified directly.
Topic archived. No new replies allowed.