LibreOffice Module vcl (master) 1
|
#include <commandevent.hxx>
Public Member Functions | |
CommandEvent () | |
CommandEvent (const Point &rMousePos, CommandEventId nCmd, bool bMEvt=false, const void *pCmdData=nullptr) | |
CommandEventId | GetCommand () const |
const Point & | GetMousePosPixel () const |
bool | IsMouseEvent () const |
void * | GetEventData () const |
const CommandExtTextInputData * | GetExtTextInputData () const |
const CommandWheelData * | GetWheelData () const |
const CommandScrollData * | GetAutoScrollData () const |
const CommandModKeyData * | GetModKeyData () const |
const CommandDialogData * | GetDialogData () const |
CommandMediaData * | GetMediaData () const |
const CommandSelectionChangeData * | GetSelectionChangeData () const |
const CommandGestureSwipeData * | GetGestureSwipeData () const |
const CommandGestureLongPressData * | GetLongPressData () const |
const CommandGesturePanData * | GetGesturePanData () const |
const CommandGestureZoomData * | GetGestureZoomData () const |
const CommandGestureRotateData * | GetGestureRotateData () const |
Private Attributes | |
Point | maPos |
void * | mpData |
CommandEventId | mnCommand |
bool | mbMouseEvent |
Definition at line 70 of file commandevent.hxx.
CommandEvent::CommandEvent | ( | ) |
Definition at line 102 of file commandevent.cxx.
References mbMouseEvent, mnCommand, mpData, and NONE.
CommandEvent::CommandEvent | ( | const Point & | rMousePos, |
CommandEventId | nCmd, | ||
bool | bMEvt = false , |
||
const void * | pCmdData = nullptr |
||
) |
Definition at line 109 of file commandevent.cxx.
References mbMouseEvent, mnCommand, and mpData.
const CommandScrollData * CommandEvent::GetAutoScrollData | ( | ) | const |
Definition at line 134 of file commandevent.cxx.
References AutoScroll, mnCommand, and mpData.
Referenced by SvxIconChoiceCtrl_Impl::HandleScrollCommand(), and vcl::Window::HandleScrollCommand().
|
inline |
Definition at line 83 of file commandevent.hxx.
References mnCommand.
Referenced by vcl::PrintDialog::PrintPreviewWindow::Command(), SelectionEngine::Command(), TextView::Command(), SvImpLBox::Command(), SvxIconChoiceCtrl_Impl::Command(), HeaderBar::Command(), VclContainer::Command(), TabControl::Command(), ToolBox::Command(), Edit::Command(), SvtIconChoiceCtrl::Command(), SvTreeListBox::Command(), TextWindow::Command(), Calendar::Command(), MenuFloatingWindow::Command(), VclScrolledWindow::EventNotify(), ComboBox::EventNotify(), FormattedField::EventNotify(), SpinField::EventNotify(), ImplListBox::EventNotify(), ImpVclMEdit::HandleCommand(), SvxIconChoiceCtrl_Impl::HandleScrollCommand(), vcl::Window::HandleScrollCommand(), ImplListBox::HandleWheelAsCursorTravel(), vcl::Window::ImplNotifyKeyMouseCommandEventListeners(), and ListBox::PreNotify().
const CommandDialogData * CommandEvent::GetDialogData | ( | ) | const |
Definition at line 150 of file commandevent.cxx.
References mnCommand, mpData, and ShowDialog.
|
inline |
Definition at line 86 of file commandevent.hxx.
Referenced by VclContainer::Command(), and vcl::Window::ImplNotifyKeyMouseCommandEventListeners().
const CommandExtTextInputData * CommandEvent::GetExtTextInputData | ( | ) | const |
Definition at line 118 of file commandevent.cxx.
References ExtTextInput, mnCommand, and mpData.
Referenced by TextView::Command(), and Edit::Command().
const CommandGesturePanData * CommandEvent::GetGesturePanData | ( | ) | const |
Definition at line 190 of file commandevent.cxx.
References GesturePan, mnCommand, and mpData.
Referenced by vcl::Window::HandleScrollCommand().
const CommandGestureRotateData * CommandEvent::GetGestureRotateData | ( | ) | const |
Definition at line 206 of file commandevent.cxx.
References GestureRotate, mnCommand, and mpData.
const CommandGestureSwipeData * CommandEvent::GetGestureSwipeData | ( | ) | const |
Definition at line 174 of file commandevent.cxx.
References GestureSwipe, mnCommand, and mpData.
const CommandGestureZoomData * CommandEvent::GetGestureZoomData | ( | ) | const |
Definition at line 198 of file commandevent.cxx.
References GestureZoom, mnCommand, and mpData.
const CommandGestureLongPressData * CommandEvent::GetLongPressData | ( | ) | const |
Definition at line 182 of file commandevent.cxx.
References GestureLongPress, mnCommand, and mpData.
CommandMediaData * CommandEvent::GetMediaData | ( | ) | const |
Definition at line 158 of file commandevent.cxx.
const CommandModKeyData * CommandEvent::GetModKeyData | ( | ) | const |
Definition at line 142 of file commandevent.cxx.
References mnCommand, ModKeyChange, and mpData.
|
inline |
Definition at line 84 of file commandevent.hxx.
Referenced by SelectionEngine::Command(), SvImpLBox::Command(), HeaderBar::Command(), VclContainer::Command(), TabControl::Command(), ToolBox::Command(), Edit::Command(), TextWindow::Command(), Calendar::Command(), vcl::Window::HandleScrollCommand(), and vcl::Window::ImplNotifyKeyMouseCommandEventListeners().
const CommandSelectionChangeData * CommandEvent::GetSelectionChangeData | ( | ) | const |
Definition at line 166 of file commandevent.cxx.
References mnCommand, mpData, and SelectionChange.
Referenced by Edit::Command().
const CommandWheelData * CommandEvent::GetWheelData | ( | ) | const |
Definition at line 126 of file commandevent.cxx.
References mnCommand, mpData, and Wheel.
Referenced by vcl::PrintDialog::PrintPreviewWindow::Command(), ToolBox::Command(), Calendar::Command(), MenuFloatingWindow::Command(), VclScrolledWindow::EventNotify(), FormattedField::EventNotify(), SpinField::EventNotify(), ImplListBox::EventNotify(), SvxIconChoiceCtrl_Impl::HandleScrollCommand(), vcl::Window::HandleScrollCommand(), and ImplListBox::HandleWheelAsCursorTravel().
|
inline |
Definition at line 85 of file commandevent.hxx.
Referenced by SelectionEngine::Command(), HeaderBar::Command(), VclContainer::Command(), TabControl::Command(), Edit::Command(), TextWindow::Command(), Calendar::Command(), and vcl::Window::ImplNotifyKeyMouseCommandEventListeners().
|
private |
Definition at line 73 of file commandevent.hxx.
|
private |
Definition at line 76 of file commandevent.hxx.
Referenced by CommandEvent().
|
private |
Definition at line 75 of file commandevent.hxx.
Referenced by CommandEvent(), GetAutoScrollData(), GetDialogData(), GetExtTextInputData(), GetGesturePanData(), GetGestureRotateData(), GetGestureSwipeData(), GetGestureZoomData(), GetLongPressData(), GetMediaData(), GetModKeyData(), GetSelectionChangeData(), and GetWheelData().
|
private |
Definition at line 74 of file commandevent.hxx.
Referenced by CommandEvent(), GetAutoScrollData(), GetDialogData(), GetExtTextInputData(), GetGesturePanData(), GetGestureRotateData(), GetGestureSwipeData(), GetGestureZoomData(), GetLongPressData(), GetMediaData(), GetModKeyData(), GetSelectionChangeData(), and GetWheelData().