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. Disable close button on qml window

Disable close button on qml window

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlwindowtitle bar
4 Posts 3 Posters 5.9k 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.
  • P Offline
    P Offline
    PhlipVR
    wrote on last edited by
    #1

    How can I disable the title bar close button on a qml window? Also is that applicable to max and min buttons?

    1 Reply Last reply
    1
    • AlperA Offline
      AlperA Offline
      Alper
      wrote on last edited by
      #2

      I have same problem

      p3c0P 1 Reply Last reply
      0
      • AlperA Alper

        I have same problem

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

        Hi @Alper
        It can be done by making the window frameless. This can be done as for eg.:

        Window {
            flags: Qt.FramelessWindowHint
        }
        

        157

        1 Reply Last reply
        2
        • AlperA Offline
          AlperA Offline
          Alper
          wrote on last edited by
          #4

          @p3c0 said:

          Window {
          flags: Qt.FramelessWindowHint
          }

          Thanks
          it works.

          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