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

#include <mtrindlg.hxx>

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

Public Member Functions

 ScMetricInputDlg (weld::Window *pParent, const OString &sDialogName, long nCurrent, long nDefault, FieldUnit eFUnit, sal_uInt16 nDecimals, long nMaximum, long nMinimum)
 
virtual ~ScMetricInputDlg () override
 
int GetInputValue () const
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
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 (SetDefValHdl, weld::Button &, void)
 
 DECL_LINK (ModifyHdl, weld::MetricSpinButton &, void)
 

Private Attributes

std::unique_ptr< weld::MetricSpinButtonm_xEdValue
 
std::unique_ptr< weld::CheckButtonm_xBtnDefVal
 
int nDefaultValue
 
int nCurrentValue
 

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 25 of file mtrindlg.hxx.

Constructor & Destructor Documentation

ScMetricInputDlg::ScMetricInputDlg ( weld::Window pParent,
const OString &  sDialogName,
long  nCurrent,
long  nDefault,
FieldUnit  eFUnit,
sal_uInt16  nDecimals,
long  nMaximum,
long  nMinimum 
)

Definition at line 24 of file mtrindlg.cxx.

References CM, LINK, m_xBtnDefVal, m_xEdValue, nCurrentValue, and nDefaultValue.

ScMetricInputDlg::~ScMetricInputDlg ( )
overridevirtual

Definition at line 58 of file mtrindlg.cxx.

Member Function Documentation

ScMetricInputDlg::DECL_LINK ( SetDefValHdl  ,
weld::Button ,
void   
)
private
ScMetricInputDlg::DECL_LINK ( ModifyHdl  ,
weld::MetricSpinButton ,
void   
)
private
int ScMetricInputDlg::GetInputValue ( ) const

Definition at line 62 of file mtrindlg.cxx.

References m_xEdValue.

Member Data Documentation

std::unique_ptr<weld::CheckButton> ScMetricInputDlg::m_xBtnDefVal
private

Definition at line 42 of file mtrindlg.hxx.

Referenced by ScMetricInputDlg().

std::unique_ptr<weld::MetricSpinButton> ScMetricInputDlg::m_xEdValue
private

Definition at line 41 of file mtrindlg.hxx.

Referenced by GetInputValue(), and ScMetricInputDlg().

int ScMetricInputDlg::nCurrentValue
private

Definition at line 44 of file mtrindlg.hxx.

Referenced by ScMetricInputDlg().

int ScMetricInputDlg::nDefaultValue
private

Definition at line 43 of file mtrindlg.hxx.

Referenced by ScMetricInputDlg().


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