getOpenFileName()

Parent Previous Next

TW.app.getOpenFileName();


This function will cause the "open file" dialogue box to appear and return the file name chosen or an empty string if no file  is chosen.


A full path name is returned.


There is an overload function that will take a string as the argument, which is a filter. See getOpenFileName(QString)


Note: The function does not itself open anything, only returns the path and name that the user selects.




See also getOpenFileNames() and getOpenFileNames(QString)

Created with the Personal Edition of HelpNDoc: Free iPhone documentation generator