Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Hide Minimize button from FileDialog?
Qt 6.12 LTS is out! See what's new in the release blog

Hide Minimize button from FileDialog?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 730 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.
  • M Offline
    M Offline
    MTOLANI
    wrote on last edited by
    #1

    Is it possible to hide minimize/maximize button from FileDialog in QML.

    T 1 Reply Last reply
    0
    • M MTOLANI

      Is it possible to hide minimize/maximize button from FileDialog in QML.

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

      @MTOLANI not possible using qml. try

          Qt::WindowFlags flags = windowFlags();
          Qt::WindowFlags helpFlag = Qt::WindowMaximizeButtonHint;
          flags = flags & (~helpFlag);
          setWindowFlags(flags);
      
      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
      • Unsolved