I made a plasma app that opens a settings dialog
I'm trying to close a dialog with a close button
If I open it like this
Code:
void test::settings() { myQtApp *dialog = new myQtApp; dialog->show(); }
How can i close it like this
Code:
{ setupUi(this); connect( pushButton_close, SIGNAL( clicked() ), this, SLOT( close() ) ); } void myQtApp::close() { "this shold close the dialog"); }