How to close the main window in Qt creator without exiting the program?
I have been googling this for the past week, and I can't find how to close the main window in Qt creator without closing the program. I tried to go as far as I could without asking for help, but this one just go me.
EDIT: What I want to do is, create a main window that has options that opens up other windows, then close that main window without exiting the program. |
I guess not very many people use Qt creator to code GUIs.
|
Quote:
so, once it is returned, the main program returns. |
Oh, with the hide function. (If I am naming the right one.)
Thanks for your response, I was starting to think I was a very lonely coder. |
Quote:
|
thanks, it denied me a couple of times through the image verification. Those are getting harder to pass than learning to write programs.
|
Quote:
here's a sample: first window header Code:
public: Code:
MainWindow::MainWindow(QWidget *parent) : Code:
SettingsWindow::SettingsWindow(ConfigSource &src, QWidget *parent) : (problem solved ;)) |
I will leave this unsolved, just in case more problems arise about this subject.
EDIT: Thanks for your response saman_artorious |
All times are GMT -5. The time now is 02:34 AM. |