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

#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 OString &rDialogId)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString 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

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

Definition at line 81 of file DropDownFieldDialog.cxx.

Member Function Documentation

void sw::DropDownFieldDialog::Apply ( )
private

Definition at line 85 of file DropDownFieldDialog.cxx.

Referenced by run().

sw::DropDownFieldDialog::DECL_LINK ( EditHdl  ,
weld::Button ,
void   
)
private
sw::DropDownFieldDialog::DECL_LINK ( PrevHdl  ,
weld::Button ,
void   
)
private
sw::DropDownFieldDialog::DECL_LINK ( NextHdl  ,
weld::Button ,
void   
)
private
sw::DropDownFieldDialog::DECL_LINK ( DoubleClickHdl  ,
weld::TreeView ,
bool   
)
private
bool sw::DropDownFieldDialog::NextButtonPressed ( ) const

Definition at line 111 of file DropDownFieldDialog.cxx.

bool sw::DropDownFieldDialog::PrevButtonPressed ( ) const

Definition at line 106 of file DropDownFieldDialog.cxx.

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

SwDropDownField* sw::DropDownFieldDialog::m_pDropField
private

Definition at line 34 of file DropDownFieldDialog.hxx.

Referenced by DropDownFieldDialog().

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

Definition at line 36 of file DropDownFieldDialog.hxx.

SwWrtShell& sw::DropDownFieldDialog::m_rSh
private

Definition at line 33 of file DropDownFieldDialog.hxx.

Referenced by DropDownFieldDialog().

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

Definition at line 41 of file DropDownFieldDialog.hxx.

Referenced by DropDownFieldDialog().

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

Definition at line 37 of file DropDownFieldDialog.hxx.

Referenced by DropDownFieldDialog().

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

Definition at line 40 of file DropDownFieldDialog.hxx.

Referenced by DropDownFieldDialog().

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

Definition at line 38 of file DropDownFieldDialog.hxx.

Referenced by DropDownFieldDialog().

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: