QFileDialog

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++)
class QFileDialog : QDialog {}

Constructors

this
this(QWidget parent, qt.core.namespace.WindowFlags f)
Undocumented in source.
this
this(QWidget parent, const(QString) caption, const(QString) directory, const(QString) filter)
Undocumented in source.
this
this(const(QFileDialogArgs) args)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

Options
alias Options = QFlags!(Option)
Undocumented in source.

Enums

AcceptMode
enum AcceptMode
Undocumented in source.
DialogLabel
enum DialogLabel
Undocumented in source.
FileMode
enum FileMode
Undocumented in source.
Option
enum Option
Undocumented in source.
ViewMode
enum ViewMode
Undocumented in source.

Functions

accept
void accept()
Undocumented in source.
acceptMode
AcceptMode acceptMode()
Undocumented in source.
changeEvent
void changeEvent(QEvent e)
Undocumented in source.
confirmOverwrite
bool confirmOverwrite()
Undocumented in source.
currentChanged
void currentChanged(const(QString) path)
Undocumented in source.
currentUrlChanged
void currentUrlChanged(const(QUrl) url)
Undocumented in source.
defaultSuffix
QString defaultSuffix()
Undocumented in source.
directory
QDir directory()
Undocumented in source.
directoryEntered
void directoryEntered(const(QString) directory)
Undocumented in source.
directoryUrl
QUrl directoryUrl()
Undocumented in source.
directoryUrlEntered
void directoryUrlEntered(const(QUrl) directory)
Undocumented in source.
done
void done(int result)
Undocumented in source.
fileMode
FileMode fileMode()
Undocumented in source.
fileSelected
void fileSelected(const(QString) file)
Undocumented in source.
filesSelected
void filesSelected(const(QStringList) files)
Undocumented in source.
filter
QDir.Filters filter()
Undocumented in source.
filterSelected
void filterSelected(const(QString) filter)
Undocumented in source.
history
QStringList history()
Undocumented in source.
iconProvider
QFileIconProvider iconProvider()
Undocumented in source.
isNameFilterDetailsVisible
bool isNameFilterDetailsVisible()
Undocumented in source.
isReadOnly
bool isReadOnly()
Undocumented in source.
itemDelegate
QAbstractItemDelegate itemDelegate()
Undocumented in source.
labelText
QString labelText(DialogLabel label)
Undocumented in source.
mimeTypeFilters
QStringList mimeTypeFilters()
Undocumented in source.
nameFilters
QStringList nameFilters()
Undocumented in source.
open
void open(QObject receiver, const(char)* member)
Undocumented in source.
options
Options options()
Undocumented in source.
proxyModel
QAbstractProxyModel proxyModel()
Undocumented in source.
resolveSymlinks
bool resolveSymlinks()
Undocumented in source.
restoreState
bool restoreState(const(QByteArray) state)
Undocumented in source.
saveState
QByteArray saveState()
Undocumented in source.
selectFile
void selectFile(const(QString) filename)
Undocumented in source.
selectMimeTypeFilter
void selectMimeTypeFilter(const(QString) filter)
Undocumented in source.
selectNameFilter
void selectNameFilter(const(QString) filter)
Undocumented in source.
selectUrl
void selectUrl(const(QUrl) url)
Undocumented in source.
selectedFiles
QStringList selectedFiles()
Undocumented in source.
selectedMimeTypeFilter
QString selectedMimeTypeFilter()
Undocumented in source.
selectedNameFilter
QString selectedNameFilter()
Undocumented in source.
selectedUrls
QList!(QUrl) selectedUrls()
Undocumented in source.
setAcceptMode
void setAcceptMode(AcceptMode mode)
Undocumented in source.
setConfirmOverwrite
void setConfirmOverwrite(bool enabled)
Undocumented in source.
setDefaultSuffix
void setDefaultSuffix(const(QString) suffix)
Undocumented in source.
setDirectory
void setDirectory(const(QString) directory)
Undocumented in source.
setDirectory
void setDirectory(const(QDir) adirectory)
Undocumented in source. Be warned that the author may not have intended to support it.
setDirectoryUrl
void setDirectoryUrl(const(QUrl) directory)
Undocumented in source.
setFileMode
void setFileMode(FileMode mode)
Undocumented in source.
setFilter
void setFilter(QDir.Filters filters)
Undocumented in source.
setHistory
void setHistory(const(QStringList) paths)
Undocumented in source.
setIconProvider
void setIconProvider(QFileIconProvider provider)
Undocumented in source.
setItemDelegate
void setItemDelegate(QAbstractItemDelegate delegate_)
Undocumented in source.
setLabelText
void setLabelText(DialogLabel label, const(QString) text)
Undocumented in source.
setMimeTypeFilters
void setMimeTypeFilters(const(QStringList) filters)
Undocumented in source.
setNameFilter
void setNameFilter(const(QString) filter)
Undocumented in source.
setNameFilterDetailsVisible
void setNameFilterDetailsVisible(bool enabled)
Undocumented in source.
setNameFilters
void setNameFilters(const(QStringList) filters)
Undocumented in source.
setOption
void setOption(Option option, bool on)
Undocumented in source.
setOptions
void setOptions(Options options)
Undocumented in source.
setProxyModel
void setProxyModel(QAbstractProxyModel model)
Undocumented in source.
setReadOnly
void setReadOnly(bool enabled)
Undocumented in source.
setResolveSymlinks
void setResolveSymlinks(bool enabled)
Undocumented in source.
setSidebarUrls
void setSidebarUrls(const(QList!(QUrl)) urls)
Undocumented in source.
setSupportedSchemes
void setSupportedSchemes(const(QStringList) schemes)
Undocumented in source.
setViewMode
void setViewMode(ViewMode mode)
Undocumented in source.
setVisible
void setVisible(bool visible)
Undocumented in source.
sidebarUrls
QList!(QUrl) sidebarUrls()
Undocumented in source.
supportedSchemes
QStringList supportedSchemes()
Undocumented in source.
testOption
bool testOption(Option option)
Undocumented in source.
urlSelected
void urlSelected(const(QUrl) url)
Undocumented in source.
urlsSelected
void urlsSelected(const(QList!(QUrl)) urls)
Undocumented in source.
viewMode
ViewMode viewMode()
Undocumented in source.

Static functions

getExistingDirectory
QString getExistingDirectory(QWidget parent, const(QString) caption, const(QString) dir, Options options)
Undocumented in source.
getExistingDirectoryUrl
QUrl getExistingDirectoryUrl(QWidget parent, const(QString) caption, const(QUrl) dir, Options options, const(QStringList) supportedSchemes)
Undocumented in source.
getOpenFileName
QString getOpenFileName(QWidget parent, const(QString) caption, const(QString) dir, const(QString) filter, QString* selectedFilter, Options options)
Undocumented in source.
getOpenFileNames
QStringList getOpenFileNames(QWidget parent, const(QString) caption, const(QString) dir, const(QString) filter, QString* selectedFilter, Options options)
Undocumented in source.
getOpenFileUrl
QUrl getOpenFileUrl(QWidget parent, const(QString) caption, const(QUrl) dir, const(QString) filter, QString* selectedFilter, Options options, const(QStringList) supportedSchemes)
Undocumented in source.
getOpenFileUrls
QList!(QUrl) getOpenFileUrls(QWidget parent, const(QString) caption, const(QUrl) dir, const(QString) filter, QString* selectedFilter, Options options, const(QStringList) supportedSchemes)
Undocumented in source.
getSaveFileName
QString getSaveFileName(QWidget parent, const(QString) caption, const(QString) dir, const(QString) filter, QString* selectedFilter, Options options)
Undocumented in source.
getSaveFileUrl
QUrl getSaveFileUrl(QWidget parent, const(QString) caption, const(QUrl) dir, const(QString) filter, QString* selectedFilter, Options options, const(QStringList) supportedSchemes)
Undocumented in source.
saveFileContent
void saveFileContent(const(QByteArray) fileContent, const(QString) fileNameHint)
Undocumented in source.

Inherited Members

From QDialog

~this
~this()
Undocumented in source.
DialogCode
enum DialogCode
Undocumented in source.
result
int result()
Undocumented in source.
setVisible
void setVisible(bool visible)
Undocumented in source.
setOrientation
void setOrientation(qt.core.namespace.Orientation orientation)
Undocumented in source.
orientation
qt.core.namespace.Orientation orientation()
Undocumented in source.
setExtension
void setExtension(QWidget extension)
Undocumented in source.
extension
QWidget extension()
Undocumented in source.
sizeHint
QSize sizeHint()
Undocumented in source.
minimumSizeHint
QSize minimumSizeHint()
Undocumented in source.
setSizeGripEnabled
void setSizeGripEnabled(bool )
Undocumented in source.
isSizeGripEnabled
bool isSizeGripEnabled()
Undocumented in source.
setModal
void setModal(bool modal)
Undocumented in source.
setResult
void setResult(int r)
Undocumented in source.
finished
void finished(int result)
Undocumented in source.
accepted
void accepted()
Undocumented in source.
rejected
void rejected()
Undocumented in source.
open
void open()
Undocumented in source.
exec
int exec()
Undocumented in source.
done
void done(int )
Undocumented in source.
accept
void accept()
Undocumented in source.
reject
void reject()
Undocumented in source.
showExtension
void showExtension(bool )
Undocumented in source.
keyPressEvent
void keyPressEvent(QKeyEvent )
Undocumented in source.
closeEvent
void closeEvent(QCloseEvent )
Undocumented in source.
showEvent
void showEvent(QShowEvent )
Undocumented in source.
resizeEvent
void resizeEvent(QResizeEvent )
Undocumented in source.
contextMenuEvent
void contextMenuEvent(QContextMenuEvent )
Undocumented in source.
eventFilter
bool eventFilter(QObject , QEvent )
Undocumented in source.
adjustPosition
void adjustPosition(QWidget )
Undocumented in source.

Meta