Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

[SOLVED] Close signal send to other class

$
0
0
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 :(

Viewing all articles
Browse latest Browse all 13965

Trending Articles