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:
Collaboration diagram for SwTableWidthDlg:

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

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 ( )

Definition at line 60 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 ,

◆ run()

short SwTableWidthDlg::run ( )

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

Definition at line 29 of file colwd.hxx.

Referenced by Apply(), and SwTableWidthDlg().

◆ m_xColNF

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

Definition at line 31 of file colwd.hxx.

Referenced by Apply(), and SwTableWidthDlg().

◆ m_xWidthMF

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

Definition at line 32 of file colwd.hxx.

Referenced by Apply(), and SwTableWidthDlg().

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