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 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 (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 ( weld::Window pParent,
SwTableFUNC rFnc 
)

Member Function Documentation

void SwTableWidthDlg::Apply ( )
private

Definition at line 65 of file colwd.cxx.

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

Referenced by run().

SwTableWidthDlg::DECL_LINK ( LoseFocusHdl  ,
weld::SpinButton ,
void   
)
private
short SwTableWidthDlg::run ( )
overridevirtual

Reimplemented from weld::DialogController.

Definition at line 72 of file colwd.cxx.

References Apply(), and RET_OK.

Member Data Documentation

SwTableFUNC& SwTableWidthDlg::m_rFnc
private

Definition at line 29 of file colwd.hxx.

Referenced by Apply(), and SwTableWidthDlg().

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

Definition at line 31 of file colwd.hxx.

Referenced by Apply(), and SwTableWidthDlg().

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: