New control request



  • I have a request for a new control. I am working on an Electron-based app, where I need to select a folder. The app will run on Windows.

    I am looking for a control similar to QFile, but which opens the “Select Folder” native Windows dialog instead of the Open File Dialog.



  • Never mind. Adding the webkitdirectory attribute to the QFile does the job.



  • I take that back. While the visual appearance suggests selecting a folder, in reality, the control’s value is either a file from the selected folder (I don’t know how it selects the file, but for the same folder it is consistently the same file), or, if the folder is empty, undefined. This makes it useless as a folder selection mechanism.

    Bottom line, my request is back.


Log in to reply