Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QWindowsFileDialogSharedData Class Reference

Explicitly shared file dialog parameters that are not in QFileDialogOptions. More...

+ Collaboration diagram for QWindowsFileDialogSharedData:

Public Member Functions

 QWindowsFileDialogSharedData ()
 
void fromOptions (const QSharedPointer< QFileDialogOptions > &o)
 
QUrl directory () const
 
void setDirectory (const QUrl &)
 
QString selectedNameFilter () const
 
void setSelectedNameFilter (const QString &)
 
QList< QUrlselectedFiles () const
 
void setSelectedFiles (const QList< QUrl > &)
 
QString selectedFile () const
 

Detailed Description

Explicitly shared file dialog parameters that are not in QFileDialogOptions.

Contain Parameters that need to be cached while the native dialog does not exist yet. In addition, the data are updated by the change notifications of the IFileDialogEvent, as querying them after the dialog has closed does not reliably work. Provides thread-safe setters (for the non-modal case).

See also
QFileDialogOptions

Definition at line 332 of file qwindowsdialoghelpers.cpp.

Constructor & Destructor Documentation

◆ QWindowsFileDialogSharedData()

QWindowsFileDialogSharedData::QWindowsFileDialogSharedData ( )
inline

Definition at line 335 of file qwindowsdialoghelpers.cpp.

Member Function Documentation

◆ directory()

QUrl QWindowsFileDialogSharedData::directory ( ) const
inline

Definition at line 357 of file qwindowsdialoghelpers.cpp.

References m_data.

Referenced by QWindowsFileDialogHelper::directory(), QWindowsXpFileDialogHelper::directory(), QWindowsXpNativeFileDialog::existingDirCallback(), and QWindowsNativeFileDialogBase::updateDirectory().

+ Here is the caller graph for this function:

◆ fromOptions()

void QWindowsFileDialogSharedData::fromOptions ( const QSharedPointer< QFileDialogOptions > & o)
inline

Definition at line 405 of file qwindowsdialoghelpers.cpp.

References m_data, and o.

Referenced by QWindowsFileDialogHelper::createNativeDialog(), and QWindowsXpFileDialogHelper::createNativeDialog().

+ Here is the caller graph for this function:

◆ selectedFile()

QString QWindowsFileDialogSharedData::selectedFile ( ) const
inline

Definition at line 393 of file qwindowsdialoghelpers.cpp.

References files.

◆ selectedFiles()

QList< QUrl > QWindowsFileDialogSharedData::selectedFiles ( ) const
inline

Definition at line 385 of file qwindowsdialoghelpers.cpp.

References m_data.

Referenced by QWindowsNativeFileDialogBase::doExec(), QWindowsFileDialogHelper::selectedFiles(), and QWindowsXpFileDialogHelper::selectedFiles().

+ Here is the caller graph for this function:

◆ selectedNameFilter()

QString QWindowsFileDialogSharedData::selectedNameFilter ( ) const
inline

Definition at line 371 of file qwindowsdialoghelpers.cpp.

References m_data.

Referenced by QWindowsFileDialogHelper::selectedNameFilter(), QWindowsXpFileDialogHelper::selectedNameFilter(), and QWindowsNativeFileDialogBase::updateSelectedNameFilter().

+ Here is the caller graph for this function:

◆ setDirectory()

void QWindowsFileDialogSharedData::setDirectory ( const QUrl & d)
inline

Definition at line 365 of file qwindowsdialoghelpers.cpp.

References d, and m_data.

Referenced by QWindowsXpNativeFileDialog::doExec(), QWindowsNativeFileDialogBase::onFolderChange(), QWindowsFileDialogHelper::setDirectory(), and QWindowsXpFileDialogHelper::setDirectory().

+ Here is the caller graph for this function:

◆ setSelectedFiles()

void QWindowsFileDialogSharedData::setSelectedFiles ( const QList< QUrl > & urls)
inline

Definition at line 399 of file qwindowsdialoghelpers.cpp.

References m_data.

Referenced by QWindowsXpNativeFileDialog::doExec(), QWindowsNativeFileDialogBase::onFileOk(), QWindowsNativeFileDialogBase::onSelectionChange(), and QWindowsXpFileDialogHelper::selectFile().

+ Here is the caller graph for this function:

◆ setSelectedNameFilter()

void QWindowsFileDialogSharedData::setSelectedNameFilter ( const QString & f)
inline

Definition at line 379 of file qwindowsdialoghelpers.cpp.

References m_data.

Referenced by QWindowsXpNativeFileDialog::doExec(), QWindowsNativeFileDialogBase::onTypeChange(), QWindowsXpFileDialogHelper::selectNameFilter(), and QWindowsFileDialogHelper::selectNameFilter().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: