LibreOffice Module vcl (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
weld::CustomWidgetController Class Referenceabstract

#include <customweld.hxx>

Inheritance diagram for weld::CustomWidgetController:
[legend]
Collaboration diagram for weld::CustomWidgetController:
[legend]

Public Member Functions

virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)=0
 
virtual void Resize ()
 
virtual bool MouseButtonDown (const MouseEvent &)
 
virtual bool MouseMove (const MouseEvent &)
 
virtual bool MouseButtonUp (const MouseEvent &)
 
virtual void GetFocus ()
 
virtual void LoseFocus ()
 
virtual void StyleUpdated ()
 
virtual bool Command (const CommandEvent &)
 
virtual bool KeyInput (const KeyEvent &)
 
virtual tools::Rectangle GetFocusRect ()
 
virtual FactoryFunction GetUITestFactory () const
 
virtual OUString RequestHelp (tools::Rectangle &)
 
virtual OUString GetHelpText () const
 
Size const & GetOutputSizePixel () const
 
void SetOutputSizePixel (const Size &rSize)
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea)
 
weld::DrawingAreaGetDrawingArea () const
 
void Invalidate ()
 
void Invalidate (const tools::Rectangle &rRect)
 
virtual void Show ()
 
virtual void Hide ()
 
void SetCursor (void *pData)
 
void GrabFocus ()
 
bool HasFocus () const
 
bool HasChildFocus () const
 
bool IsVisible () const
 
bool IsReallyVisible () const
 
bool IsEnabled () const
 
void Enable () const
 
void Disable () const
 
bool IsActive () const
 
int GetTextHeight () const
 
int GetTextWidth (const OUString &rText) const
 
OUString GetAccessibleName () const
 
OUString GetAccessibleDescription () const
 
void CaptureMouse ()
 
bool IsMouseCaptured () const
 
Point GetPointerPosPixel () const
 
void EnableRTL (bool bEnable)
 
bool IsRTLEnabled () const
 
void ReleaseMouse ()
 
void SetPointer (PointerStyle ePointerStyle)
 
void SetHelpId (const OUString &rHelpId)
 
void SetAccessibleName (const OUString &rName)
 
void SetInputContext (const InputContext &rInputContext)
 
void SetCursorRect (const tools::Rectangle &rCursorRect, int nExtTextInputWidth)
 
virtual int GetSurroundingText (OUString &)
 
virtual bool DeleteSurroundingText (const Selection &)
 
css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget ()
 
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard () const
 
void SetDragDataTransferable (rtl::Reference< TransferDataContainer > &rTransferable, sal_uInt8 eDNDConstants)
 
virtual bool StartDrag ()
 
void set_size_request (int nWidth, int nHeight)
 
void queue_resize ()
 
 CustomWidgetController ()
 
virtual ~CustomWidgetController ()
 
 CustomWidgetController (CustomWidgetController const &)=default
 
 CustomWidgetController (CustomWidgetController &&)=default
 
CustomWidgetControlleroperator= (CustomWidgetController const &)=default
 
CustomWidgetControlleroperator= (CustomWidgetController &&)=default
 

Static Public Member Functions

static bool IsUpdateMode ()
 

Private Member Functions

 DECL_LINK (DragBeginHdl, weld::DrawingArea &, bool)
 

Private Attributes

Size m_aSize
 
weld::DrawingAream_pDrawingArea
 

Detailed Description

Definition at line 19 of file customweld.hxx.

Constructor & Destructor Documentation

◆ CustomWidgetController() [1/3]

weld::CustomWidgetController::CustomWidgetController ( )
inline

Definition at line 131 of file customweld.hxx.

◆ ~CustomWidgetController()

weld::CustomWidgetController::~CustomWidgetController ( )
virtual

Definition at line 14 of file customweld.cxx.

◆ CustomWidgetController() [2/3]

weld::CustomWidgetController::CustomWidgetController ( CustomWidgetController const &  )
default

◆ CustomWidgetController() [3/3]

weld::CustomWidgetController::CustomWidgetController ( CustomWidgetController &&  )
default

Member Function Documentation

◆ CaptureMouse()

void weld::CustomWidgetController::CaptureMouse ( )
inline

Definition at line 86 of file customweld.hxx.

References weld::Widget::grab_add().

◆ Command()

virtual bool weld::CustomWidgetController::Command ( const CommandEvent )
inlinevirtual

Reimplemented in vcl::PrintDialog::PrintPreviewWindow.

Definition at line 40 of file customweld.hxx.

◆ CreateAccessible()

virtual css::uno::Reference< css::accessibility::XAccessible > weld::CustomWidgetController::CreateAccessible ( )
inlinevirtual

Definition at line 27 of file customweld.hxx.

◆ DECL_LINK()

weld::CustomWidgetController::DECL_LINK ( DragBeginHdl  ,
weld::DrawingArea ,
bool   
)
private

◆ DeleteSurroundingText()

virtual bool weld::CustomWidgetController::DeleteSurroundingText ( const Selection )
inlinevirtual

Definition at line 104 of file customweld.hxx.

◆ Disable()

void weld::CustomWidgetController::Disable ( ) const
inline

Definition at line 74 of file customweld.hxx.

References weld::Widget::set_sensitive().

◆ Enable()

void weld::CustomWidgetController::Enable ( ) const
inline

Definition at line 73 of file customweld.hxx.

References weld::Widget::set_sensitive().

◆ EnableRTL()

void weld::CustomWidgetController::EnableRTL ( bool  bEnable)
inline

Definition at line 89 of file customweld.hxx.

References weld::Widget::set_direction().

◆ GetAccessibleDescription()

OUString weld::CustomWidgetController::GetAccessibleDescription ( ) const
inline

Definition at line 82 of file customweld.hxx.

References weld::Widget::get_accessible_description().

◆ GetAccessibleName()

OUString weld::CustomWidgetController::GetAccessibleName ( ) const
inline

Definition at line 81 of file customweld.hxx.

References weld::Widget::get_accessible_name().

◆ GetClipboard()

css::uno::Reference< css::datatransfer::clipboard::XClipboard > weld::CustomWidgetController::GetClipboard ( ) const
inline

Definition at line 109 of file customweld.hxx.

References weld::Widget::get_clipboard().

◆ GetDrawingArea()

weld::DrawingArea * weld::CustomWidgetController::GetDrawingArea ( ) const
inline

Definition at line 49 of file customweld.hxx.

◆ GetDropTarget()

css::uno::Reference< css::datatransfer::dnd::XDropTarget > weld::CustomWidgetController::GetDropTarget ( )
inline

Definition at line 105 of file customweld.hxx.

References weld::Widget::get_drop_target().

◆ GetFocus()

virtual void weld::CustomWidgetController::GetFocus ( )
inlinevirtual

Definition at line 37 of file customweld.hxx.

◆ GetFocusRect()

virtual tools::Rectangle weld::CustomWidgetController::GetFocusRect ( )
inlinevirtual

Definition at line 42 of file customweld.hxx.

◆ GetHelpText()

virtual OUString weld::CustomWidgetController::GetHelpText ( ) const
inlinevirtual

Definition at line 45 of file customweld.hxx.

References weld::Widget::get_tooltip_text().

◆ GetOutputSizePixel()

Size const & weld::CustomWidgetController::GetOutputSizePixel ( ) const
inline

Definition at line 46 of file customweld.hxx.

References m_aSize.

◆ GetPointerPosPixel()

Point weld::CustomWidgetController::GetPointerPosPixel ( ) const
inline

Definition at line 88 of file customweld.hxx.

References weld::DrawingArea::get_pointer_position().

◆ GetSurroundingText()

virtual int weld::CustomWidgetController::GetSurroundingText ( OUString &  )
inlinevirtual

Definition at line 103 of file customweld.hxx.

◆ GetTextHeight()

int weld::CustomWidgetController::GetTextHeight ( ) const
inline

Definition at line 76 of file customweld.hxx.

References weld::Widget::get_text_height().

◆ GetTextWidth()

int weld::CustomWidgetController::GetTextWidth ( const OUString &  rText) const
inline

Definition at line 77 of file customweld.hxx.

References weld::Widget::get_pixel_size(), and Size::Width().

◆ GetUITestFactory()

virtual FactoryFunction weld::CustomWidgetController::GetUITestFactory ( ) const
inlinevirtual

Definition at line 43 of file customweld.hxx.

◆ GrabFocus()

void weld::CustomWidgetController::GrabFocus ( )
inline

Definition at line 67 of file customweld.hxx.

References weld::Widget::grab_focus().

◆ HasChildFocus()

bool weld::CustomWidgetController::HasChildFocus ( ) const
inline

Definition at line 69 of file customweld.hxx.

References weld::Widget::has_child_focus().

◆ HasFocus()

bool weld::CustomWidgetController::HasFocus ( ) const
inline

Definition at line 68 of file customweld.hxx.

References weld::Widget::has_focus().

◆ Hide()

virtual void weld::CustomWidgetController::Hide ( )
inlinevirtual

Definition at line 65 of file customweld.hxx.

References weld::Widget::hide().

◆ Invalidate() [1/2]

void weld::CustomWidgetController::Invalidate ( )
inline

◆ Invalidate() [2/2]

void weld::CustomWidgetController::Invalidate ( const tools::Rectangle rRect)
inline

◆ IsActive()

bool weld::CustomWidgetController::IsActive ( ) const
inline

Definition at line 75 of file customweld.hxx.

References weld::Widget::is_active().

◆ IsEnabled()

bool weld::CustomWidgetController::IsEnabled ( ) const
inline

Definition at line 72 of file customweld.hxx.

References weld::Widget::get_sensitive().

◆ IsMouseCaptured()

bool weld::CustomWidgetController::IsMouseCaptured ( ) const
inline

Definition at line 87 of file customweld.hxx.

References weld::Widget::has_grab().

◆ IsReallyVisible()

bool weld::CustomWidgetController::IsReallyVisible ( ) const
inline

Definition at line 71 of file customweld.hxx.

References weld::Widget::is_visible().

◆ IsRTLEnabled()

bool weld::CustomWidgetController::IsRTLEnabled ( ) const
inline

Definition at line 90 of file customweld.hxx.

References weld::Widget::get_direction().

◆ IsUpdateMode()

static bool weld::CustomWidgetController::IsUpdateMode ( )
inlinestatic

Definition at line 56 of file customweld.hxx.

◆ IsVisible()

bool weld::CustomWidgetController::IsVisible ( ) const
inline

Definition at line 70 of file customweld.hxx.

References weld::Widget::get_visible().

◆ KeyInput()

virtual bool weld::CustomWidgetController::KeyInput ( const KeyEvent )
inlinevirtual

Definition at line 41 of file customweld.hxx.

◆ LoseFocus()

virtual void weld::CustomWidgetController::LoseFocus ( )
inlinevirtual

Definition at line 38 of file customweld.hxx.

◆ MouseButtonDown()

virtual bool weld::CustomWidgetController::MouseButtonDown ( const MouseEvent )
inlinevirtual

Definition at line 34 of file customweld.hxx.

◆ MouseButtonUp()

virtual bool weld::CustomWidgetController::MouseButtonUp ( const MouseEvent )
inlinevirtual

Definition at line 36 of file customweld.hxx.

◆ MouseMove()

virtual bool weld::CustomWidgetController::MouseMove ( const MouseEvent )
inlinevirtual

Definition at line 35 of file customweld.hxx.

◆ operator=() [1/2]

CustomWidgetController & weld::CustomWidgetController::operator= ( CustomWidgetController &&  )
default

◆ operator=() [2/2]

CustomWidgetController & weld::CustomWidgetController::operator= ( CustomWidgetController const &  )
default

◆ Paint()

virtual void weld::CustomWidgetController::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
pure virtual

◆ queue_resize()

void weld::CustomWidgetController::queue_resize ( )
inline

Definition at line 125 of file customweld.hxx.

References weld::Widget::queue_resize().

◆ ReleaseMouse()

void weld::CustomWidgetController::ReleaseMouse ( )
inline

Definition at line 91 of file customweld.hxx.

References weld::Widget::grab_remove().

◆ RequestHelp()

virtual OUString weld::CustomWidgetController::RequestHelp ( tools::Rectangle )
inlinevirtual

Definition at line 44 of file customweld.hxx.

◆ Resize()

virtual void weld::CustomWidgetController::Resize ( )
inlinevirtual

Reimplemented in vcl::PrintDialog::PrintPreviewWindow.

Definition at line 33 of file customweld.hxx.

◆ set_size_request()

void weld::CustomWidgetController::set_size_request ( int  nWidth,
int  nHeight 
)
inline

Definition at line 121 of file customweld.hxx.

References weld::Widget::set_size_request().

◆ SetAccessibleName()

void weld::CustomWidgetController::SetAccessibleName ( const OUString &  rName)
inline

Definition at line 94 of file customweld.hxx.

References weld::Widget::set_accessible_name().

◆ SetCursor()

void weld::CustomWidgetController::SetCursor ( void *  pData)
inline

Definition at line 66 of file customweld.hxx.

References pData, and weld::Widget::set_cursor_data().

◆ SetCursorRect()

void weld::CustomWidgetController::SetCursorRect ( const tools::Rectangle rCursorRect,
int  nExtTextInputWidth 
)
inline

◆ SetDragDataTransferable()

void weld::CustomWidgetController::SetDragDataTransferable ( rtl::Reference< TransferDataContainer > &  rTransferable,
sal_uInt8  eDNDConstants 
)
inline

◆ SetDrawingArea()

virtual void weld::CustomWidgetController::SetDrawingArea ( weld::DrawingArea pDrawingArea)
inlinevirtual

Reimplemented in vcl::PrintDialog::ShowNupOrderWindow.

Definition at line 48 of file customweld.hxx.

Referenced by weld::CustomWeld::CustomWeld().

◆ SetHelpId()

void weld::CustomWidgetController::SetHelpId ( const OUString &  rHelpId)
inline

Definition at line 93 of file customweld.hxx.

References weld::Widget::set_help_id().

◆ SetInputContext()

void weld::CustomWidgetController::SetInputContext ( const InputContext rInputContext)
inline

Definition at line 95 of file customweld.hxx.

References weld::DrawingArea::set_input_context().

◆ SetOutputSizePixel()

void weld::CustomWidgetController::SetOutputSizePixel ( const Size rSize)
inline

Definition at line 47 of file customweld.hxx.

References m_aSize.

◆ SetPointer()

void weld::CustomWidgetController::SetPointer ( PointerStyle  ePointerStyle)
inline

Definition at line 92 of file customweld.hxx.

References weld::DrawingArea::set_cursor().

◆ Show()

virtual void weld::CustomWidgetController::Show ( )
inlinevirtual

Definition at line 64 of file customweld.hxx.

References weld::Widget::show().

◆ StartDrag()

virtual bool weld::CustomWidgetController::StartDrag ( )
inlinevirtual

Definition at line 120 of file customweld.hxx.

◆ StyleUpdated()

virtual void weld::CustomWidgetController::StyleUpdated ( )
inlinevirtual

Definition at line 39 of file customweld.hxx.

Member Data Documentation

◆ m_aSize

Size weld::CustomWidgetController::m_aSize
private

Definition at line 22 of file customweld.hxx.

◆ m_pDrawingArea

weld::DrawingArea* weld::CustomWidgetController::m_pDrawingArea
private

Definition at line 23 of file customweld.hxx.


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