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::getOpenFileName with file name line edit?
Forum Updated to NodeBB v4.3 + New Features

QFileDialog::getOpenFileName with file name line edit?

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 335 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.
  • J Offline
    J Offline
    Joachim W
    wrote on last edited by
    #1

    QFileDialog::getSaveFileName, naturally, has a line edit field where to enter the name of the file to be saved.

    QFileDialog::getOpenFileName does not have such a field, at least not in native mode under Debian. However, it would be nice to have such a field. In many cases, some users will find it faster to enter a full file path into such a field instead of clicking up and down through a lengthy directory hierarchy.

    Is there any way to get such a field in a QFileDialog for opening existing files?

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Joachim-W said in QFileDialog::getOpenFileName with file name line edit?:

      at least not in native mode under Debian

      So why do you ask here when you use debian with a native gtk file dialog?

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      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