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

QFileDialog and restriction use

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

    is it possible to do something for forbid to see outside of defined directory ?
    or...
    better, for do the obligation of stay inside a define directory and his sub-directories ?

    my idea is, for the user, to a general general directory of the application (in the configuration wondow) and then, each time the user create a project in the application, he has to choose or create by the QFileDialogBox a directory inside this one for the new project (or for some other new creations).

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      When using the Qt-based variant (which IMHO looks horrible and outdated), I think this could be achieved. With the native dialogs: I don't think so.

      1 Reply Last reply
      0
      • jerome_isAviableJ Offline
        jerome_isAviableJ Offline
        jerome_isAviable
        wrote on last edited by
        #3

        ok so... i need to construct my own QFileDialog browser...
        maybe this could be alos an occasion to constrcut a visual graphic view of the content sized...
        ok thanks.

        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