FileDialog Class Reference

The FileDialog JavaScript global object. A simplified Qt file dialogs. More...

Public Slots

QVariant getOpenFileName (String &filter=String::null, String &title=String::null, QWidget *parent=0)
 function that returns an existing file selected by the user More...
 
QVariant getSaveFileName (String &filter=String::null, String &title=String::null, QWidget *parent=0)
 function that will return a file name selected by the user More...
 
QVariant getExistingDirectory (String &dir=String::null, String &title=String::null, QWidget *parent=0)
 function that will return an existing directory selected by the user More...
 
StringList getOpenFileNames (String &dir=String::null, String &filter=String::null, String &title=String::null, QWidget *parent=0)
 function that will return one or more existing files selected by the user More...
 

Detailed Description

The FileDialog JavaScript global object. A simplified Qt file dialogs.

Member Function Documentation

◆ getExistingDirectory

QVariant FileDialog::getExistingDirectory ( String &  dir = String::null,
String &  title = String::null,
QWidget *  parent = 0 
)
slot

function that will return an existing directory selected by the user

◆ getOpenFileName

QVariant FileDialog::getOpenFileName ( String &  filter = String::null,
String &  title = String::null,
QWidget *  parent = 0 
)
slot

function that returns an existing file selected by the user

◆ getOpenFileNames

StringList FileDialog::getOpenFileNames ( String &  dir = String::null,
String &  filter = String::null,
String &  title = String::null,
QWidget *  parent = 0 
)
slot

function that will return one or more existing files selected by the user

◆ getSaveFileName

QVariant FileDialog::getSaveFileName ( String &  filter = String::null,
String &  title = String::null,
QWidget *  parent = 0 
)
slot

function that will return a file name selected by the user