LibreOffice Module vcl (master) 1
|
#include <QtFilePicker.hxx>
Public Member Functions | |
QtFilePicker (css::uno::Reference< css::uno::XComponentContext > context, QFileDialog::FileMode, bool bUseNative=false) | |
virtual | ~QtFilePicker () override |
virtual void SAL_CALL | addFilePickerListener (const css::uno::Reference< css::ui::dialogs::XFilePickerListener > &xListener) override |
virtual void SAL_CALL | removeFilePickerListener (const css::uno::Reference< css::ui::dialogs::XFilePickerListener > &xListener) override |
virtual void SAL_CALL | appendFilter (const OUString &rTitle, const OUString &rFilter) override |
virtual void SAL_CALL | setCurrentFilter (const OUString &rTitle) override |
virtual OUString SAL_CALL | getCurrentFilter () override |
virtual void SAL_CALL | appendFilterGroup (const OUString &rGroupTitle, const css::uno::Sequence< css::beans::StringPair > &rFilters) override |
virtual void SAL_CALL | cancel () override |
virtual void SAL_CALL | setTitle (const OUString &rTitle) override |
virtual sal_Int16 SAL_CALL | execute () override |
virtual void SAL_CALL | setDialogTitle (const OUString &) override |
virtual void SAL_CALL | startExecuteModal (const css::uno::Reference< css::ui::dialogs::XDialogClosedListener > &) override |
virtual void SAL_CALL | setMultiSelectionMode (sal_Bool bMode) override |
virtual void SAL_CALL | setDefaultName (const OUString &rName) override |
virtual void SAL_CALL | setDisplayDirectory (const OUString &rDirectory) override |
virtual OUString SAL_CALL | getDisplayDirectory () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getFiles () override |
virtual void SAL_CALL | setValue (sal_Int16 nControlId, sal_Int16 nControlAction, const css::uno::Any &rValue) override |
virtual css::uno::Any SAL_CALL | getValue (sal_Int16 nControlId, sal_Int16 nControlAction) override |
virtual void SAL_CALL | enableControl (sal_Int16 nControlId, sal_Bool bEnable) override |
virtual void SAL_CALL | setLabel (sal_Int16 nControlId, const OUString &rLabel) override |
virtual OUString SAL_CALL | getLabel (sal_Int16 nControlId) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSelectedFiles () override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &rArguments) override |
void SAL_CALL | disposing (const css::lang::EventObject &rEvent) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &rServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual OUString SAL_CALL | getDirectory () override |
virtual void SAL_CALL | setDescription (const OUString &rDescription) override |
void SAL_CALL | queryTermination (const css::lang::EventObject &aEvent) override |
void SAL_CALL | notifyTermination (const css::lang::EventObject &aEvent) override |
Protected Member Functions | |
virtual void | addCustomControl (sal_Int16 controlId) |
void | setCustomControlWidgetLayout (QGridLayout *pLayout) |
Protected Attributes | |
std::unique_ptr< QFileDialog > | m_pFileDialog |
the file picker dialog More... | |
QWidget * | m_pExtraControls |
widget to contain extra custom controls More... | |
Private Slots | |
void | filterSelected (const QString &) |
void | currentChanged (const QString &) |
virtual void | updateAutomaticFileExtension () |
void | finished (int) |
Private Member Functions | |
QtFilePicker (const QtFilePicker &)=delete | |
QtFilePicker & | operator= (const QtFilePicker &)=delete |
void | prepareExecute () |
Static Private Member Functions | |
static QString | getResString (TranslateId pRedId) |
static css::uno::Any | handleGetListValue (const QComboBox *pWidget, sal_Int16 nControlAction) |
static void | handleSetListValue (QComboBox *pQComboBox, sal_Int16 nAction, const css::uno::Any &rValue) |
Private Attributes | |
css::uno::Reference< css::uno::XComponentContext > | m_context |
css::uno::Reference< css::ui::dialogs::XFilePickerListener > | m_xListener |
css::uno::Reference< css::ui::dialogs::XDialogClosedListener > | m_xClosedListener |
osl::Mutex | m_aHelperMutex |
mutex used by the WeakComponentImplHelper More... | |
QStringList | m_aNamedFilterList |
to keep the original sequence More... | |
QHash< QString, QString > | m_aTitleToFilterMap |
QHash< QString, QString > | m_aNamedFilterToExtensionMap |
QString | m_aCurrentFilter |
QGridLayout * | m_pLayout |
layout for extra custom controls More... | |
QHash< sal_Int16, QWidget * > | m_aCustomWidgetsMap |
map of SAL control ID's to widget More... | |
const bool | m_bIsFolderPicker |
QWidget * | m_pParentWidget |
Definition at line 58 of file qt5/QtFilePicker.hxx.
|
explicit |
|
overridevirtual |
|
privatedelete |
|
protectedvirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
privateslot |
|
override |
|
overridevirtual |
|
overridevirtual |
|
privateslot |
|
privateslot |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
staticprivate |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
staticprivate |
|
staticprivate |
|
overridevirtual |
|
override |
|
privatedelete |
|
private |
|
override |
|
overridevirtual |
|
overridevirtual |
|
inlineprotected |
Definition at line 163 of file qt5/QtFilePicker.hxx.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
privatevirtualslot |
|
private |
Definition at line 74 of file qt5/QtFilePicker.hxx.
|
private |
map of SAL control ID's to widget
Definition at line 77 of file qt5/QtFilePicker.hxx.
|
private |
mutex used by the WeakComponentImplHelper
Definition at line 68 of file qt5/QtFilePicker.hxx.
|
private |
to keep the original sequence
Definition at line 70 of file qt5/QtFilePicker.hxx.
|
private |
Definition at line 73 of file qt5/QtFilePicker.hxx.
|
private |
Definition at line 71 of file qt5/QtFilePicker.hxx.
|
private |
Definition at line 79 of file qt5/QtFilePicker.hxx.
|
private |
Definition at line 63 of file qt5/QtFilePicker.hxx.
|
protected |
widget to contain extra custom controls
Definition at line 85 of file qt5/QtFilePicker.hxx.
|
protected |
the file picker dialog
Definition at line 84 of file qt5/QtFilePicker.hxx.
|
private |
layout for extra custom controls
Definition at line 76 of file qt5/QtFilePicker.hxx.
|
private |
Definition at line 81 of file qt5/QtFilePicker.hxx.
|
private |
Definition at line 66 of file qt5/QtFilePicker.hxx.
|
private |
Definition at line 65 of file qt5/QtFilePicker.hxx.