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

#include <colwd.hxx>

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

Public Member Functions

 SwTableWidthDlg (weld::Window *pParent, SwTableFUNC &rFnc)
 
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 (LoseFocusHdl, weld::SpinButton &, void)
 
void Apply ()
 

Private Attributes

SwTableFUNCm_rFnc
 
std::unique_ptr< weld::SpinButtonm_xColNF
 
std::unique_ptr< weld::MetricSpinButtonm_xWidthMF
 

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 26 of file colwd.hxx.

Constructor & Destructor Documentation

◆ SwTableWidthDlg()

SwTableWidthDlg::SwTableWidthDlg ( weld::Window pParent,
SwTableFUNC rFnc 
)

Member Function Documentation

◆ Apply()

void SwTableWidthDlg::Apply ( )
private

Definition at line 60 of file colwd.cxx.

References SwTableFUNC::InitTabCols(), m_rFnc, m_xColNF, m_xWidthMF, and SwTableFUNC::SetColWidth().

Referenced by run().

◆ DECL_LINK()

SwTableWidthDlg::DECL_LINK ( LoseFocusHdl  ,
weld::SpinButton ,
void   
)
private

◆ run()

short SwTableWidthDlg::run ( )
overridevirtual

Reimplemented from weld::DialogController.

Definition at line 67 of file colwd.cxx.

References Apply(), and RET_OK.

Member Data Documentation

◆ m_rFnc

SwTableFUNC& SwTableWidthDlg::m_rFnc
private

Definition at line 29 of file colwd.hxx.

Referenced by Apply(), and SwTableWidthDlg().

◆ m_xColNF

std::unique_ptr<weld::SpinButton> SwTableWidthDlg::m_xColNF
private

Definition at line 31 of file colwd.hxx.

Referenced by Apply(), and SwTableWidthDlg().

◆ m_xWidthMF

std::unique_ptr<weld::MetricSpinButton> SwTableWidthDlg::m_xWidthMF
private

Definition at line 32 of file colwd.hxx.

Referenced by Apply(), and SwTableWidthDlg().


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