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 25 of file editfield.hxx.

Constructor & Destructor Documentation

◆ ScDoubleField()

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

Definition at line 38 of file editfield.cxx.

Member Function Documentation

◆ get_sensitive()

bool ScDoubleField::get_sensitive ( ) const
inline

Definition at line 39 of file editfield.hxx.

References m_xEntry.

◆ get_widget()

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

Definition at line 36 of file editfield.hxx.

References m_xEntry.

◆ GetValue()

bool ScDoubleField::GetValue ( double &  rfValue) const

◆ grab_focus()

void ScDoubleField::grab_focus ( )
inline

Definition at line 38 of file editfield.hxx.

References m_xEntry.

◆ set_sensitive()

void ScDoubleField::set_sensitive ( bool  bSensitive)
inline

Definition at line 40 of file editfield.hxx.

References m_xEntry.

◆ SetValue()

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

◆ m_xEntry

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

Definition at line 28 of file editfield.hxx.

Referenced by get_sensitive(), get_widget(), GetValue(), grab_focus(), set_sensitive(), and SetValue().


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