LibreOffice Module sc (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
ScDPGroupEditHelper Class Referenceabstract

#include <dpgroupdlg.hxx>

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

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::RadioButtonmrRbAuto
 
weld::RadioButtonmrRbMan
 
weld::WidgetmrEdValue
 

Detailed Description

Definition at line 28 of file dpgroupdlg.hxx.

Constructor & Destructor Documentation

◆ ScDPGroupEditHelper()

ScDPGroupEditHelper::ScDPGroupEditHelper ( weld::RadioButton rRbAuto,
weld::RadioButton rRbMan,
weld::Widget rEdValue 
)
explicit

Definition at line 59 of file dpgroupdlg.cxx.

References weld::Toggleable::connect_toggled(), LINK, mrRbAuto, and mrRbMan.

◆ ~ScDPGroupEditHelper()

ScDPGroupEditHelper::~ScDPGroupEditHelper ( )
inlineprotected

Definition at line 40 of file dpgroupdlg.hxx.

Member Function Documentation

◆ DECL_LINK()

ScDPGroupEditHelper::DECL_LINK ( ToggleHdl  ,
weld::Toggleable ,
void   
)
private

◆ GetValue()

double ScDPGroupEditHelper::GetValue ( ) const

Definition at line 73 of file dpgroupdlg.cxx.

References ImplGetValue().

Referenced by ScDPNumGroupDlg::GetGroupInfo(), and ScDPDateGroupDlg::GetGroupInfo().

◆ ImplGetValue()

virtual bool ScDPGroupEditHelper::ImplGetValue ( double &  rfValue) const
privatepure virtual

Implemented in ScDPNumGroupEditHelper, and ScDPDateGroupEditHelper.

Referenced by GetValue().

◆ ImplSetValue()

virtual void ScDPGroupEditHelper::ImplSetValue ( double  fValue)
privatepure virtual

Implemented in ScDPNumGroupEditHelper, and ScDPDateGroupEditHelper.

Referenced by SetValue().

◆ IsAuto()

bool ScDPGroupEditHelper::IsAuto ( ) const

◆ SetValue()

void ScDPGroupEditHelper::SetValue ( bool  bAuto,
double  fValue 
)

Member Data Documentation

◆ mrEdValue

weld::Widget& ScDPGroupEditHelper::mrEdValue
private

Definition at line 51 of file dpgroupdlg.hxx.

◆ mrRbAuto

weld::RadioButton& ScDPGroupEditHelper::mrRbAuto
private

Definition at line 49 of file dpgroupdlg.hxx.

Referenced by IsAuto(), ScDPGroupEditHelper(), and SetValue().

◆ mrRbMan

weld::RadioButton& ScDPGroupEditHelper::mrRbMan
private

Definition at line 50 of file dpgroupdlg.hxx.

Referenced by ScDPGroupEditHelper(), and SetValue().


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