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

#include <optsolver.hxx>

Inheritance diagram for ScCursorRefEdit:
[legend]
Collaboration diagram for ScCursorRefEdit:
[legend]

Public Member Functions

 ScCursorRefEdit (std::unique_ptr< weld::Entry > xEntry)
 
void SetCursorLinks (const Link< ScCursorRefEdit &, void > &rUp, const Link< ScCursorRefEdit &, void > &rDown)
 
- Public Member Functions inherited from formula::RefEdit
 RefEdit (std::unique_ptr< weld::Entry > xControl)
 
weld::EntryGetWidget () const
 
virtual ~RefEdit ()
 
void SetRefString (const OUString &rStr)
 
void SetRefValid (bool bValid)
 
void SetText (const OUString &rStr)
 
OUString GetText () const
 
void StartUpdateData ()
 
void SetReferences (IControlReferenceHandler *pDlg, weld::Label *pLabelWidget)
 
void DoModify ()
 
void GrabFocus ()
 
void SelectAll ()
 
void SetSelection (const Selection &rSelection)
 
void SetCursorAtLast ()
 
Selection GetSelection () const
 
weld::LabelGetLabelWidgetForShrinkMode ()
 
void SaveValue ()
 
bool IsValueChangedFromSaved () const
 
void SetGetFocusHdl (const Link< RefEdit &, void > &rLink)
 
void SetLoseFocusHdl (const Link< RefEdit &, void > &rLink)
 
void SetModifyHdl (const Link< RefEdit &, void > &rLink)
 
const Link< RefEdit &, void > & GetModifyHdl () const
 
void SetActivateHdl (const Link< weld::Widget &, bool > &rLink)
 

Protected Member Functions

 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
- Protected Member Functions inherited from formula::RefEdit
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (GetFocus, weld::Widget &, void)
 
 DECL_LINK (LoseFocus, weld::Widget &, void)
 
 DECL_LINK (Modify, weld::Entry &, void)
 
virtual bool KeyInput (const KeyEvent &rKEvt)
 

Private Attributes

Link< ScCursorRefEdit &, voidmaCursorUpLink
 
Link< ScCursorRefEdit &, voidmaCursorDownLink
 

Additional Inherited Members

- Protected Attributes inherited from formula::RefEdit
std::unique_ptr< weld::EntryxEntry
 

Detailed Description

Definition at line 33 of file optsolver.hxx.

Constructor & Destructor Documentation

ScCursorRefEdit::ScCursorRefEdit ( std::unique_ptr< weld::Entry xEntry)

Definition at line 105 of file optsolver.cxx.

References LINK, and formula::RefEdit::xEntry.

Member Function Documentation

ScCursorRefEdit::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
protected
void ScCursorRefEdit::SetCursorLinks ( const Link< ScCursorRefEdit &, void > &  rUp,
const Link< ScCursorRefEdit &, void > &  rDown 
)

Definition at line 112 of file optsolver.cxx.

References maCursorDownLink, and maCursorUpLink.

Referenced by ScOptSolverDlg::Init().

Member Data Documentation

Link<ScCursorRefEdit&,void> ScCursorRefEdit::maCursorDownLink
private

Definition at line 36 of file optsolver.hxx.

Referenced by SetCursorLinks().

Link<ScCursorRefEdit&,void> ScCursorRefEdit::maCursorUpLink
private

Definition at line 35 of file optsolver.hxx.

Referenced by SetCursorLinks().


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