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] QFileDialog
Qt 6.11 is out! See what's new in the release blog

[SOLVED] QFileDialog

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 900 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.
  • G Offline
    G Offline
    GrahamL
    wrote on last edited by
    #1

    Hi
    In my application I want that all file dialogs set the DontUseNativeDialog flag.
    Is this possible by using style sheets or do I have to subclass file dialog and make sure that developers use this subclass?
    Is there a better way

    Thanks for your time

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      Hi,
      Stylesheets are able to do that, make sure you set the stylesheet only for the FileDialogs. Remember that a stylesheet set for a parent gets copied to the child so it could be that it also comes back on places you didn't want.

      Isn't it better to simply kill the developers who simply don't listen to your advice ;-) Just kidding, but still, if the master of the project says, don't, then really, don't.

      Greetz, Jeroen

      1 Reply Last reply
      0
      • G Offline
        G Offline
        GrahamL
        wrote on last edited by
        #3

        Hi
        Thanks to both of you
        We will place something in our coding standards

        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