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::getExistingDirectory show hidden?

QFileDialog::getExistingDirectory show hidden?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.5k Views
  • 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
    Moschops
    wrote on last edited by
    #1

    I'm using a QFileDialog::getExistingDirectory function call; I'd like to see hidden directories. Seems that there's no option for thnis static function to do that, and also no option to do so if I create my own QFileDialog (i.e. without the static function call).

    Trawling around, it seems that QT3 had a setShowHiddenFiles function that might have been useful, but I can't find how to do it using QT 4.8; does anyone know?

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      See if this helps. Off-course it is not static function. You have to have object for this to work.

      <FileDialogObj>.setFilter(QDir.Hidden)

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      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