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 (ClickHdl, weld::Button &, void)
 

Private Attributes

weld::RadioButtonmrRbAuto
 
weld::RadioButtonmrRbMan
 
weld::WidgetmrEdValue
 

Detailed Description

Definition at line 29 of file dpgroupdlg.hxx.

Constructor & Destructor Documentation

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

Definition at line 59 of file dpgroupdlg.cxx.

References weld::Button::connect_clicked(), LINK, mrRbAuto, and mrRbMan.

ScDPGroupEditHelper::~ScDPGroupEditHelper ( )
inlineprotected

Definition at line 41 of file dpgroupdlg.hxx.

Member Function Documentation

ScDPGroupEditHelper::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private
double ScDPGroupEditHelper::GetValue ( ) const

Definition at line 73 of file dpgroupdlg.cxx.

References ImplGetValue().

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

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

Implemented in ScDPDateGroupEditHelper, and ScDPNumGroupEditHelper.

Referenced by GetValue().

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

Implemented in ScDPDateGroupEditHelper, and ScDPNumGroupEditHelper.

Referenced by SetValue().

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

Member Data Documentation

weld::Widget& ScDPGroupEditHelper::mrEdValue
private

Definition at line 52 of file dpgroupdlg.hxx.

weld::RadioButton& ScDPGroupEditHelper::mrRbAuto
private

Definition at line 50 of file dpgroupdlg.hxx.

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

weld::RadioButton& ScDPGroupEditHelper::mrRbMan
private

Definition at line 51 of file dpgroupdlg.hxx.

Referenced by ScDPGroupEditHelper(), and SetValue().


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