LibreOffice Module sc (master) 1
|
#include <mtrindlg.hxx>
Public Member Functions | |
ScMetricInputDlg (weld::Window *pParent, const OUString &sDialogName, tools::Long nCurrent, tools::Long nDefault, FieldUnit eFUnit, sal_uInt16 nDecimals, tools::Long nMaximum, tools::Long nMinimum) | |
virtual | ~ScMetricInputDlg () override |
int | GetInputValue () const |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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 (SetDefValHdl, weld::Toggleable &, void) | |
DECL_LINK (ModifyHdl, weld::MetricSpinButton &, void) | |
Private Attributes | |
std::unique_ptr< weld::MetricSpinButton > | m_xEdValue |
std::unique_ptr< weld::CheckButton > | m_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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 24 of file mtrindlg.hxx.
ScMetricInputDlg::ScMetricInputDlg | ( | weld::Window * | pParent, |
const OUString & | sDialogName, | ||
tools::Long | nCurrent, | ||
tools::Long | nDefault, | ||
FieldUnit | eFUnit, | ||
sal_uInt16 | nDecimals, | ||
tools::Long | nMaximum, | ||
tools::Long | nMinimum | ||
) |
Definition at line 24 of file mtrindlg.cxx.
References CM, LINK, m_xBtnDefVal, m_xEdValue, nCurrentValue, and nDefaultValue.
|
overridevirtual |
Definition at line 57 of file mtrindlg.cxx.
|
private |
|
private |
int ScMetricInputDlg::GetInputValue | ( | ) | const |
Definition at line 61 of file mtrindlg.cxx.
References m_xEdValue.
|
private |
Definition at line 41 of file mtrindlg.hxx.
Referenced by ScMetricInputDlg().
|
private |
Definition at line 40 of file mtrindlg.hxx.
Referenced by GetInputValue(), and ScMetricInputDlg().
|
private |
Definition at line 43 of file mtrindlg.hxx.
Referenced by ScMetricInputDlg().
|
private |
Definition at line 42 of file mtrindlg.hxx.
Referenced by ScMetricInputDlg().