Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Curved edges as like Rectangle for QML type dialogs
Qt 6.11 is out! See what's new in the release blog

Curved edges as like Rectangle for QML type dialogs

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 1.8k Views 2 Watching
  • 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.
  • RubikaR Offline
    RubikaR Offline
    Rubika
    wrote on last edited by
    #1

    Hi,
    I need to create a qml dialog with Dialog QML Type(http://doc.qt.io/qt-5/qml-qtquick-dialogs-dialog.html) in which i need to set the curved edges. How to do it?

    p3c0P 1 Reply Last reply
    0
    • RubikaR Rubika

      Hi,
      I need to create a qml dialog with Dialog QML Type(http://doc.qt.io/qt-5/qml-qtquick-dialogs-dialog.html) in which i need to set the curved edges. How to do it?

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi @Rubika,
      If you are ok with Window instead of Dialog then this will do the trick.
      The problem with QML Dialog is that there is no way to make it frameless.

      157

      R RubikaR 2 Replies Last reply
      0
      • p3c0P p3c0

        Hi @Rubika,
        If you are ok with Window instead of Dialog then this will do the trick.
        The problem with QML Dialog is that there is no way to make it frameless.

        R Offline
        R Offline
        Rubika M
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • p3c0P p3c0

          Hi @Rubika,
          If you are ok with Window instead of Dialog then this will do the trick.
          The problem with QML Dialog is that there is no way to make it frameless.

          RubikaR Offline
          RubikaR Offline
          Rubika
          wrote on last edited by Rubika
          #4

          Hi @p3c0 ,

          Ok if there is no way i will try to do it with Window. Thank you @p3c0

          1 Reply Last reply
          0
          • p3c0P Offline
            p3c0P Offline
            p3c0
            Moderators
            wrote on last edited by
            #5

            Well then doubt if it is possible with QML Dialog. The cpp version i.e QDialog too doesnt have a builtin method to do it than do it with some manual way like for eg. shaped clock.
            AFAIK there's no similar way to override QML Dialog functionality.

            157

            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