LibreOffice Module vcl (master) 1
|
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< Edit > | pEdit |
bool | bCanceled |
bool | bAlreadyInCallBack |
Definition at line 61 of file treelistbox.cxx.
SvInplaceEdit2::SvInplaceEdit2 | ( | vcl::Window * | pParent, |
const Point & | rPos, | ||
const Size & | rSize, | ||
const OUString & | rData, | ||
const Link< SvInplaceEdit2 &, void > & | rNotifyEditEnd, | ||
const Selection & | rSelection | ||
) |
Definition at line 129 of file treelistbox.cxx.
References aAccEscape, aAccReturn, VclPtr< reference_type >::Create(), vcl::Window::GetBackground(), Wallpaper::GetColor(), vcl::Window::GetFont(), vcl::Window::GrabFocus(), Application::InsertAccel(), Accelerator::InsertItem(), KEY_ESCAPE, KEY_RETURN, LINK, pEdit, Edit::SaveValue(), Accelerator::SetActivateHdl(), vcl::Window::SetBackground(), vcl::Font::SetFillColor(), vcl::Window::SetFont(), vcl::Window::SetPosPixel(), Edit::SetSelection(), vcl::Window::SetSizePixel(), Edit::SetText(), vcl::Font::SetTransparent(), vcl::Window::Show(), SVLBOX_ACC_ESCAPE, and SVLBOX_ACC_RETURN.
SvInplaceEdit2::~SvInplaceEdit2 | ( | ) |
Definition at line 170 of file treelistbox.cxx.
References aAccEscape, aAccReturn, bAlreadyInCallBack, VclPtr< reference_type >::disposeAndClear(), pEdit, and Application::RemoveAccel().
|
private |
Definition at line 250 of file treelistbox.cxx.
References aAccEscape, aAccReturn, aCallBackHdl, aIdle, bAlreadyInCallBack, Link< typename Arg, typename Ret >::Call(), vcl::Window::Hide(), pEdit, Application::RemoveAccel(), and Task::Stop().
Referenced by KeyInput(), and StopEditing().
|
private |
|
private |
|
private |
|
inline |
Definition at line 83 of file treelistbox.cxx.
References bCanceled.
Definition at line 88 of file treelistbox.cxx.
References pEdit.
OUString const & SvInplaceEdit2::GetSavedValue | ( | ) | const |
Definition at line 180 of file treelistbox.cxx.
References Edit::GetSavedValue(), and pEdit.
OUString SvInplaceEdit2::GetText | ( | ) | const |
Definition at line 263 of file treelistbox.cxx.
References Edit::GetText(), and pEdit.
void SvInplaceEdit2::Hide | ( | ) |
Definition at line 185 of file treelistbox.cxx.
References vcl::Window::Hide(), and pEdit.
bool SvInplaceEdit2::KeyInput | ( | const KeyEvent & | rKEvt | ) |
Definition at line 203 of file treelistbox.cxx.
References bCanceled, CallCallBackHdl_Impl(), vcl::KeyCode::GetCode(), KeyEvent::GetKeyCode(), KEY_ESCAPE, and KEY_RETURN.
void SvInplaceEdit2::LoseFocus | ( | ) |
Definition at line 232 of file treelistbox.cxx.
References aIdle, bAlreadyInCallBack, bCanceled, Application::GetFocusWindow(), vcl::Window::IsChild(), LINK, pEdit, REPAINT, Timer::SetInvokeHandler(), Task::SetPriority(), and Idle::Start().
void SvInplaceEdit2::StopEditing | ( | bool | bCancel | ) |
Definition at line 223 of file treelistbox.cxx.
References bAlreadyInCallBack, bCanceled, and CallCallBackHdl_Impl().
|
private |
Definition at line 65 of file treelistbox.cxx.
Referenced by CallCallBackHdl_Impl(), SvInplaceEdit2(), and ~SvInplaceEdit2().
|
private |
Definition at line 64 of file treelistbox.cxx.
Referenced by CallCallBackHdl_Impl(), SvInplaceEdit2(), and ~SvInplaceEdit2().
|
private |
Definition at line 63 of file treelistbox.cxx.
Referenced by CallCallBackHdl_Impl().
|
private |
Definition at line 66 of file treelistbox.cxx.
Referenced by CallCallBackHdl_Impl(), and LoseFocus().
|
private |
Definition at line 69 of file treelistbox.cxx.
Referenced by CallCallBackHdl_Impl(), LoseFocus(), StopEditing(), and ~SvInplaceEdit2().
|
private |
Definition at line 68 of file treelistbox.cxx.
Referenced by EditingCanceled(), KeyInput(), LoseFocus(), and StopEditing().
Definition at line 67 of file treelistbox.cxx.
Referenced by CallCallBackHdl_Impl(), GetEditWidget(), GetSavedValue(), GetText(), Hide(), LoseFocus(), SvInplaceEdit2(), and ~SvInplaceEdit2().