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

#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 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

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

Private Attributes

SwWrtShellrSh
 
SwInputFieldpInpField
 
SwSetExpFieldpSetField
 
SwUserFieldTypepUsrType
 
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 ( weld::Widget pParent,
SwWrtShell rSh,
SwField pField,
bool  bPrevButton,
bool  bNextButton 
)
SwFieldInputDlg::~SwFieldInputDlg ( )
overridevirtual

Definition at line 113 of file inpdlg.cxx.

Member Function Documentation

void SwFieldInputDlg::Apply ( )
private
SwFieldInputDlg::DECL_LINK ( NextHdl  ,
weld::Button ,
void   
)
private
SwFieldInputDlg::DECL_LINK ( PrevHdl  ,
weld::Button ,
void   
)
private
bool SwFieldInputDlg::NextButtonPressed ( ) const

Definition at line 159 of file inpdlg.cxx.

References m_pPressedButton, and m_xNextBT.

bool SwFieldInputDlg::PrevButtonPressed ( ) const

Definition at line 154 of file inpdlg.cxx.

References m_pPressedButton, and m_xPrevBT.

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

weld::Button* SwFieldInputDlg::m_pPressedButton
private

Definition at line 41 of file inpdlg.hxx.

Referenced by NextButtonPressed(), and PrevButtonPressed().

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

Definition at line 43 of file inpdlg.hxx.

Referenced by Apply(), and SwFieldInputDlg().

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

Definition at line 42 of file inpdlg.hxx.

Referenced by SwFieldInputDlg().

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

Definition at line 45 of file inpdlg.hxx.

Referenced by NextButtonPressed(), and SwFieldInputDlg().

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

Definition at line 46 of file inpdlg.hxx.

Referenced by SwFieldInputDlg().

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

Definition at line 44 of file inpdlg.hxx.

Referenced by PrevButtonPressed(), and SwFieldInputDlg().

SwInputField* SwFieldInputDlg::pInpField
private

Definition at line 37 of file inpdlg.hxx.

Referenced by Apply(), and SwFieldInputDlg().

SwSetExpField* SwFieldInputDlg::pSetField
private

Definition at line 38 of file inpdlg.hxx.

Referenced by Apply(), and SwFieldInputDlg().

SwUserFieldType* SwFieldInputDlg::pUsrType
private

Definition at line 39 of file inpdlg.hxx.

Referenced by Apply(), and SwFieldInputDlg().

SwWrtShell& SwFieldInputDlg::rSh
private

Definition at line 36 of file inpdlg.hxx.

Referenced by Apply(), and SwFieldInputDlg().


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