LibreOffice Module extensions (master) 1
|
#include <listselectiondlg.hxx>
Public Member Functions | |
ListSelectionDialog (weld::Window *_pParent, const css::uno::Reference< css::beans::XPropertySet > &_rxListBox, OUString _sPropertyName, const OUString &_rPropertyUIName) | |
virtual | ~ListSelectionDialog () override |
virtual short | run () override |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
void | initialize () |
void | commitSelection () |
void | fillEntryList (const css::uno::Sequence< OUString > &_rListEntries) |
void | selectEntries (const css::uno::Sequence< sal_Int16 > &_rSelection) |
void | collectSelection (std::vector< sal_Int16 > &_rSelection) |
Private Attributes | |
css::uno::Reference< css::beans::XPropertySet > | m_xListBox |
OUString | m_sPropertyName |
std::unique_ptr< weld::Frame > | m_xFrame |
std::unique_ptr< weld::TreeView > | m_xEntries |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 28 of file listselectiondlg.hxx.
pcr::ListSelectionDialog::ListSelectionDialog | ( | weld::Window * | _pParent, |
const css::uno::Reference< css::beans::XPropertySet > & | _rxListBox, | ||
OUString | _sPropertyName, | ||
const OUString & | _rPropertyUIName | ||
) |
Definition at line 32 of file listselectiondlg.cxx.
References initialize(), weld::GenericDialogController::m_xDialog, m_xEntries, m_xFrame, m_xFrame, and m_xListBox.
|
overridevirtual |
Definition at line 50 of file listselectiondlg.cxx.
|
private |
Definition at line 120 of file listselectiondlg.cxx.
References m_xEntries.
Referenced by commitSelection().
|
private |
Definition at line 93 of file listselectiondlg.cxx.
References Any, collectSelection(), comphelper::containerToSequence(), Exception, m_sPropertyName, m_xListBox, and TOOLS_WARN_EXCEPTION.
Referenced by run().
|
private |
Definition at line 111 of file listselectiondlg.cxx.
References m_xEntries.
Referenced by initialize().
|
private |
Definition at line 65 of file listselectiondlg.cxx.
References Exception, fillEntryList(), m_sPropertyName, m_xEntries, m_xListBox, PROPERTY_MULTISELECTION, PROPERTY_STRINGITEMLIST, selectEntries(), and TOOLS_WARN_EXCEPTION.
Referenced by ListSelectionDialog().
|
overridevirtual |
Reimplemented from weld::DialogController.
Definition at line 54 of file listselectiondlg.cxx.
References commitSelection(), and RET_OK.
Referenced by pcr::FormComponentPropertyHandler::impl_dialogListSelection_nothrow().
|
private |
Definition at line 128 of file listselectiondlg.cxx.
References m_xEntries.
Referenced by initialize().
|
private |
Definition at line 32 of file listselectiondlg.hxx.
Referenced by commitSelection(), and initialize().
|
private |
Definition at line 34 of file listselectiondlg.hxx.
Referenced by collectSelection(), fillEntryList(), initialize(), ListSelectionDialog(), and selectEntries().
|
private |
Definition at line 33 of file listselectiondlg.hxx.
Referenced by ListSelectionDialog().
|
private |
Definition at line 31 of file listselectiondlg.hxx.
Referenced by commitSelection(), initialize(), and ListSelectionDialog().