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
virtual bool KeyInput (const KeyEvent &rKEvt)
 

Private Attributes

Link< ScCursorRefEdit &, void > maCursorUpLink
 
Link< ScCursorRefEdit &, void > maCursorDownLink
 

Additional Inherited Members

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

Detailed Description

Definition at line 35 of file optsolver.hxx.

Constructor & Destructor Documentation

◆ ScCursorRefEdit()

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

Definition at line 107 of file optsolver.cxx.

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

Member Function Documentation

◆ DECL_LINK()

ScCursorRefEdit::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
protected

◆ SetCursorLinks()

void ScCursorRefEdit::SetCursorLinks ( const Link< ScCursorRefEdit &, void > &  rUp,
const Link< ScCursorRefEdit &, void > &  rDown 
)

Definition at line 114 of file optsolver.cxx.

References maCursorDownLink, and maCursorUpLink.

Referenced by ScOptSolverDlg::Init().

Member Data Documentation

◆ maCursorDownLink

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

Definition at line 38 of file optsolver.hxx.

Referenced by SetCursorLinks().

◆ maCursorUpLink

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

Definition at line 37 of file optsolver.hxx.

Referenced by SetCursorLinks().


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