LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Attributes | List of all members
dbaui::OPropEditCtrl Class Reference

#include <FieldControls.hxx>

Inheritance diagram for dbaui::OPropEditCtrl:
[legend]
Collaboration diagram for dbaui::OPropEditCtrl:
[legend]

Public Member Functions

 OPropEditCtrl (std::unique_ptr< weld::Entry > xEntry, TranslateId pHelpId, short nPosition)
 
void set_text (const OUString &rText)
 
OUString get_text () const
 
void set_editable (bool bEditable)
 
virtual void save_value () override
 
virtual bool get_value_changed_from_saved () const override
 
short GetPos () const
 
const OUString & GetHelp () const
 
- Public Member Functions inherited from dbaui::OWidgetBase
 OWidgetBase (weld::Widget *pWidget)
 
void hide ()
 
void show ()
 
void set_sensitive (bool bSensitive)
 
weld::WidgetGetWidget ()
 
virtual bool get_value_changed_from_saved () const =0
 
virtual void save_value ()=0
 
virtual ~OWidgetBase ()
 

Private Attributes

std::unique_ptr< weld::Entrym_xEntry
 
short m_nPos
 
OUString m_strHelpText
 

Detailed Description

Definition at line 38 of file FieldControls.hxx.

Constructor & Destructor Documentation

◆ OPropEditCtrl()

dbaui::OPropEditCtrl::OPropEditCtrl ( std::unique_ptr< weld::Entry xEntry,
TranslateId  pHelpId,
short  nPosition 
)

Definition at line 36 of file FieldControls.cxx.

References DBA_RES, get(), m_nPos, and m_strHelpText.

Member Function Documentation

◆ get_text()

OUString dbaui::OPropEditCtrl::get_text ( ) const
inline

Definition at line 48 of file FieldControls.hxx.

References m_xEntry.

◆ get_value_changed_from_saved()

virtual bool dbaui::OPropEditCtrl::get_value_changed_from_saved ( ) const
inlineoverridevirtual

Implements dbaui::OWidgetBase.

Definition at line 52 of file FieldControls.hxx.

References m_xEntry.

◆ GetHelp()

const OUString & dbaui::OPropEditCtrl::GetHelp ( ) const
inline

Definition at line 55 of file FieldControls.hxx.

References m_strHelpText.

◆ GetPos()

short dbaui::OPropEditCtrl::GetPos ( ) const
inline

Definition at line 54 of file FieldControls.hxx.

References m_nPos.

◆ save_value()

virtual void dbaui::OPropEditCtrl::save_value ( )
inlineoverridevirtual

Implements dbaui::OWidgetBase.

Definition at line 51 of file FieldControls.hxx.

References m_xEntry.

◆ set_editable()

void dbaui::OPropEditCtrl::set_editable ( bool  bEditable)
inline

Definition at line 49 of file FieldControls.hxx.

References m_xEntry.

◆ set_text()

void dbaui::OPropEditCtrl::set_text ( const OUString &  rText)
inline

Definition at line 47 of file FieldControls.hxx.

References m_xEntry.

Member Data Documentation

◆ m_nPos

short dbaui::OPropEditCtrl::m_nPos
private

Definition at line 41 of file FieldControls.hxx.

Referenced by GetPos().

◆ m_strHelpText

OUString dbaui::OPropEditCtrl::m_strHelpText
private

Definition at line 42 of file FieldControls.hxx.

Referenced by GetHelp(), and OPropEditCtrl().

◆ m_xEntry

std::unique_ptr<weld::Entry> dbaui::OPropEditCtrl::m_xEntry
private

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