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

#include <taborder.hxx>

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

Public Member Functions

 TabOrderDialog (weld::Window *pParent, const css::uno::Reference< css::awt::XTabControllerModel > &_rxTabModel, const css::uno::Reference< css::awt::XControlContainer > &_rxControlCont, const css::uno::Reference< css::uno::XComponentContext > &_rxORB)
 
virtual ~TabOrderDialog () override
 
void SetModified ()
 
- 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

 DECL_LINK (ModelHasMoved, weld::TreeView &, void)
 
 DECL_LINK (MoveUpClickHdl, weld::Button &, void)
 
 DECL_LINK (MoveDownClickHdl, weld::Button &, void)
 
 DECL_LINK (AutoOrderClickHdl, weld::Button &, void)
 
 DECL_LINK (OKClickHdl, weld::Button &, void)
 
void FillList ()
 
void MoveSelection (int nRelPos)
 

Private Attributes

css::uno::Reference< css::awt::XTabControllerModel > m_xTempModel
 
css::uno::Reference< css::awt::XTabControllerModel > m_xModel
 
css::uno::Reference< css::awt::XControlContainer > m_xControlContainer
 
css::uno::Reference< css::uno::XComponentContext > m_xORB
 
std::unique_ptr< weld::TreeViewm_xLB_Controls
 
std::unique_ptr< weld::Buttonm_xPB_OK
 
std::unique_ptr< weld::Buttonm_xPB_MoveUp
 
std::unique_ptr< weld::Buttonm_xPB_MoveDown
 
std::unique_ptr< weld::Buttonm_xPB_AutoOrder
 

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 31 of file taborder.hxx.

Constructor & Destructor Documentation

◆ TabOrderDialog()

pcr::TabOrderDialog::TabOrderDialog ( weld::Window pParent,
const css::uno::Reference< css::awt::XTabControllerModel > &  _rxTabModel,
const css::uno::Reference< css::awt::XControlContainer > &  _rxControlCont,
const css::uno::Reference< css::uno::XComponentContext > &  _rxORB 
)

◆ ~TabOrderDialog()

pcr::TabOrderDialog::~TabOrderDialog ( )
overridevirtual

Definition at line 151 of file taborder.cxx.

Member Function Documentation

◆ DECL_LINK() [1/5]

pcr::TabOrderDialog::DECL_LINK ( AutoOrderClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/5]

pcr::TabOrderDialog::DECL_LINK ( ModelHasMoved  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [3/5]

pcr::TabOrderDialog::DECL_LINK ( MoveDownClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/5]

pcr::TabOrderDialog::DECL_LINK ( MoveUpClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/5]

pcr::TabOrderDialog::DECL_LINK ( OKClickHdl  ,
weld::Button ,
void   
)
private

◆ FillList()

void pcr::TabOrderDialog::FillList ( )
private

◆ MoveSelection()

void pcr::TabOrderDialog::MoveSelection ( int  nRelPos)
private

Definition at line 269 of file taborder.cxx.

References abs(), i, m_xLB_Controls, and SetModified().

◆ SetModified()

void pcr::TabOrderDialog::SetModified ( )

Definition at line 146 of file taborder.cxx.

References m_xPB_OK.

Referenced by MoveSelection().

Member Data Documentation

◆ m_xControlContainer

css::uno::Reference< css::awt::XControlContainer > pcr::TabOrderDialog::m_xControlContainer
private

Definition at line 38 of file taborder.hxx.

Referenced by FillList(), and TabOrderDialog().

◆ m_xLB_Controls

std::unique_ptr<weld::TreeView> pcr::TabOrderDialog::m_xLB_Controls
private

Definition at line 42 of file taborder.hxx.

Referenced by FillList(), MoveSelection(), and TabOrderDialog().

◆ m_xModel

css::uno::Reference< css::awt::XTabControllerModel > pcr::TabOrderDialog::m_xModel
private

Definition at line 36 of file taborder.hxx.

Referenced by TabOrderDialog().

◆ m_xORB

css::uno::Reference< css::uno::XComponentContext > pcr::TabOrderDialog::m_xORB
private

Definition at line 40 of file taborder.hxx.

◆ m_xPB_AutoOrder

std::unique_ptr<weld::Button> pcr::TabOrderDialog::m_xPB_AutoOrder
private

Definition at line 46 of file taborder.hxx.

Referenced by TabOrderDialog().

◆ m_xPB_MoveDown

std::unique_ptr<weld::Button> pcr::TabOrderDialog::m_xPB_MoveDown
private

Definition at line 45 of file taborder.hxx.

Referenced by TabOrderDialog().

◆ m_xPB_MoveUp

std::unique_ptr<weld::Button> pcr::TabOrderDialog::m_xPB_MoveUp
private

Definition at line 44 of file taborder.hxx.

Referenced by TabOrderDialog().

◆ m_xPB_OK

std::unique_ptr<weld::Button> pcr::TabOrderDialog::m_xPB_OK
private

Definition at line 43 of file taborder.hxx.

Referenced by SetModified(), and TabOrderDialog().

◆ m_xTempModel

css::uno::Reference< css::awt::XTabControllerModel > pcr::TabOrderDialog::m_xTempModel
private

Definition at line 34 of file taborder.hxx.

Referenced by FillList(), and TabOrderDialog().


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