Discussion Board

Results 1 to 2 of 2
  1. #1
    Nokia Developer Expert piyer's Avatar
    Join Date
    Apr 2008
    Posts
    9
    Hi,

    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);
    tdlg->exec()

    But I can only see the options and exit buttons of the main window. What should I do ? Kindly advice.

    Thank you
    Regards,
    Priya

  2. #2
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    It depends on what you kind of UI you have in your dialog. For example, there are QInputDialog or QMessageBox.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved