Ok and Cancel Buttons for Derived QDialog
Nokia Developer Expert
I have derived a class called timedialog from QDialog. I want the standard OK and Cancel buttons in the dialog and handle them. Please tell me how can I do this... When i run this in my mainwindow:
timedialog* tdlg = new timedialog(this);
But I can only see the options and exit buttons of the main window. What should I do ? Kindly advice.
Re: Ok and Cancel Buttons for Derived QDialog
Nokia Developer Moderator
It depends on what you kind of UI you have in your dialog. For example, there are QInputDialog or QMessageBox.