Hi guys, anyone know how to incorporate QPushButton into if-else statment?
I am using connect function for my program.
I do not know how to let the QPushButton work if it is clicked.
Qt Code:
if(iampushbutton->_____?______ ) { function1(); } else { function2(); }To copy to clipboard, switch view to plain text mode
Bookmarks