LibreOffice Module dbaccess (master) 1
|
#include <FieldControls.hxx>
Public Member Functions | |
OPropNumericEditCtrl (std::unique_ptr< weld::SpinButton > xSpinButton, TranslateId pHelpId, short nPosition) | |
void | set_text (const OUString &rText) |
OUString | get_text () const |
virtual void | save_value () override |
virtual bool | get_value_changed_from_saved () const override |
void | set_digits (int nLen) |
void | set_min (int nMin) |
void | set_max (int nMax) |
void | set_range (int nMin, int nMax) |
int | get_value () const |
short | GetPos () const |
const OUString & | GetHelp () const |
void | set_editable (bool bEditable) |
Public Member Functions inherited from dbaui::OWidgetBase | |
OWidgetBase (weld::Widget *pWidget) | |
void | hide () |
void | show () |
void | set_sensitive (bool bSensitive) |
weld::Widget * | GetWidget () |
virtual bool | get_value_changed_from_saved () const =0 |
virtual void | save_value ()=0 |
virtual | ~OWidgetBase () |
Private Attributes | |
std::unique_ptr< weld::SpinButton > | m_xSpinButton |
short | m_nPos |
OUString | m_strHelpText |
Definition at line 58 of file FieldControls.hxx.
dbaui::OPropNumericEditCtrl::OPropNumericEditCtrl | ( | std::unique_ptr< weld::SpinButton > | xSpinButton, |
TranslateId | pHelpId, | ||
short | nPosition | ||
) |
Definition at line 44 of file FieldControls.cxx.
References DBA_RES, get(), m_nPos, and m_strHelpText.
|
inline |
Definition at line 68 of file FieldControls.hxx.
References m_xSpinButton.
|
inline |
Definition at line 76 of file FieldControls.hxx.
References m_xSpinButton.
|
inlineoverridevirtual |
Implements dbaui::OWidgetBase.
Definition at line 71 of file FieldControls.hxx.
References m_xSpinButton.
|
inline |
Definition at line 79 of file FieldControls.hxx.
References m_strHelpText.
|
inline |
Definition at line 78 of file FieldControls.hxx.
References m_nPos.
|
inlineoverridevirtual |
Implements dbaui::OWidgetBase.
Definition at line 70 of file FieldControls.hxx.
References m_xSpinButton.
|
inline |
Definition at line 72 of file FieldControls.hxx.
References m_xSpinButton.
|
inline |
Definition at line 81 of file FieldControls.hxx.
References m_xSpinButton.
|
inline |
Definition at line 74 of file FieldControls.hxx.
References m_xSpinButton.
|
inline |
Definition at line 73 of file FieldControls.hxx.
References m_xSpinButton.
Definition at line 75 of file FieldControls.hxx.
References m_xSpinButton.
|
inline |
Definition at line 67 of file FieldControls.hxx.
References m_xSpinButton.
|
private |
Definition at line 61 of file FieldControls.hxx.
Referenced by GetPos().
|
private |
Definition at line 62 of file FieldControls.hxx.
Referenced by GetHelp(), and OPropNumericEditCtrl().
|
private |
Definition at line 60 of file FieldControls.hxx.
Referenced by get_text(), get_value(), get_value_changed_from_saved(), save_value(), set_digits(), set_editable(), set_max(), set_min(), set_range(), and set_text().