LibreOffice Module sc (master)
1
|
#include <mtrindlg.hxx>
Public Member Functions | |
ScMetricInputDlg (weld::Window *pParent, const OString &sDialogName, tools::Long nCurrent, tools::Long nDefault, FieldUnit eFUnit, sal_uInt16 nDecimals, tools::Long nMaximum, tools::Long nMinimum) | |
virtual | ~ScMetricInputDlg () override |
int | GetInputValue () const |
![]() | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
![]() | |
const Dialog * | getConstDialog () 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::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 bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
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 OString & | 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 58 of file mtrindlg.cxx.
|
private |
|
private |
int ScMetricInputDlg::GetInputValue | ( | ) | const |
Definition at line 62 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().