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.