KLayout 0.29.8 (2024-11-26 926dac96c) [master]

API reference - Class QFileDialog

Notation used in Ruby API documentation

Module: QtGui

Description: Binding of QFileDialog

Class hierarchy: QFileDialog » QDialog » QWidget » QObject

Sub-classes: AcceptMode, QFlags_AcceptMode, DialogLabel, QFlags_DialogLabel, FileMode, QFlags_FileMode, Option, QFlags_Option, ViewMode, QFlags_ViewMode

Public constructors

new QFileDialognew(QWidget ptr parent,
Qt_QFlags_WindowType f)
Constructor QFileDialog::QFileDialog(QWidget *parent, QFlags<Qt::WindowType> f)
new QFileDialognew(QWidget ptr parent = 0,
string caption = QString(),
string directory = QString(),
string filter = QString())
Constructor QFileDialog::QFileDialog(QWidget *parent, const QString &caption, const QString &directory, const QString &filter)

Public methods

[const]QFileDialog ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[const]QFileDialog_AcceptModeacceptModeMethod QFileDialog::AcceptMode QFileDialog::acceptMode()
voidacceptMode=(const QFileDialog_AcceptMode mode)Method void QFileDialog::setAcceptMode(QFileDialog::AcceptMode mode)
[signal]voidacceptedSignal declaration for QFileDialog::accepted()
[const]boolconfirmOverwriteMethod bool QFileDialog::confirmOverwrite()
voidconfirmOverwrite=(bool enabled)Method void QFileDialog::setConfirmOverwrite(bool enabled)
[signal]voidcurrentChanged(string path)Signal declaration for QFileDialog::currentChanged(const QString &path)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QFileDialog::customContextMenuRequested(const QPoint &pos)
[const]stringdefaultSuffixMethod QString QFileDialog::defaultSuffix()
voiddefaultSuffix=(string suffix)Method void QFileDialog::setDefaultSuffix(const QString &suffix)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QFileDialog::destroyed(QObject *)
[const]QDirdirectoryMethod QDir QFileDialog::directory()
[signal]voiddirectoryEntered(string directory)Signal declaration for QFileDialog::directoryEntered(const QString &directory)
voidemit_acceptedEmitter for signal void QFileDialog::accepted()
voidemit_currentChanged(string path)Emitter for signal void QFileDialog::currentChanged(const QString &path)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QFileDialog::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = 0)Emitter for signal void QFileDialog::destroyed(QObject *)
voidemit_directoryEntered(string directory)Emitter for signal void QFileDialog::directoryEntered(const QString &directory)
voidemit_fileSelected(string file)Emitter for signal void QFileDialog::fileSelected(const QString &file)
voidemit_filesSelected(string[] files)Emitter for signal void QFileDialog::filesSelected(const QStringList &files)
voidemit_filterSelected(string filter)Emitter for signal void QFileDialog::filterSelected(const QString &filter)
voidemit_finished(int result)Emitter for signal void QFileDialog::finished(int result)
voidemit_rejectedEmitter for signal void QFileDialog::rejected()
[const]QFileDialog_FileModefileModeMethod QFileDialog::FileMode QFileDialog::fileMode()
voidfileMode=(const QFileDialog_FileMode mode)Method void QFileDialog::setFileMode(QFileDialog::FileMode mode)
[signal]voidfileSelected(string file)Signal declaration for QFileDialog::fileSelected(const QString &file)
[signal]voidfilesSelected(string[] files)Signal declaration for QFileDialog::filesSelected(const QStringList &files)
[const]QDir_QFlags_FilterfilterMethod QFlags<QDir::Filter> QFileDialog::filter()
[signal]voidfilterSelected(string filter)Signal declaration for QFileDialog::filterSelected(const QString &filter)
[const]string[]filtersMethod QStringList QFileDialog::filters()
voidfilters=(string[] filters)Method void QFileDialog::setFilters(const QStringList &filters)
[signal]voidfinished(int result)Signal declaration for QFileDialog::finished(int result)
[const]intheightForWidth(int arg1)Virtual method int QFileDialog::heightForWidth(int)
[const]string[]historyMethod QStringList QFileDialog::history()
voidhistory=(string[] paths)Method void QFileDialog::setHistory(const QStringList &paths)
[const]QFileIconProvider ptriconProviderMethod QFileIconProvider *QFileDialog::iconProvider()
voidiconProvider=(QFileIconProvider ptr provider)Method void QFileDialog::setIconProvider(QFileIconProvider *provider)
[const]variantinputMethodQuery(const Qt_InputMethodQuery arg1)Virtual method QVariant QFileDialog::inputMethodQuery(Qt::InputMethodQuery)
[const]boolisNameFilterDetailsVisible?Method bool QFileDialog::isNameFilterDetailsVisible()
[const]boolisReadOnly?Method bool QFileDialog::isReadOnly()
[const]QAbstractItemDelegate ptritemDelegateMethod QAbstractItemDelegate *QFileDialog::itemDelegate()
voiditemDelegate=(QAbstractItemDelegate ptr delegate)Method void QFileDialog::setItemDelegate(QAbstractItemDelegate *delegate)
[const]stringlabelText(const QFileDialog_DialogLabel label)Method QString QFileDialog::labelText(QFileDialog::DialogLabel label)
[const]QSizeminimumSizeHintVirtual method QSize QFileDialog::minimumSizeHint()
[const]boolnameFilterDetailsVisibleMethod bool QFileDialog::isNameFilterDetailsVisible()
voidnameFilterDetailsVisible=(bool enabled)Method void QFileDialog::setNameFilterDetailsVisible(bool enabled)
[const]string[]nameFiltersMethod QStringList QFileDialog::nameFilters()
voidnameFilters=(string[] filters)Method void QFileDialog::setNameFilters(const QStringList &filters)
voidopenMethod void QFileDialog::open()
voidopen(QObject ptr receiver,
string member)
Method void QFileDialog::open(QObject *receiver, const char *member)
[const]QFileDialog_QFlags_OptionoptionsMethod QFlags<QFileDialog::Option> QFileDialog::options()
voidoptions=(QFileDialog_QFlags_Option options)Method void QFileDialog::setOptions(QFlags<QFileDialog::Option> options)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QFileDialog::paintEngine()
[const]QAbstractProxyModel ptrproxyModelMethod QAbstractProxyModel *QFileDialog::proxyModel()
voidproxyModel=(QAbstractProxyModel ptr model)Method void QFileDialog::setProxyModel(QAbstractProxyModel *model)
[const]boolreadOnlyMethod bool QFileDialog::isReadOnly()
voidreadOnly=(bool enabled)Method void QFileDialog::setReadOnly(bool enabled)
voidrejectVirtual method void QFileDialog::reject()
[signal]voidrejectedSignal declaration for QFileDialog::rejected()
[const]boolresolveSymlinksMethod bool QFileDialog::resolveSymlinks()
voidresolveSymlinks=(bool enabled)Method void QFileDialog::setResolveSymlinks(bool enabled)
boolrestoreState(bytes state)Method bool QFileDialog::restoreState(const QByteArray &state)
[const]bytessaveStateMethod QByteArray QFileDialog::saveState()
voidselectFile(string filename)Method void QFileDialog::selectFile(const QString &filename)
voidselectFilter(string filter)Method void QFileDialog::selectFilter(const QString &filter)
voidselectNameFilter(string filter)Method void QFileDialog::selectNameFilter(const QString &filter)
[const]string[]selectedFilesMethod QStringList QFileDialog::selectedFiles()
[const]stringselectedFilterMethod QString QFileDialog::selectedFilter()
[const]stringselectedNameFilterMethod QString QFileDialog::selectedNameFilter()
voidsetAcceptMode(const QFileDialog_AcceptMode mode)Method void QFileDialog::setAcceptMode(QFileDialog::AcceptMode mode)
voidsetConfirmOverwrite(bool enabled)Method void QFileDialog::setConfirmOverwrite(bool enabled)
voidsetDefaultSuffix(string suffix)Method void QFileDialog::setDefaultSuffix(const QString &suffix)
voidsetDirectory(string directory)Method void QFileDialog::setDirectory(const QString &directory)
voidsetDirectory(const QDir directory)Method void QFileDialog::setDirectory(const QDir &directory)
voidsetFileMode(const QFileDialog_FileMode mode)Method void QFileDialog::setFileMode(QFileDialog::FileMode mode)
voidsetFilter(string filter)Method void QFileDialog::setFilter(const QString &filter)
voidsetFilter(QDir_QFlags_Filter filters)Method void QFileDialog::setFilter(QFlags<QDir::Filter> filters)
voidsetFilters(string[] filters)Method void QFileDialog::setFilters(const QStringList &filters)
voidsetHistory(string[] paths)Method void QFileDialog::setHistory(const QStringList &paths)
voidsetIconProvider(QFileIconProvider ptr provider)Method void QFileDialog::setIconProvider(QFileIconProvider *provider)
voidsetItemDelegate(QAbstractItemDelegate ptr delegate)Method void QFileDialog::setItemDelegate(QAbstractItemDelegate *delegate)
voidsetLabelText(const QFileDialog_DialogLabel label,
string text)
Method void QFileDialog::setLabelText(QFileDialog::DialogLabel label, const QString &text)
voidsetNameFilter(string filter)Method void QFileDialog::setNameFilter(const QString &filter)
voidsetNameFilterDetailsVisible(bool enabled)Method void QFileDialog::setNameFilterDetailsVisible(bool enabled)
voidsetNameFilters(string[] filters)Method void QFileDialog::setNameFilters(const QStringList &filters)
voidsetOption(const QFileDialog_Option option,
bool on = true)
Method void QFileDialog::setOption(QFileDialog::Option option, bool on)
voidsetOptions(QFileDialog_QFlags_Option options)Method void QFileDialog::setOptions(QFlags<QFileDialog::Option> options)
voidsetProxyModel(QAbstractProxyModel ptr model)Method void QFileDialog::setProxyModel(QAbstractProxyModel *model)
voidsetReadOnly(bool enabled)Method void QFileDialog::setReadOnly(bool enabled)
voidsetResolveSymlinks(bool enabled)Method void QFileDialog::setResolveSymlinks(bool enabled)
voidsetSidebarUrls(QUrl[] urls)Method void QFileDialog::setSidebarUrls(const QList<QUrl> &urls)
voidsetViewMode(const QFileDialog_ViewMode mode)Method void QFileDialog::setViewMode(QFileDialog::ViewMode mode)
voidsetVisible(bool visible)Virtual method void QFileDialog::setVisible(bool visible)
[const]QUrl[]sidebarUrlsMethod QList<QUrl> QFileDialog::sidebarUrls()
voidsidebarUrls=(QUrl[] urls)Method void QFileDialog::setSidebarUrls(const QList<QUrl> &urls)
[const]QSizesizeHintVirtual method QSize QFileDialog::sizeHint()
[const]booltestOption(const QFileDialog_Option option)Method bool QFileDialog::testOption(QFileDialog::Option option)
[const]QFileDialog_ViewModeviewModeMethod QFileDialog::ViewMode QFileDialog::viewMode()
voidviewMode=(const QFileDialog_ViewMode mode)Method void QFileDialog::setViewMode(QFileDialog::ViewMode mode)
voidvisible=(bool visible)Method void QFileDialog::setVisible(bool visible)

Public static methods and constants

[static,const]QFileDialog_DialogLabelAcceptEnum constant QFileDialog::Accept
[static,const]QFileDialog_AcceptModeAcceptOpenEnum constant QFileDialog::AcceptOpen
[static,const]QFileDialog_AcceptModeAcceptSaveEnum constant QFileDialog::AcceptSave
[static,const]QFileDialog_FileModeAnyFileEnum constant QFileDialog::AnyFile
[static,const]QFileDialog_ViewModeDetailEnum constant QFileDialog::Detail
[static,const]QFileDialog_FileModeDirectoryEnum constant QFileDialog::Directory
[static,const]QFileDialog_FileModeDirectoryOnlyEnum constant QFileDialog::DirectoryOnly
[static,const]QFileDialog_OptionDontConfirmOverwriteEnum constant QFileDialog::DontConfirmOverwrite
[static,const]QFileDialog_OptionDontResolveSymlinksEnum constant QFileDialog::DontResolveSymlinks
[static,const]QFileDialog_OptionDontUseNativeDialogEnum constant QFileDialog::DontUseNativeDialog
[static,const]QFileDialog_OptionDontUseSheetEnum constant QFileDialog::DontUseSheet
[static,const]QFileDialog_FileModeExistingFileEnum constant QFileDialog::ExistingFile
[static,const]QFileDialog_FileModeExistingFilesEnum constant QFileDialog::ExistingFiles
[static,const]QFileDialog_DialogLabelFileNameEnum constant QFileDialog::FileName
[static,const]QFileDialog_DialogLabelFileTypeEnum constant QFileDialog::FileType
[static,const]QFileDialog_OptionHideNameFilterDetailsEnum constant QFileDialog::HideNameFilterDetails
[static,const]QFileDialog_ViewModeListEnum constant QFileDialog::List
[static,const]QFileDialog_DialogLabelLookInEnum constant QFileDialog::LookIn
[static,const]QFileDialog_OptionReadOnlyEnum constant QFileDialog::ReadOnly
[static,const]QFileDialog_DialogLabelRejectEnum constant QFileDialog::Reject
[static,const]QFileDialog_OptionShowDirsOnlyEnum constant QFileDialog::ShowDirsOnly
stringgetExistingDirectory(QWidget ptr parent = 0,
string caption = QString(),
string dir = QString(),
QFileDialog_QFlags_Option options = QFileDialog::ShowDirsOnly)
Static method QString QFileDialog::getExistingDirectory(QWidget *parent, const QString &caption, const QString &dir, QFlags<QFileDialog::Option> options)
stringgetOpenFileName(QWidget ptr parent = 0,
string caption = QString(),
string dir = QString(),
string filter = QString(),
string ptr selectedFilter = 0,
QFileDialog_QFlags_Option options = 0)
Static method QString QFileDialog::getOpenFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFlags<QFileDialog::Option> options)
string[]getOpenFileNames(QWidget ptr parent = 0,
string caption = QString(),
string dir = QString(),
string filter = QString(),
string ptr selectedFilter = 0,
QFileDialog_QFlags_Option options = 0)
Static method QStringList QFileDialog::getOpenFileNames(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFlags<QFileDialog::Option> options)
stringgetSaveFileName(QWidget ptr parent = 0,
string caption = QString(),
string dir = QString(),
string filter = QString(),
string ptr selectedFilter = 0,
QFileDialog_QFlags_Option options = 0)
Static method QString QFileDialog::getSaveFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFlags<QFileDialog::Option> options)
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = 0)
Static method QString QFileDialog::tr(const char *s, const char *c)
stringtr(string s,
string c,
int n)
Static method QString QFileDialog::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = 0)
Static method QString QFileDialog::trUtf8(const char *s, const char *c)
stringtrUtf8(string s,
string c,
int n)
Static method QString QFileDialog::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidacceptVirtual method void QFileDialog::accept()
voidactionEvent(QActionEvent ptr arg1)Virtual method void QFileDialog::actionEvent(QActionEvent *)
voidadjustPosition(QWidget ptr arg1)Method void QFileDialog::adjustPosition(QWidget *)
voidchangeEvent(QEvent ptr e)Virtual method void QFileDialog::changeEvent(QEvent *e)
voidchildEvent(QChildEvent ptr arg1)Virtual method void QFileDialog::childEvent(QChildEvent *)
voidcloseEvent(QCloseEvent ptr arg1)Virtual method void QFileDialog::closeEvent(QCloseEvent *)
voidcontextMenuEvent(QContextMenuEvent ptr arg1)Virtual method void QFileDialog::contextMenuEvent(QContextMenuEvent *)
voidcustomEvent(QEvent ptr arg1)Virtual method void QFileDialog::customEvent(QEvent *)
voiddisconnectNotify(string signal)Virtual method void QFileDialog::disconnectNotify(const char *signal)
voiddone(int result)Virtual method void QFileDialog::done(int result)
voiddragEnterEvent(QDragEnterEvent ptr arg1)Virtual method void QFileDialog::dragEnterEvent(QDragEnterEvent *)
voiddragLeaveEvent(QDragLeaveEvent ptr arg1)Virtual method void QFileDialog::dragLeaveEvent(QDragLeaveEvent *)
voiddragMoveEvent(QDragMoveEvent ptr arg1)Virtual method void QFileDialog::dragMoveEvent(QDragMoveEvent *)
voiddropEvent(QDropEvent ptr arg1)Virtual method void QFileDialog::dropEvent(QDropEvent *)
voidenabledChange(bool arg1)Virtual method void QFileDialog::enabledChange(bool)
voidenterEvent(QEvent ptr arg1)Virtual method void QFileDialog::enterEvent(QEvent *)
boolevent(QEvent ptr arg1)Virtual method bool QFileDialog::event(QEvent *)
booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QFileDialog::eventFilter(QObject *, QEvent *)
voidfocusInEvent(QFocusEvent ptr arg1)Virtual method void QFileDialog::focusInEvent(QFocusEvent *)
boolfocusNextChildMethod bool QFileDialog::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QFileDialog::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr arg1)Virtual method void QFileDialog::focusOutEvent(QFocusEvent *)
boolfocusPreviousChildMethod bool QFileDialog::focusPreviousChild()
voidfontChange(const QFont arg1)Virtual method void QFileDialog::fontChange(const QFont &)
voidhideEvent(QHideEvent ptr arg1)Virtual method void QFileDialog::hideEvent(QHideEvent *)
voidinputMethodEvent(QInputMethodEvent ptr arg1)Virtual method void QFileDialog::inputMethodEvent(QInputMethodEvent *)
voidkeyPressEvent(QKeyEvent ptr arg1)Virtual method void QFileDialog::keyPressEvent(QKeyEvent *)
voidkeyReleaseEvent(QKeyEvent ptr arg1)Virtual method void QFileDialog::keyReleaseEvent(QKeyEvent *)
voidlanguageChangeVirtual method void QFileDialog::languageChange()
voidleaveEvent(QEvent ptr arg1)Virtual method void QFileDialog::leaveEvent(QEvent *)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QFileDialog::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr arg1)Virtual method void QFileDialog::mouseDoubleClickEvent(QMouseEvent *)
voidmouseMoveEvent(QMouseEvent ptr arg1)Virtual method void QFileDialog::mouseMoveEvent(QMouseEvent *)
voidmousePressEvent(QMouseEvent ptr arg1)Virtual method void QFileDialog::mousePressEvent(QMouseEvent *)
voidmouseReleaseEvent(QMouseEvent ptr arg1)Virtual method void QFileDialog::mouseReleaseEvent(QMouseEvent *)
voidmoveEvent(QMoveEvent ptr arg1)Virtual method void QFileDialog::moveEvent(QMoveEvent *)
voidpaintEvent(QPaintEvent ptr arg1)Virtual method void QFileDialog::paintEvent(QPaintEvent *)
voidpaletteChange(const QPalette arg1)Virtual method void QFileDialog::paletteChange(const QPalette &)
voidqt_create(unsigned long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QFileDialog::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QFileDialog::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QFileDialog::receivers(const char *signal)
voidresetInputContextMethod void QFileDialog::resetInputContext()
voidresizeEvent(QResizeEvent ptr arg1)Virtual method void QFileDialog::resizeEvent(QResizeEvent *)
[const]QObject ptrsenderMethod QObject *QFileDialog::sender()
voidshowEvent(QShowEvent ptr arg1)Virtual method void QFileDialog::showEvent(QShowEvent *)
voidstyleChange(QStyle arg1)Virtual method void QFileDialog::styleChange(QStyle &)
voidtabletEvent(QTabletEvent ptr arg1)Virtual method void QFileDialog::tabletEvent(QTabletEvent *)
voidtimerEvent(QTimerEvent ptr arg1)Virtual method void QFileDialog::timerEvent(QTimerEvent *)
voidupdateMicroFocusMethod void QFileDialog::updateMicroFocus()
voidwheelEvent(QWheelEvent ptr arg1)Virtual method void QFileDialog::wheelEvent(QWheelEvent *)
voidwindowActivationChange(bool arg1)Virtual method void QFileDialog::windowActivationChange(bool)

Detailed description

Accept

Signature: [static,const] QFileDialog_DialogLabel Accept

Description: Enum constant QFileDialog::Accept

Python specific notes:
The object exposes a readable attribute 'Accept'. This is the getter.

AcceptOpen

Signature: [static,const] QFileDialog_AcceptMode AcceptOpen

Description: Enum constant QFileDialog::AcceptOpen

Python specific notes:
The object exposes a readable attribute 'AcceptOpen'. This is the getter.

AcceptSave

Signature: [static,const] QFileDialog_AcceptMode AcceptSave

Description: Enum constant QFileDialog::AcceptSave

Python specific notes:
The object exposes a readable attribute 'AcceptSave'. This is the getter.

AnyFile

Signature: [static,const] QFileDialog_FileMode AnyFile

Description: Enum constant QFileDialog::AnyFile

Python specific notes:
The object exposes a readable attribute 'AnyFile'. This is the getter.

Detail

Signature: [static,const] QFileDialog_ViewMode Detail

Description: Enum constant QFileDialog::Detail

Python specific notes:
The object exposes a readable attribute 'Detail'. This is the getter.

Directory

Signature: [static,const] QFileDialog_FileMode Directory

Description: Enum constant QFileDialog::Directory

Python specific notes:
The object exposes a readable attribute 'Directory'. This is the getter.

DirectoryOnly

Signature: [static,const] QFileDialog_FileMode DirectoryOnly

Description: Enum constant QFileDialog::DirectoryOnly

Python specific notes:
The object exposes a readable attribute 'DirectoryOnly'. This is the getter.

DontConfirmOverwrite

Signature: [static,const] QFileDialog_Option DontConfirmOverwrite

Description: Enum constant QFileDialog::DontConfirmOverwrite

Python specific notes:
The object exposes a readable attribute 'DontConfirmOverwrite'. This is the getter.

DontResolveSymlinks

Signature: [static,const] QFileDialog_Option DontResolveSymlinks

Description: Enum constant QFileDialog::DontResolveSymlinks

Python specific notes:
The object exposes a readable attribute 'DontResolveSymlinks'. This is the getter.

DontUseNativeDialog

Signature: [static,const] QFileDialog_Option DontUseNativeDialog

Description: Enum constant QFileDialog::DontUseNativeDialog

Python specific notes:
The object exposes a readable attribute 'DontUseNativeDialog'. This is the getter.

DontUseSheet

Signature: [static,const] QFileDialog_Option DontUseSheet

Description: Enum constant QFileDialog::DontUseSheet

Python specific notes:
The object exposes a readable attribute 'DontUseSheet'. This is the getter.

ExistingFile

Signature: [static,const] QFileDialog_FileMode ExistingFile

Description: Enum constant QFileDialog::ExistingFile

Python specific notes:
The object exposes a readable attribute 'ExistingFile'. This is the getter.

ExistingFiles

Signature: [static,const] QFileDialog_FileMode ExistingFiles

Description: Enum constant QFileDialog::ExistingFiles

Python specific notes:
The object exposes a readable attribute 'ExistingFiles'. This is the getter.

FileName

Signature: [static,const] QFileDialog_DialogLabel FileName

Description: Enum constant QFileDialog::FileName

Python specific notes:
The object exposes a readable attribute 'FileName'. This is the getter.

FileType

Signature: [static,const] QFileDialog_DialogLabel FileType

Description: Enum constant QFileDialog::FileType

Python specific notes:
The object exposes a readable attribute 'FileType'. This is the getter.

HideNameFilterDetails

Signature: [static,const] QFileDialog_Option HideNameFilterDetails

Description: Enum constant QFileDialog::HideNameFilterDetails

Python specific notes:
The object exposes a readable attribute 'HideNameFilterDetails'. This is the getter.

List

Signature: [static,const] QFileDialog_ViewMode List

Description: Enum constant QFileDialog::List

Python specific notes:
The object exposes a readable attribute 'List'. This is the getter.

LookIn

Signature: [static,const] QFileDialog_DialogLabel LookIn

Description: Enum constant QFileDialog::LookIn

Python specific notes:
The object exposes a readable attribute 'LookIn'. This is the getter.

ReadOnly

Signature: [static,const] QFileDialog_Option ReadOnly

Description: Enum constant QFileDialog::ReadOnly

Python specific notes:
The object exposes a readable attribute 'ReadOnly'. This is the getter.

Reject

Signature: [static,const] QFileDialog_DialogLabel Reject

Description: Enum constant QFileDialog::Reject

Python specific notes:
The object exposes a readable attribute 'Reject'. This is the getter.

ShowDirsOnly

Signature: [static,const] QFileDialog_Option ShowDirsOnly

Description: Enum constant QFileDialog::ShowDirsOnly

Python specific notes:
The object exposes a readable attribute 'ShowDirsOnly'. This is the getter.

_const_cast

Signature: [const] QFileDialog ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

accept

Signature: void accept

Description: Virtual method void QFileDialog::accept()

This method can be reimplemented in a derived class.

acceptMode

Signature: [const] QFileDialog_AcceptMode acceptMode

Description: Method QFileDialog::AcceptMode QFileDialog::acceptMode()

Python specific notes:
The object exposes a readable attribute 'acceptMode'. This is the getter.

acceptMode=

Signature: void acceptMode= (const QFileDialog_AcceptMode mode)

Description: Method void QFileDialog::setAcceptMode(QFileDialog::AcceptMode mode)

Python specific notes:
The object exposes a writable attribute 'acceptMode'. This is the setter.

accepted

Signature: [signal] void accepted

Description: Signal declaration for QFileDialog::accepted()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'accepted'. This is the getter.
The object exposes a writable attribute 'accepted'. This is the setter.

actionEvent

Signature: void actionEvent (QActionEvent ptr arg1)

Description: Virtual method void QFileDialog::actionEvent(QActionEvent *)

This method can be reimplemented in a derived class.

adjustPosition

Signature: void adjustPosition (QWidget ptr arg1)

Description: Method void QFileDialog::adjustPosition(QWidget *)

This method is protected and can only be called from inside a derived class.

changeEvent

Signature: void changeEvent (QEvent ptr e)

Description: Virtual method void QFileDialog::changeEvent(QEvent *e)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr arg1)

Description: Virtual method void QFileDialog::childEvent(QChildEvent *)

This method can be reimplemented in a derived class.

closeEvent

Signature: void closeEvent (QCloseEvent ptr arg1)

Description: Virtual method void QFileDialog::closeEvent(QCloseEvent *)

This method can be reimplemented in a derived class.

confirmOverwrite

Signature: [const] bool confirmOverwrite

Description: Method bool QFileDialog::confirmOverwrite()

Python specific notes:
The object exposes a readable attribute 'confirmOverwrite'. This is the getter.

confirmOverwrite=

Signature: void confirmOverwrite= (bool enabled)

Description: Method void QFileDialog::setConfirmOverwrite(bool enabled)

Python specific notes:
The object exposes a writable attribute 'confirmOverwrite'. This is the setter.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr arg1)

Description: Virtual method void QFileDialog::contextMenuEvent(QContextMenuEvent *)

This method can be reimplemented in a derived class.

currentChanged

Signature: [signal] void currentChanged (string path)

Description: Signal declaration for QFileDialog::currentChanged(const QString &path)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'currentChanged'. This is the getter.
The object exposes a writable attribute 'currentChanged'. This is the setter.

customContextMenuRequested

Signature: [signal] void customContextMenuRequested (const QPoint pos)

Description: Signal declaration for QFileDialog::customContextMenuRequested(const QPoint &pos)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'customContextMenuRequested'. This is the getter.
The object exposes a writable attribute 'customContextMenuRequested'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr arg1)

Description: Virtual method void QFileDialog::customEvent(QEvent *)

This method can be reimplemented in a derived class.

defaultSuffix

Signature: [const] string defaultSuffix

Description: Method QString QFileDialog::defaultSuffix()

Python specific notes:
The object exposes a readable attribute 'defaultSuffix'. This is the getter.

defaultSuffix=

Signature: void defaultSuffix= (string suffix)

Description: Method void QFileDialog::setDefaultSuffix(const QString &suffix)

Python specific notes:
The object exposes a writable attribute 'defaultSuffix'. This is the setter.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QFileDialog::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

directory

Signature: [const] QDir directory

Description: Method QDir QFileDialog::directory()

directoryEntered

Signature: [signal] void directoryEntered (string directory)

Description: Signal declaration for QFileDialog::directoryEntered(const QString &directory)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'directoryEntered'. This is the getter.
The object exposes a writable attribute 'directoryEntered'. This is the setter.

disconnectNotify

Signature: void disconnectNotify (string signal)

Description: Virtual method void QFileDialog::disconnectNotify(const char *signal)

This method can be reimplemented in a derived class.

done

Signature: void done (int result)

Description: Virtual method void QFileDialog::done(int result)

This method can be reimplemented in a derived class.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr arg1)

Description: Virtual method void QFileDialog::dragEnterEvent(QDragEnterEvent *)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr arg1)

Description: Virtual method void QFileDialog::dragLeaveEvent(QDragLeaveEvent *)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr arg1)

Description: Virtual method void QFileDialog::dragMoveEvent(QDragMoveEvent *)

This method can be reimplemented in a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr arg1)

Description: Virtual method void QFileDialog::dropEvent(QDropEvent *)

This method can be reimplemented in a derived class.

emit_accepted

Signature: void emit_accepted

Description: Emitter for signal void QFileDialog::accepted()

Call this method to emit this signal.

emit_currentChanged

Signature: void emit_currentChanged (string path)

Description: Emitter for signal void QFileDialog::currentChanged(const QString &path)

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QFileDialog::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = 0)

Description: Emitter for signal void QFileDialog::destroyed(QObject *)

Call this method to emit this signal.

emit_directoryEntered

Signature: void emit_directoryEntered (string directory)

Description: Emitter for signal void QFileDialog::directoryEntered(const QString &directory)

Call this method to emit this signal.

emit_fileSelected

Signature: void emit_fileSelected (string file)

Description: Emitter for signal void QFileDialog::fileSelected(const QString &file)

Call this method to emit this signal.

emit_filesSelected

Signature: void emit_filesSelected (string[] files)

Description: Emitter for signal void QFileDialog::filesSelected(const QStringList &files)

Call this method to emit this signal.

emit_filterSelected

Signature: void emit_filterSelected (string filter)

Description: Emitter for signal void QFileDialog::filterSelected(const QString &filter)

Call this method to emit this signal.

emit_finished

Signature: void emit_finished (int result)

Description: Emitter for signal void QFileDialog::finished(int result)

Call this method to emit this signal.

emit_rejected

Signature: void emit_rejected

Description: Emitter for signal void QFileDialog::rejected()

Call this method to emit this signal.

enabledChange

Signature: void enabledChange (bool arg1)

Description: Virtual method void QFileDialog::enabledChange(bool)

This method can be reimplemented in a derived class.

enterEvent

Signature: void enterEvent (QEvent ptr arg1)

Description: Virtual method void QFileDialog::enterEvent(QEvent *)

This method can be reimplemented in a derived class.

event

Signature: bool event (QEvent ptr arg1)

Description: Virtual method bool QFileDialog::event(QEvent *)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2)

Description: Virtual method bool QFileDialog::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

fileMode

Signature: [const] QFileDialog_FileMode fileMode

Description: Method QFileDialog::FileMode QFileDialog::fileMode()

Python specific notes:
The object exposes a readable attribute 'fileMode'. This is the getter.

fileMode=

Signature: void fileMode= (const QFileDialog_FileMode mode)

Description: Method void QFileDialog::setFileMode(QFileDialog::FileMode mode)

Python specific notes:
The object exposes a writable attribute 'fileMode'. This is the setter.

fileSelected

Signature: [signal] void fileSelected (string file)

Description: Signal declaration for QFileDialog::fileSelected(const QString &file)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'fileSelected'. This is the getter.
The object exposes a writable attribute 'fileSelected'. This is the setter.

filesSelected

Signature: [signal] void filesSelected (string[] files)

Description: Signal declaration for QFileDialog::filesSelected(const QStringList &files)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'filesSelected'. This is the getter.
The object exposes a writable attribute 'filesSelected'. This is the setter.

filter

Signature: [const] QDir_QFlags_Filter filter

Description: Method QFlags<QDir::Filter> QFileDialog::filter()

filterSelected

Signature: [signal] void filterSelected (string filter)

Description: Signal declaration for QFileDialog::filterSelected(const QString &filter)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'filterSelected'. This is the getter.
The object exposes a writable attribute 'filterSelected'. This is the setter.

filters

Signature: [const] string[] filters

Description: Method QStringList QFileDialog::filters()

Python specific notes:
The object exposes a readable attribute 'filters'. This is the getter.

filters=

Signature: void filters= (string[] filters)

Description: Method void QFileDialog::setFilters(const QStringList &filters)

Python specific notes:
The object exposes a writable attribute 'filters'. This is the setter.

finished

Signature: [signal] void finished (int result)

Description: Signal declaration for QFileDialog::finished(int result)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'finished'. This is the getter.
The object exposes a writable attribute 'finished'. This is the setter.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr arg1)

Description: Virtual method void QFileDialog::focusInEvent(QFocusEvent *)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QFileDialog::focusNextChild()

This method is protected and can only be called from inside a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QFileDialog::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr arg1)

Description: Virtual method void QFileDialog::focusOutEvent(QFocusEvent *)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QFileDialog::focusPreviousChild()

This method is protected and can only be called from inside a derived class.

fontChange

Signature: void fontChange (const QFont arg1)

Description: Virtual method void QFileDialog::fontChange(const QFont &)

This method can be reimplemented in a derived class.

getExistingDirectory

Signature: [static] string getExistingDirectory (QWidget ptr parent = 0, string caption = QString(), string dir = QString(), QFileDialog_QFlags_Option options = QFileDialog::ShowDirsOnly)

Description: Static method QString QFileDialog::getExistingDirectory(QWidget *parent, const QString &caption, const QString &dir, QFlags<QFileDialog::Option> options)

This method is static and can be called without an instance.

getOpenFileName

Signature: [static] string getOpenFileName (QWidget ptr parent = 0, string caption = QString(), string dir = QString(), string filter = QString(), string ptr selectedFilter = 0, QFileDialog_QFlags_Option options = 0)

Description: Static method QString QFileDialog::getOpenFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFlags<QFileDialog::Option> options)

This method is static and can be called without an instance.

getOpenFileNames

Signature: [static] string[] getOpenFileNames (QWidget ptr parent = 0, string caption = QString(), string dir = QString(), string filter = QString(), string ptr selectedFilter = 0, QFileDialog_QFlags_Option options = 0)

Description: Static method QStringList QFileDialog::getOpenFileNames(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFlags<QFileDialog::Option> options)

This method is static and can be called without an instance.

getSaveFileName

Signature: [static] string getSaveFileName (QWidget ptr parent = 0, string caption = QString(), string dir = QString(), string filter = QString(), string ptr selectedFilter = 0, QFileDialog_QFlags_Option options = 0)

Description: Static method QString QFileDialog::getSaveFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFlags<QFileDialog::Option> options)

This method is static and can be called without an instance.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

Description: Virtual method int QFileDialog::heightForWidth(int)

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr arg1)

Description: Virtual method void QFileDialog::hideEvent(QHideEvent *)

This method can be reimplemented in a derived class.

history

Signature: [const] string[] history

Description: Method QStringList QFileDialog::history()

Python specific notes:
The object exposes a readable attribute 'history'. This is the getter.

history=

Signature: void history= (string[] paths)

Description: Method void QFileDialog::setHistory(const QStringList &paths)

Python specific notes:
The object exposes a writable attribute 'history'. This is the setter.

iconProvider

Signature: [const] QFileIconProvider ptr iconProvider

Description: Method QFileIconProvider *QFileDialog::iconProvider()

Python specific notes:
The object exposes a readable attribute 'iconProvider'. This is the getter.

iconProvider=

Signature: void iconProvider= (QFileIconProvider ptr provider)

Description: Method void QFileDialog::setIconProvider(QFileIconProvider *provider)

Python specific notes:
The object exposes a writable attribute 'iconProvider'. This is the setter.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr arg1)

Description: Virtual method void QFileDialog::inputMethodEvent(QInputMethodEvent *)

This method can be reimplemented in a derived class.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery arg1)

Description: Virtual method QVariant QFileDialog::inputMethodQuery(Qt::InputMethodQuery)

This method can be reimplemented in a derived class.

isNameFilterDetailsVisible?

Signature: [const] bool isNameFilterDetailsVisible?

Description: Method bool QFileDialog::isNameFilterDetailsVisible()

Python specific notes:
The object exposes a readable attribute 'nameFilterDetailsVisible'. This is the getter.

isReadOnly?

Signature: [const] bool isReadOnly?

Description: Method bool QFileDialog::isReadOnly()

Python specific notes:
The object exposes a readable attribute 'readOnly'. This is the getter.

itemDelegate

Signature: [const] QAbstractItemDelegate ptr itemDelegate

Description: Method QAbstractItemDelegate *QFileDialog::itemDelegate()

Python specific notes:
The object exposes a readable attribute 'itemDelegate'. This is the getter.

itemDelegate=

Signature: void itemDelegate= (QAbstractItemDelegate ptr delegate)

Description: Method void QFileDialog::setItemDelegate(QAbstractItemDelegate *delegate)

Python specific notes:
The object exposes a writable attribute 'itemDelegate'. This is the setter.

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr arg1)

Description: Virtual method void QFileDialog::keyPressEvent(QKeyEvent *)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr arg1)

Description: Virtual method void QFileDialog::keyReleaseEvent(QKeyEvent *)

This method can be reimplemented in a derived class.

labelText

Signature: [const] string labelText (const QFileDialog_DialogLabel label)

Description: Method QString QFileDialog::labelText(QFileDialog::DialogLabel label)

languageChange

Signature: void languageChange

Description: Virtual method void QFileDialog::languageChange()

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr arg1)

Description: Virtual method void QFileDialog::leaveEvent(QEvent *)

This method can be reimplemented in a derived class.

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QFileDialog::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QFileDialog::minimumSizeHint()

This method can be reimplemented in a derived class.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr arg1)

Description: Virtual method void QFileDialog::mouseDoubleClickEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr arg1)

Description: Virtual method void QFileDialog::mouseMoveEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr arg1)

Description: Virtual method void QFileDialog::mousePressEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr arg1)

Description: Virtual method void QFileDialog::mouseReleaseEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr arg1)

Description: Virtual method void QFileDialog::moveEvent(QMoveEvent *)

This method can be reimplemented in a derived class.

nameFilterDetailsVisible

Signature: [const] bool nameFilterDetailsVisible

Description: Method bool QFileDialog::isNameFilterDetailsVisible()

Python specific notes:
The object exposes a readable attribute 'nameFilterDetailsVisible'. This is the getter.

nameFilterDetailsVisible=

Signature: void nameFilterDetailsVisible= (bool enabled)

Description: Method void QFileDialog::setNameFilterDetailsVisible(bool enabled)

Python specific notes:
The object exposes a writable attribute 'nameFilterDetailsVisible'. This is the setter.

nameFilters

Signature: [const] string[] nameFilters

Description: Method QStringList QFileDialog::nameFilters()

Python specific notes:
The object exposes a readable attribute 'nameFilters'. This is the getter.

nameFilters=

Signature: void nameFilters= (string[] filters)

Description: Method void QFileDialog::setNameFilters(const QStringList &filters)

Python specific notes:
The object exposes a writable attribute 'nameFilters'. This is the setter.

new

(1) Signature: [static] new QFileDialog new (QWidget ptr parent, Qt_QFlags_WindowType f)

Description: Constructor QFileDialog::QFileDialog(QWidget *parent, QFlags<Qt::WindowType> f)

This method creates an object of class QFileDialog.

Python specific notes:
This method is the default initializer of the object.

(2) Signature: [static] new QFileDialog new (QWidget ptr parent = 0, string caption = QString(), string directory = QString(), string filter = QString())

Description: Constructor QFileDialog::QFileDialog(QWidget *parent, const QString &caption, const QString &directory, const QString &filter)

This method creates an object of class QFileDialog.

Python specific notes:
This method is the default initializer of the object.

open

(1) Signature: void open

Description: Method void QFileDialog::open()

(2) Signature: void open (QObject ptr receiver, string member)

Description: Method void QFileDialog::open(QObject *receiver, const char *member)

options

Signature: [const] QFileDialog_QFlags_Option options

Description: Method QFlags<QFileDialog::Option> QFileDialog::options()

Python specific notes:
The object exposes a readable attribute 'options'. This is the getter.

options=

Signature: void options= (QFileDialog_QFlags_Option options)

Description: Method void QFileDialog::setOptions(QFlags<QFileDialog::Option> options)

Python specific notes:
The object exposes a writable attribute 'options'. This is the setter.

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QFileDialog::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr arg1)

Description: Virtual method void QFileDialog::paintEvent(QPaintEvent *)

This method can be reimplemented in a derived class.

paletteChange

Signature: void paletteChange (const QPalette arg1)

Description: Virtual method void QFileDialog::paletteChange(const QPalette &)

This method can be reimplemented in a derived class.

proxyModel

Signature: [const] QAbstractProxyModel ptr proxyModel

Description: Method QAbstractProxyModel *QFileDialog::proxyModel()

Python specific notes:
The object exposes a readable attribute 'proxyModel'. This is the getter.

proxyModel=

Signature: void proxyModel= (QAbstractProxyModel ptr model)

Description: Method void QFileDialog::setProxyModel(QAbstractProxyModel *model)

Python specific notes:
The object exposes a writable attribute 'proxyModel'. This is the setter.

qt_create

Signature: void qt_create (unsigned long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QFileDialog::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

qt_destroy

Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QFileDialog::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

readOnly

Signature: [const] bool readOnly

Description: Method bool QFileDialog::isReadOnly()

Python specific notes:
The object exposes a readable attribute 'readOnly'. This is the getter.

readOnly=

Signature: void readOnly= (bool enabled)

Description: Method void QFileDialog::setReadOnly(bool enabled)

Python specific notes:
The object exposes a writable attribute 'readOnly'. This is the setter.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QFileDialog::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

reject

Signature: void reject

Description: Virtual method void QFileDialog::reject()

This method can be reimplemented in a derived class.

rejected

Signature: [signal] void rejected

Description: Signal declaration for QFileDialog::rejected()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'rejected'. This is the getter.
The object exposes a writable attribute 'rejected'. This is the setter.

resetInputContext

Signature: void resetInputContext

Description: Method void QFileDialog::resetInputContext()

This method is protected and can only be called from inside a derived class.

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr arg1)

Description: Virtual method void QFileDialog::resizeEvent(QResizeEvent *)

This method can be reimplemented in a derived class.

resolveSymlinks

Signature: [const] bool resolveSymlinks

Description: Method bool QFileDialog::resolveSymlinks()

Python specific notes:
The object exposes a readable attribute 'resolveSymlinks'. This is the getter.

resolveSymlinks=

Signature: void resolveSymlinks= (bool enabled)

Description: Method void QFileDialog::setResolveSymlinks(bool enabled)

Python specific notes:
The object exposes a writable attribute 'resolveSymlinks'. This is the setter.

restoreState

Signature: bool restoreState (bytes state)

Description: Method bool QFileDialog::restoreState(const QByteArray &state)

saveState

Signature: [const] bytes saveState

Description: Method QByteArray QFileDialog::saveState()

selectFile

Signature: void selectFile (string filename)

Description: Method void QFileDialog::selectFile(const QString &filename)

selectFilter

Signature: void selectFilter (string filter)

Description: Method void QFileDialog::selectFilter(const QString &filter)

selectNameFilter

Signature: void selectNameFilter (string filter)

Description: Method void QFileDialog::selectNameFilter(const QString &filter)

selectedFiles

Signature: [const] string[] selectedFiles

Description: Method QStringList QFileDialog::selectedFiles()

selectedFilter

Signature: [const] string selectedFilter

Description: Method QString QFileDialog::selectedFilter()

selectedNameFilter

Signature: [const] string selectedNameFilter

Description: Method QString QFileDialog::selectedNameFilter()

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QFileDialog::sender()

This method is protected and can only be called from inside a derived class.

setAcceptMode

Signature: void setAcceptMode (const QFileDialog_AcceptMode mode)

Description: Method void QFileDialog::setAcceptMode(QFileDialog::AcceptMode mode)

Python specific notes:
The object exposes a writable attribute 'acceptMode'. This is the setter.

setConfirmOverwrite

Signature: void setConfirmOverwrite (bool enabled)

Description: Method void QFileDialog::setConfirmOverwrite(bool enabled)

Python specific notes:
The object exposes a writable attribute 'confirmOverwrite'. This is the setter.

setDefaultSuffix

Signature: void setDefaultSuffix (string suffix)

Description: Method void QFileDialog::setDefaultSuffix(const QString &suffix)

Python specific notes:
The object exposes a writable attribute 'defaultSuffix'. This is the setter.

setDirectory

(1) Signature: void setDirectory (string directory)

Description: Method void QFileDialog::setDirectory(const QString &directory)

(2) Signature: void setDirectory (const QDir directory)

Description: Method void QFileDialog::setDirectory(const QDir &directory)

setFileMode

Signature: void setFileMode (const QFileDialog_FileMode mode)

Description: Method void QFileDialog::setFileMode(QFileDialog::FileMode mode)

Python specific notes:
The object exposes a writable attribute 'fileMode'. This is the setter.

setFilter

(1) Signature: void setFilter (string filter)

Description: Method void QFileDialog::setFilter(const QString &filter)

(2) Signature: void setFilter (QDir_QFlags_Filter filters)

Description: Method void QFileDialog::setFilter(QFlags<QDir::Filter> filters)

setFilters

Signature: void setFilters (string[] filters)

Description: Method void QFileDialog::setFilters(const QStringList &filters)

Python specific notes:
The object exposes a writable attribute 'filters'. This is the setter.

setHistory

Signature: void setHistory (string[] paths)

Description: Method void QFileDialog::setHistory(const QStringList &paths)

Python specific notes:
The object exposes a writable attribute 'history'. This is the setter.

setIconProvider

Signature: void setIconProvider (QFileIconProvider ptr provider)

Description: Method void QFileDialog::setIconProvider(QFileIconProvider *provider)

Python specific notes:
The object exposes a writable attribute 'iconProvider'. This is the setter.

setItemDelegate

Signature: void setItemDelegate (QAbstractItemDelegate ptr delegate)

Description: Method void QFileDialog::setItemDelegate(QAbstractItemDelegate *delegate)

Python specific notes:
The object exposes a writable attribute 'itemDelegate'. This is the setter.

setLabelText

Signature: void setLabelText (const QFileDialog_DialogLabel label, string text)

Description: Method void QFileDialog::setLabelText(QFileDialog::DialogLabel label, const QString &text)

setNameFilter

Signature: void setNameFilter (string filter)

Description: Method void QFileDialog::setNameFilter(const QString &filter)

setNameFilterDetailsVisible

Signature: void setNameFilterDetailsVisible (bool enabled)

Description: Method void QFileDialog::setNameFilterDetailsVisible(bool enabled)

Python specific notes:
The object exposes a writable attribute 'nameFilterDetailsVisible'. This is the setter.

setNameFilters

Signature: void setNameFilters (string[] filters)

Description: Method void QFileDialog::setNameFilters(const QStringList &filters)

Python specific notes:
The object exposes a writable attribute 'nameFilters'. This is the setter.

setOption

Signature: void setOption (const QFileDialog_Option option, bool on = true)

Description: Method void QFileDialog::setOption(QFileDialog::Option option, bool on)

setOptions

Signature: void setOptions (QFileDialog_QFlags_Option options)

Description: Method void QFileDialog::setOptions(QFlags<QFileDialog::Option> options)

Python specific notes:
The object exposes a writable attribute 'options'. This is the setter.

setProxyModel

Signature: void setProxyModel (QAbstractProxyModel ptr model)

Description: Method void QFileDialog::setProxyModel(QAbstractProxyModel *model)

Python specific notes:
The object exposes a writable attribute 'proxyModel'. This is the setter.

setReadOnly

Signature: void setReadOnly (bool enabled)

Description: Method void QFileDialog::setReadOnly(bool enabled)

Python specific notes:
The object exposes a writable attribute 'readOnly'. This is the setter.

setResolveSymlinks

Signature: void setResolveSymlinks (bool enabled)

Description: Method void QFileDialog::setResolveSymlinks(bool enabled)

Python specific notes:
The object exposes a writable attribute 'resolveSymlinks'. This is the setter.

setSidebarUrls

Signature: void setSidebarUrls (QUrl[] urls)

Description: Method void QFileDialog::setSidebarUrls(const QList<QUrl> &urls)

Python specific notes:
The object exposes a writable attribute 'sidebarUrls'. This is the setter.

setViewMode

Signature: void setViewMode (const QFileDialog_ViewMode mode)

Description: Method void QFileDialog::setViewMode(QFileDialog::ViewMode mode)

Python specific notes:
The object exposes a writable attribute 'viewMode'. This is the setter.

setVisible

Signature: void setVisible (bool visible)

Description: Virtual method void QFileDialog::setVisible(bool visible)

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr arg1)

Description: Virtual method void QFileDialog::showEvent(QShowEvent *)

This method can be reimplemented in a derived class.

sidebarUrls

Signature: [const] QUrl[] sidebarUrls

Description: Method QList<QUrl> QFileDialog::sidebarUrls()

Python specific notes:
The object exposes a readable attribute 'sidebarUrls'. This is the getter.

sidebarUrls=

Signature: void sidebarUrls= (QUrl[] urls)

Description: Method void QFileDialog::setSidebarUrls(const QList<QUrl> &urls)

Python specific notes:
The object exposes a writable attribute 'sidebarUrls'. This is the setter.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QFileDialog::sizeHint()

This method can be reimplemented in a derived class.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

styleChange

Signature: void styleChange (QStyle arg1)

Description: Virtual method void QFileDialog::styleChange(QStyle &)

This method can be reimplemented in a derived class.

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr arg1)

Description: Virtual method void QFileDialog::tabletEvent(QTabletEvent *)

This method can be reimplemented in a derived class.

testOption

Signature: [const] bool testOption (const QFileDialog_Option option)

Description: Method bool QFileDialog::testOption(QFileDialog::Option option)

timerEvent

Signature: void timerEvent (QTimerEvent ptr arg1)

Description: Virtual method void QFileDialog::timerEvent(QTimerEvent *)

This method can be reimplemented in a derived class.

tr

(1) Signature: [static] string tr (string s, string c = 0)

Description: Static method QString QFileDialog::tr(const char *s, const char *c)

This method is static and can be called without an instance.

(2) Signature: [static] string tr (string s, string c, int n)

Description: Static method QString QFileDialog::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

(1) Signature: [static] string trUtf8 (string s, string c = 0)

Description: Static method QString QFileDialog::trUtf8(const char *s, const char *c)

This method is static and can be called without an instance.

(2) Signature: [static] string trUtf8 (string s, string c, int n)

Description: Static method QString QFileDialog::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QFileDialog::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

viewMode

Signature: [const] QFileDialog_ViewMode viewMode

Description: Method QFileDialog::ViewMode QFileDialog::viewMode()

Python specific notes:
The object exposes a readable attribute 'viewMode'. This is the getter.

viewMode=

Signature: void viewMode= (const QFileDialog_ViewMode mode)

Description: Method void QFileDialog::setViewMode(QFileDialog::ViewMode mode)

Python specific notes:
The object exposes a writable attribute 'viewMode'. This is the setter.

visible=

Signature: void visible= (bool visible)

Description: Method void QFileDialog::setVisible(bool visible)

This is a reimplementation of QDialog::setVisible

Python specific notes:
The object exposes a writable attribute 'visible'. This is the setter.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr arg1)

Description: Virtual method void QFileDialog::wheelEvent(QWheelEvent *)

This method can be reimplemented in a derived class.

windowActivationChange

Signature: void windowActivationChange (bool arg1)

Description: Virtual method void QFileDialog::windowActivationChange(bool)

This method can be reimplemented in a derived class.