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

#include <inpdlg.hxx>

Inheritance diagram for SwFieldInputDlg:
[legend]
Collaboration diagram for SwFieldInputDlg:
[legend]

Public Member Functions

 SwFieldInputDlg (weld::Widget *pParent, SwWrtShell &rSh, SwField *pField, bool bPrevButton, bool bNextButton)
 
virtual short run () override
 
virtual ~SwFieldInputDlg () override
 
bool PrevButtonPressed () const
 
bool NextButtonPressed () 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

void Apply ()
 
 DECL_LINK (NextHdl, weld::Button &, void)
 
 DECL_LINK (PrevHdl, weld::Button &, void)
 

Private Attributes

SwWrtShellm_rSh
 
SwInputFieldm_pInpField
 
SwSetExpFieldm_pSetField
 
SwUserFieldTypem_pUsrType
 
weld::Buttonm_pPressedButton
 
std::unique_ptr< weld::Entrym_xLabelED
 
std::unique_ptr< weld::TextViewm_xEditED
 
std::unique_ptr< weld::Buttonm_xPrevBT
 
std::unique_ptr< weld::Buttonm_xNextBT
 
std::unique_ptr< weld::Buttonm_xOKBT
 

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 32 of file inpdlg.hxx.

Constructor & Destructor Documentation

◆ SwFieldInputDlg()

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

◆ ~SwFieldInputDlg()

SwFieldInputDlg::~SwFieldInputDlg ( )
overridevirtual

Definition at line 112 of file inpdlg.cxx.

Member Function Documentation

◆ Apply()

void SwFieldInputDlg::Apply ( )
private

◆ DECL_LINK() [1/2]

SwFieldInputDlg::DECL_LINK ( NextHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/2]

SwFieldInputDlg::DECL_LINK ( PrevHdl  ,
weld::Button ,
void   
)
private

◆ NextButtonPressed()

bool SwFieldInputDlg::NextButtonPressed ( ) const

Definition at line 158 of file inpdlg.cxx.

References m_pPressedButton, and m_xNextBT.

◆ PrevButtonPressed()

bool SwFieldInputDlg::PrevButtonPressed ( ) const

Definition at line 153 of file inpdlg.cxx.

References m_pPressedButton, and m_xPrevBT.

◆ run()

virtual short SwFieldInputDlg::run ( )
inlineoverridevirtual

Reimplemented from weld::DialogController.

Definition at line 54 of file inpdlg.hxx.

References Apply(), and RET_OK.

Member Data Documentation

◆ m_pInpField

SwInputField* SwFieldInputDlg::m_pInpField
private

Definition at line 37 of file inpdlg.hxx.

Referenced by Apply(), and SwFieldInputDlg().

◆ m_pPressedButton

weld::Button* SwFieldInputDlg::m_pPressedButton
private

Definition at line 41 of file inpdlg.hxx.

Referenced by NextButtonPressed(), and PrevButtonPressed().

◆ m_pSetField

SwSetExpField* SwFieldInputDlg::m_pSetField
private

Definition at line 38 of file inpdlg.hxx.

Referenced by Apply(), and SwFieldInputDlg().

◆ m_pUsrType

SwUserFieldType* SwFieldInputDlg::m_pUsrType
private

Definition at line 39 of file inpdlg.hxx.

Referenced by Apply(), and SwFieldInputDlg().

◆ m_rSh

SwWrtShell& SwFieldInputDlg::m_rSh
private

Definition at line 36 of file inpdlg.hxx.

Referenced by Apply(), and SwFieldInputDlg().

◆ m_xEditED

std::unique_ptr<weld::TextView> SwFieldInputDlg::m_xEditED
private

Definition at line 43 of file inpdlg.hxx.

Referenced by Apply(), and SwFieldInputDlg().

◆ m_xLabelED

std::unique_ptr<weld::Entry> SwFieldInputDlg::m_xLabelED
private

Definition at line 42 of file inpdlg.hxx.

Referenced by SwFieldInputDlg().

◆ m_xNextBT

std::unique_ptr<weld::Button> SwFieldInputDlg::m_xNextBT
private

Definition at line 45 of file inpdlg.hxx.

Referenced by NextButtonPressed(), and SwFieldInputDlg().

◆ m_xOKBT

std::unique_ptr<weld::Button> SwFieldInputDlg::m_xOKBT
private

Definition at line 46 of file inpdlg.hxx.

Referenced by SwFieldInputDlg().

◆ m_xPrevBT

std::unique_ptr<weld::Button> SwFieldInputDlg::m_xPrevBT
private

Definition at line 44 of file inpdlg.hxx.

Referenced by PrevButtonPressed(), and SwFieldInputDlg().


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