LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
ScDoubleField Class Reference

An edit control that contains a double precision floating-point value. More...

#include <editfield.hxx>

Public Member Functions

 ScDoubleField (std::unique_ptr< weld::Entry > xEntry)
 
bool GetValue (double &rfValue) const
 
void SetValue (double fValue, sal_Int32 nDecPlaces=12)
 
weld::Entryget_widget ()
 
void grab_focus ()
 
bool get_sensitive () const
 
void set_sensitive (bool bSensitive)
 

Private Attributes

std::unique_ptr< weld::Entrym_xEntry
 

Detailed Description

An edit control that contains a double precision floating-point value.

Definition at line 26 of file editfield.hxx.

Constructor & Destructor Documentation

ScDoubleField::ScDoubleField ( std::unique_ptr< weld::Entry xEntry)
explicit

Definition at line 38 of file editfield.cxx.

Member Function Documentation

bool ScDoubleField::get_sensitive ( ) const
inline

Definition at line 40 of file editfield.hxx.

weld::Entry& ScDoubleField::get_widget ( )
inline

Definition at line 37 of file editfield.hxx.

References m_xEntry.

bool ScDoubleField::GetValue ( double &  rfValue) const
void ScDoubleField::grab_focus ( )
inline

Definition at line 39 of file editfield.hxx.

void ScDoubleField::set_sensitive ( bool  bSensitive)
inline

Definition at line 41 of file editfield.hxx.

void ScDoubleField::SetValue ( double  fValue,
sal_Int32  nDecPlaces = 12 
)

Definition at line 57 of file editfield.cxx.

References m_xEntry.

Referenced by ScDPNumGroupEditHelper::ImplSetValue().

Member Data Documentation

std::unique_ptr<weld::Entry> ScDoubleField::m_xEntry
private

Definition at line 29 of file editfield.hxx.

Referenced by get_widget(), GetValue(), and SetValue().


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