LibreOffice Module sc (master) 1
|
#include <dpgroupdlg.hxx>
Public Member Functions | |
ScDPGroupEditHelper (weld::RadioButton &rRbAuto, weld::RadioButton &rRbMan, weld::Widget &rEdValue) | |
bool | IsAuto () const |
double | GetValue () const |
void | SetValue (bool bAuto, double fValue) |
Protected Member Functions | |
~ScDPGroupEditHelper () | |
Private Member Functions | |
virtual bool | ImplGetValue (double &rfValue) const =0 |
virtual void | ImplSetValue (double fValue)=0 |
DECL_LINK (ToggleHdl, weld::Toggleable &, void) | |
Private Attributes | |
weld::RadioButton & | mrRbAuto |
weld::RadioButton & | mrRbMan |
weld::Widget & | mrEdValue |
Definition at line 28 of file dpgroupdlg.hxx.
|
explicit |
Definition at line 59 of file dpgroupdlg.cxx.
References weld::Toggleable::connect_toggled(), LINK, mrRbAuto, and mrRbMan.
|
inlineprotected |
Definition at line 40 of file dpgroupdlg.hxx.
|
private |
double ScDPGroupEditHelper::GetValue | ( | ) | const |
Definition at line 73 of file dpgroupdlg.cxx.
References ImplGetValue().
Referenced by ScDPNumGroupDlg::GetGroupInfo(), and ScDPDateGroupDlg::GetGroupInfo().
|
privatepure virtual |
Implemented in ScDPNumGroupEditHelper, and ScDPDateGroupEditHelper.
Referenced by GetValue().
|
privatepure virtual |
Implemented in ScDPNumGroupEditHelper, and ScDPDateGroupEditHelper.
Referenced by SetValue().
bool ScDPGroupEditHelper::IsAuto | ( | ) | const |
Definition at line 68 of file dpgroupdlg.cxx.
References weld::Toggleable::get_active(), and mrRbAuto.
Referenced by ScDPNumGroupDlg::GetGroupInfo(), and ScDPDateGroupDlg::GetGroupInfo().
void ScDPGroupEditHelper::SetValue | ( | bool | bAuto, |
double | fValue | ||
) |
Definition at line 81 of file dpgroupdlg.cxx.
References ImplSetValue(), mrRbAuto, mrRbMan, and weld::Toggleable::set_active().
Referenced by ScDPDateGroupDlg::ScDPDateGroupDlg(), and ScDPNumGroupDlg::ScDPNumGroupDlg().
|
private |
Definition at line 51 of file dpgroupdlg.hxx.
|
private |
Definition at line 49 of file dpgroupdlg.hxx.
Referenced by IsAuto(), ScDPGroupEditHelper(), and SetValue().
|
private |
Definition at line 50 of file dpgroupdlg.hxx.
Referenced by ScDPGroupEditHelper(), and SetValue().