LibreOffice Module extensions (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
pcr::OSelectLabelDialog Class Referencefinal

#include <selectlabeldialog.hxx>

Inheritance diagram for pcr::OSelectLabelDialog:
[legend]
Collaboration diagram for pcr::OSelectLabelDialog:
[legend]

Public Member Functions

 OSelectLabelDialog (weld::Window *pParent, css::uno::Reference< css::beans::XPropertySet > const &_xControlModel)
 
virtual ~OSelectLabelDialog () override
 
css::uno::Reference< css::beans::XPropertySetGetSelected () const
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () 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

sal_Int32 InsertEntries (const css::uno::Reference< css::uno::XInterface > &_xContainer, const weld::TreeIter &rContainerEntry)
 
 DECL_LINK (OnEntrySelected, weld::TreeView &, void)
 
 DECL_LINK (OnNoAssignmentClicked, weld::Toggleable &, void)
 

Private Attributes

css::uno::Reference< css::beans::XPropertySetm_xControlModel
 
OUString m_sRequiredService
 
OUString m_aRequiredControlImage
 
std::unique_ptr< weld::TreeIterm_xInitialSelection
 
std::vector< std::unique_ptr< css::uno::Reference< css::beans::XPropertySet > > > m_xUserData
 
css::uno::Reference< css::beans::XPropertySetm_xInitialLabelControl
 
css::uno::Reference< css::beans::XPropertySetm_xSelectedControl
 
std::unique_ptr< weld::TreeIterm_xLastSelected
 
bool m_bLastSelected
 
bool m_bHaveAssignableControl
 
std::unique_ptr< weld::Labelm_xMainDesc
 
std::unique_ptr< weld::TreeViewm_xControlTree
 
std::unique_ptr< weld::TreeIterm_xScratchIter
 
std::unique_ptr< weld::CheckButtonm_xNoAssignment
 

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::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 28 of file selectlabeldialog.hxx.

Constructor & Destructor Documentation

◆ OSelectLabelDialog()

pcr::OSelectLabelDialog::OSelectLabelDialog ( weld::Window pParent,
css::uno::Reference< css::beans::XPropertySet > const &  _xControlModel 
)

◆ ~OSelectLabelDialog()

pcr::OSelectLabelDialog::~OSelectLabelDialog ( )
overridevirtual

Definition at line 145 of file selectlabeldialog.cxx.

Member Function Documentation

◆ DECL_LINK() [1/2]

pcr::OSelectLabelDialog::DECL_LINK ( OnEntrySelected  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [2/2]

pcr::OSelectLabelDialog::DECL_LINK ( OnNoAssignmentClicked  ,
weld::Toggleable ,
void   
)
private

◆ GetSelected()

css::uno::Reference< css::beans::XPropertySet > pcr::OSelectLabelDialog::GetSelected ( ) const
inline

◆ InsertEntries()

sal_Int32 pcr::OSelectLabelDialog::InsertEntries ( const css::uno::Reference< css::uno::XInterface > &  _xContainer,
const weld::TreeIter rContainerEntry 
)
private

Member Data Documentation

◆ m_aRequiredControlImage

OUString pcr::OSelectLabelDialog::m_aRequiredControlImage
private

Definition at line 32 of file selectlabeldialog.hxx.

Referenced by InsertEntries(), and OSelectLabelDialog().

◆ m_bHaveAssignableControl

bool pcr::OSelectLabelDialog::m_bHaveAssignableControl
private

Definition at line 41 of file selectlabeldialog.hxx.

Referenced by InsertEntries(), and OSelectLabelDialog().

◆ m_bLastSelected

bool pcr::OSelectLabelDialog::m_bLastSelected
private

Definition at line 40 of file selectlabeldialog.hxx.

◆ m_sRequiredService

OUString pcr::OSelectLabelDialog::m_sRequiredService
private

Definition at line 31 of file selectlabeldialog.hxx.

Referenced by InsertEntries(), and OSelectLabelDialog().

◆ m_xControlModel

css::uno::Reference< css::beans::XPropertySet > pcr::OSelectLabelDialog::m_xControlModel
private

Definition at line 30 of file selectlabeldialog.hxx.

Referenced by OSelectLabelDialog().

◆ m_xControlTree

std::unique_ptr<weld::TreeView> pcr::OSelectLabelDialog::m_xControlTree
private

Definition at line 44 of file selectlabeldialog.hxx.

Referenced by InsertEntries(), and OSelectLabelDialog().

◆ m_xInitialLabelControl

css::uno::Reference< css::beans::XPropertySet > pcr::OSelectLabelDialog::m_xInitialLabelControl
private

Definition at line 36 of file selectlabeldialog.hxx.

Referenced by InsertEntries(), and OSelectLabelDialog().

◆ m_xInitialSelection

std::unique_ptr<weld::TreeIter> pcr::OSelectLabelDialog::m_xInitialSelection
private

Definition at line 33 of file selectlabeldialog.hxx.

Referenced by InsertEntries(), and OSelectLabelDialog().

◆ m_xLastSelected

std::unique_ptr<weld::TreeIter> pcr::OSelectLabelDialog::m_xLastSelected
private

Definition at line 39 of file selectlabeldialog.hxx.

Referenced by OSelectLabelDialog().

◆ m_xMainDesc

std::unique_ptr<weld::Label> pcr::OSelectLabelDialog::m_xMainDesc
private

Definition at line 43 of file selectlabeldialog.hxx.

Referenced by OSelectLabelDialog().

◆ m_xNoAssignment

std::unique_ptr<weld::CheckButton> pcr::OSelectLabelDialog::m_xNoAssignment
private

Definition at line 46 of file selectlabeldialog.hxx.

Referenced by GetSelected(), and OSelectLabelDialog().

◆ m_xScratchIter

std::unique_ptr<weld::TreeIter> pcr::OSelectLabelDialog::m_xScratchIter
private

Definition at line 45 of file selectlabeldialog.hxx.

Referenced by InsertEntries(), and OSelectLabelDialog().

◆ m_xSelectedControl

css::uno::Reference< css::beans::XPropertySet > pcr::OSelectLabelDialog::m_xSelectedControl
private

Definition at line 38 of file selectlabeldialog.hxx.

Referenced by GetSelected().

◆ m_xUserData

std::vector<std::unique_ptr<css::uno::Reference<css::beans::XPropertySet> > > pcr::OSelectLabelDialog::m_xUserData
private

Definition at line 35 of file selectlabeldialog.hxx.

Referenced by InsertEntries().


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