Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. MessageDialog force non-native

MessageDialog force non-native

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 303 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SeDiS Offline
    SeDiS Offline
    SeDi
    wrote on last edited by SeDi
    #1

    Hi,
    is there a possibility to force a MessageDialog to use Qt's own implementation? I know that FileDialog has an option for that but I havent't found anything for MessageDialog.

    import QtQuick.Dialogs 1.3
    MessageDialog {
    ...
    }
    
    

    As I don't know a better solution for what I actually try to achieve (different post), I have been relying on the implementation structure of Qt - but that has stopped working, apparently because the MessageDialog seems to be native in Windows by now.

    To be precise: I can't access the contentItem, thus also not its children, any more.
    Thanks!

    1 Reply Last reply
    0
    • IntruderExcluderI Offline
      IntruderExcluderI Offline
      IntruderExcluder
      wrote on last edited by
      #2

      You can construct your own dialog. Use Popup with Column combination, or Window, if you want to show dialog as separate window.

      1 Reply Last reply
      0
      • SeDiS Offline
        SeDiS Offline
        SeDi
        wrote on last edited by
        #3

        Thank you for the answer, IntruderExtruder! I guess I'll have to do that, yes. I was hoping to "reuse the wheel" instead of reinventing it, but sometimes the actual wheel is just not flexible enough :-)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved