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 4 Mar 2016, 20:35 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
    • A Offline
      A Offline
      Alper
      wrote on 9 May 2016, 05:43 last edited by
      #2

      I have same problem

      P 1 Reply Last reply 9 May 2016, 06:18
      0
      • A Alper
        9 May 2016, 05:43

        I have same problem

        P Offline
        P Offline
        p3c0
        Moderators
        wrote on 9 May 2016, 06:18 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
        • A Offline
          A Offline
          Alper
          wrote on 9 May 2016, 07:21 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