Results 1 to 1 of 1

Thread: QML CommonDialog, onButtonClicked

  1. #1
    Join Date
    Feb 2012
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Symbian S60

    Default Re: QML CommonDialog, onButtonClicked

    I have a problem with CommonDialog component:

    Qt Code:
    1. CommonDialog {
    2. id: reklam
    3. platformContentMaximumHeight: 400
    4. buttonTexts: ["Exit", "Cancel"]
    5. onButtonClicked: ------------------------------> I want to set 2 action for button (Exit & Cancel)
    6. privateCloseIcon: true
    7. platformInverted: true
    8. titleText: "Counter is closing..."
    9. }
    To copy to clipboard, switch view to plain text mode 

    When I clicked the Exit button app will close
    or when i clicked cancel dialog will close.

    But I can't set this... Please help me for this issue.


    Added after 25 minutes:


    OK. I solved using buttons propert instead of buttonTexts
    Last edited by akinorta; 13th April 2012 at 14:26.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.