LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvInplaceEdit2 Class Reference
Collaboration diagram for SvInplaceEdit2:
[legend]

Public Member Functions

 SvInplaceEdit2 (vcl::Window *pParent, const Point &rPos, const Size &rSize, const OUString &rData, const Link< SvInplaceEdit2 &, void > &rNotifyEditEnd, const Selection &)
 
 ~SvInplaceEdit2 ()
 
bool KeyInput (const KeyEvent &rKEvt)
 
void LoseFocus ()
 
bool EditingCanceled () const
 
OUString GetText () const
 
OUString const & GetSavedValue () const
 
void StopEditing (bool bCancel)
 
void Hide ()
 
const VclPtr< Edit > & GetEditWidget () const
 

Private Member Functions

void CallCallBackHdl_Impl ()
 
 DECL_LINK (Timeout_Impl, Timer *, void)
 
 DECL_LINK (ReturnHdl_Impl, Accelerator &, void)
 
 DECL_LINK (EscapeHdl_Impl, Accelerator &, void)
 

Private Attributes

Link< SvInplaceEdit2 &, void > aCallBackHdl
 
Accelerator aAccReturn
 
Accelerator aAccEscape
 
Idle aIdle { "svtools::SvInplaceEdit2 aIdle" }
 
VclPtr< EditpEdit
 
bool bCanceled
 
bool bAlreadyInCallBack
 

Detailed Description

Definition at line 61 of file treelistbox.cxx.

Constructor & Destructor Documentation

◆ SvInplaceEdit2()

SvInplaceEdit2::SvInplaceEdit2 ( vcl::Window pParent,
const Point rPos,
const Size rSize,
const OUString &  rData,
const Link< SvInplaceEdit2 &, void > &  rNotifyEditEnd,
const Selection rSelection 
)

◆ ~SvInplaceEdit2()

SvInplaceEdit2::~SvInplaceEdit2 ( )

Member Function Documentation

◆ CallCallBackHdl_Impl()

void SvInplaceEdit2::CallCallBackHdl_Impl ( )
private

◆ DECL_LINK() [1/3]

SvInplaceEdit2::DECL_LINK ( EscapeHdl_Impl  ,
Accelerator ,
void   
)
private

◆ DECL_LINK() [2/3]

SvInplaceEdit2::DECL_LINK ( ReturnHdl_Impl  ,
Accelerator ,
void   
)
private

◆ DECL_LINK() [3/3]

SvInplaceEdit2::DECL_LINK ( Timeout_Impl  ,
Timer ,
void   
)
private

◆ EditingCanceled()

bool SvInplaceEdit2::EditingCanceled ( ) const
inline

Definition at line 83 of file treelistbox.cxx.

References bCanceled.

◆ GetEditWidget()

const VclPtr< Edit > & SvInplaceEdit2::GetEditWidget ( ) const
inline

Definition at line 88 of file treelistbox.cxx.

References pEdit.

◆ GetSavedValue()

OUString const & SvInplaceEdit2::GetSavedValue ( ) const

Definition at line 180 of file treelistbox.cxx.

References Edit::GetSavedValue(), and pEdit.

◆ GetText()

OUString SvInplaceEdit2::GetText ( ) const

Definition at line 263 of file treelistbox.cxx.

References Edit::GetText(), and pEdit.

◆ Hide()

void SvInplaceEdit2::Hide ( )

Definition at line 185 of file treelistbox.cxx.

References vcl::Window::Hide(), and pEdit.

◆ KeyInput()

bool SvInplaceEdit2::KeyInput ( const KeyEvent rKEvt)

◆ LoseFocus()

void SvInplaceEdit2::LoseFocus ( )

◆ StopEditing()

void SvInplaceEdit2::StopEditing ( bool  bCancel)

Definition at line 223 of file treelistbox.cxx.

References bAlreadyInCallBack, bCanceled, and CallCallBackHdl_Impl().

Member Data Documentation

◆ aAccEscape

Accelerator SvInplaceEdit2::aAccEscape
private

Definition at line 65 of file treelistbox.cxx.

Referenced by CallCallBackHdl_Impl(), SvInplaceEdit2(), and ~SvInplaceEdit2().

◆ aAccReturn

Accelerator SvInplaceEdit2::aAccReturn
private

Definition at line 64 of file treelistbox.cxx.

Referenced by CallCallBackHdl_Impl(), SvInplaceEdit2(), and ~SvInplaceEdit2().

◆ aCallBackHdl

Link<SvInplaceEdit2&,void> SvInplaceEdit2::aCallBackHdl
private

Definition at line 63 of file treelistbox.cxx.

Referenced by CallCallBackHdl_Impl().

◆ aIdle

Idle SvInplaceEdit2::aIdle { "svtools::SvInplaceEdit2 aIdle" }
private

Definition at line 66 of file treelistbox.cxx.

Referenced by CallCallBackHdl_Impl(), and LoseFocus().

◆ bAlreadyInCallBack

bool SvInplaceEdit2::bAlreadyInCallBack
private

Definition at line 69 of file treelistbox.cxx.

Referenced by CallCallBackHdl_Impl(), LoseFocus(), StopEditing(), and ~SvInplaceEdit2().

◆ bCanceled

bool SvInplaceEdit2::bCanceled
private

Definition at line 68 of file treelistbox.cxx.

Referenced by EditingCanceled(), KeyInput(), LoseFocus(), and StopEditing().

◆ pEdit

VclPtr<Edit> SvInplaceEdit2::pEdit
private

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