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. [Solved] Remove what's this '?' from QDialog?
Forum Updated to NodeBB v4.3 + New Features

[Solved] Remove what's this '?' from QDialog?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 9.9k 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.
  • CAD_codingC Offline
    CAD_codingC Offline
    CAD_coding
    wrote on last edited by
    #1

    Hi,
    For my About dialog, I created a class using the form class.
    It has a '?' button next to close button.
    I want to delete that button.
    How do I do that?

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by Chris Kawa
      #2
      dialog->setWindowFlags(dialog->windowFlags() & ~Qt::WindowContextHelpButtonHint);
      
      1 Reply Last reply
      1
      • CAD_codingC Offline
        CAD_codingC Offline
        CAD_coding
        wrote on last edited by
        #3

        Hi Chris!
        Thank You!!!
        It worked like a charm :)

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qrcline
          wrote on last edited by
          #4

          I am using creator4.9.2 to disable I used:
          setWindowFlag(Qt::WindowContextHelpButtonHint,false);

          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