LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sw::DropDownFieldDialog Class Referencefinal

#include <DropDownFieldDialog.hxx>

Inheritance diagram for sw::DropDownFieldDialog:
[legend]
Collaboration diagram for sw::DropDownFieldDialog:
[legend]

Public Member Functions

 DropDownFieldDialog (weld::Widget *pParent, SwWrtShell &rSh, SwField *pField, bool bPrevButton, bool bNextButton)
 
virtual ~DropDownFieldDialog () override
 
bool PrevButtonPressed () const
 
bool NextButtonPressed () const
 
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 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 (EditHdl, weld::Button &, void)
 
 DECL_LINK (PrevHdl, weld::Button &, void)
 
 DECL_LINK (NextHdl, weld::Button &, void)
 
void Apply ()
 
 DECL_LINK (DoubleClickHdl, weld::TreeView &, bool)
 

Private Attributes

SwWrtShellm_rSh
 
SwDropDownFieldm_pDropField
 
weld::Buttonm_pPressedButton
 
std::unique_ptr< weld::TreeViewm_xListItemsLB
 
std::unique_ptr< weld::Buttonm_xOKPB
 
std::unique_ptr< weld::Buttonm_xPrevPB
 
std::unique_ptr< weld::Buttonm_xNextPB
 
std::unique_ptr< weld::Buttonm_xEditPB
 

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 DropDownFieldDialog.hxx.

Constructor & Destructor Documentation

◆ DropDownFieldDialog()

sw::DropDownFieldDialog::DropDownFieldDialog ( weld::Widget pParent,
SwWrtShell rSh,
SwField pField,
bool  bPrevButton,
bool  bNextButton 
)

◆ ~DropDownFieldDialog()

sw::DropDownFieldDialog::~DropDownFieldDialog ( )
overridevirtual

Definition at line 80 of file DropDownFieldDialog.cxx.

Member Function Documentation

◆ Apply()

void sw::DropDownFieldDialog::Apply ( )
private

Definition at line 84 of file DropDownFieldDialog.cxx.

Referenced by run().

◆ DECL_LINK() [1/4]

sw::DropDownFieldDialog::DECL_LINK ( DoubleClickHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [2/4]

sw::DropDownFieldDialog::DECL_LINK ( EditHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/4]

sw::DropDownFieldDialog::DECL_LINK ( NextHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/4]

sw::DropDownFieldDialog::DECL_LINK ( PrevHdl  ,
weld::Button ,
void   
)
private

◆ NextButtonPressed()

bool sw::DropDownFieldDialog::NextButtonPressed ( ) const

Definition at line 110 of file DropDownFieldDialog.cxx.

◆ PrevButtonPressed()

bool sw::DropDownFieldDialog::PrevButtonPressed ( ) const

Definition at line 105 of file DropDownFieldDialog.cxx.

◆ run()

virtual short sw::DropDownFieldDialog::run ( )
inlineoverridevirtual

Reimplemented from weld::DialogController.

Definition at line 54 of file DropDownFieldDialog.hxx.

References Apply(), and RET_OK.

Member Data Documentation

◆ m_pDropField

SwDropDownField* sw::DropDownFieldDialog::m_pDropField
private

Definition at line 34 of file DropDownFieldDialog.hxx.

Referenced by DropDownFieldDialog().

◆ m_pPressedButton

weld::Button* sw::DropDownFieldDialog::m_pPressedButton
private

Definition at line 36 of file DropDownFieldDialog.hxx.

◆ m_rSh

SwWrtShell& sw::DropDownFieldDialog::m_rSh
private

Definition at line 33 of file DropDownFieldDialog.hxx.

Referenced by DropDownFieldDialog().

◆ m_xEditPB

std::unique_ptr<weld::Button> sw::DropDownFieldDialog::m_xEditPB
private

Definition at line 41 of file DropDownFieldDialog.hxx.

Referenced by DropDownFieldDialog().

◆ m_xListItemsLB

std::unique_ptr<weld::TreeView> sw::DropDownFieldDialog::m_xListItemsLB
private

Definition at line 37 of file DropDownFieldDialog.hxx.

Referenced by DropDownFieldDialog().

◆ m_xNextPB

std::unique_ptr<weld::Button> sw::DropDownFieldDialog::m_xNextPB
private

Definition at line 40 of file DropDownFieldDialog.hxx.

Referenced by DropDownFieldDialog().

◆ m_xOKPB

std::unique_ptr<weld::Button> sw::DropDownFieldDialog::m_xOKPB
private

Definition at line 38 of file DropDownFieldDialog.hxx.

Referenced by DropDownFieldDialog().

◆ m_xPrevPB

std::unique_ptr<weld::Button> sw::DropDownFieldDialog::m_xPrevPB
private

Definition at line 39 of file DropDownFieldDialog.hxx.

Referenced by DropDownFieldDialog().


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