Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Loading information into a modified file dialog during use



  • I have a project where the data being read had energy information. The basic data file is very large and I want to be able to extract a subset for subsequent analysis. I have already added two fields to the standard file dialog for the minimum and maximum energies. Ideally, I would like to do the following:

    1. When the user clicks on a file in the browser window, the code opens the file, checks for energy ranges in the header information, and loads that into the two fields.
    2. The user can then edit these fields to limit the data that is loaded.
    3. Upon clicking open, the data is read into the program.

    Reading the header and data is already programmed into the project. The questions are can I do this quick open to load the data without exiting the dialog box and, if so, how?



  • @djsuson Hi, I'd send a signal from your dialog to be handled where needed to open the data.


Log in to reply