I create a myDialog inhereted from QDialog,and add an Apply button,as you know,when click Apply button,the slot applyslot() is used and the dialog window should not be closed.
I use myDialog as follows:
for not used accepted() in applyslot(),so applyslot() does not do,how to let the slot applyslot() do and the window does not close?Qt Code:
myDialog *mydialog=new myDialog (this); if(mydialog->exec()) { ...... }To copy to clipboard, switch view to plain text mode
Bookmarks