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. remove "?" button in dialog
Forum Updated to NodeBB v4.3 + New Features

remove "?" button in dialog

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 1.1k Views 1 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.
  • T Offline
    T Offline
    Tirupathi Korla
    wrote on last edited by
    #1

    Hi,
    Is it possible to hide the "?" help button in dialog beside close "x" button. I tried with dialog, messagedialog.

    -Tirupathi

    raven-worxR 1 Reply Last reply
    0
    • P Offline
      P Offline
      peteritv
      wrote on last edited by
      #2

      You can use property "standardButtons" for that.
      See http://doc.qt.io/qt-5/qml-qtquick-dialogs-messagedialog.html

      1 Reply Last reply
      0
      • T Tirupathi Korla

        Hi,
        Is it possible to hide the "?" help button in dialog beside close "x" button. I tried with dialog, messagedialog.

        -Tirupathi

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        @peteritv
        i think thats not what he meant.

        @Tirupathi-Korla
        I think the QML element doesn't supprt this (i may be wrong though). In C++ you would simply remove the Qt::WindowContextHelpButtonHint from the dialog-widgets window flags.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        T 1 Reply Last reply
        1
        • raven-worxR raven-worx

          @peteritv
          i think thats not what he meant.

          @Tirupathi-Korla
          I think the QML element doesn't supprt this (i may be wrong though). In C++ you would simply remove the Qt::WindowContextHelpButtonHint from the dialog-widgets window flags.

          T Offline
          T Offline
          Tirupathi Korla
          wrote on last edited by
          #4

          Thanks @raven-worx

          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