Hello. I have two classes, QMainWindow and QDialog. Each class has separate GUI.
In main function I first call QMainWindow (with gui), then after some operations I want to close this gui (this->close()) , and send signal to 2nd class to open. Is this possible?
I was trying sth like that:
main.cpp
class1 w;
w.show();
if(!w.isVisible())
{
class2 u;
u.show();
}
but it’s not working :(
↧