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 GrabFocus ()
 
bool HasFocus () 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 OString &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 SetDragDataTransferrable (rtl::Reference< TransferDataContainer > &rTransferrable, 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

weld::CustomWidgetController::CustomWidgetController ( )
inline

Definition at line 129 of file customweld.hxx.

weld::CustomWidgetController::~CustomWidgetController ( )
virtual

Definition at line 14 of file customweld.cxx.

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

Member Function Documentation

void weld::CustomWidgetController::CaptureMouse ( )
inline

Definition at line 84 of file customweld.hxx.

References weld::Widget::grab_add().

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

Reimplemented in vcl::PrintDialog::PrintPreviewWindow.

Definition at line 40 of file customweld.hxx.

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

Definition at line 27 of file customweld.hxx.

weld::CustomWidgetController::DECL_LINK ( DragBeginHdl  ,
weld::DrawingArea ,
bool   
)
private
virtual bool weld::CustomWidgetController::DeleteSurroundingText ( const Selection )
inlinevirtual

Definition at line 102 of file customweld.hxx.

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

Definition at line 72 of file customweld.hxx.

References weld::Widget::set_sensitive().

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

Definition at line 71 of file customweld.hxx.

References weld::Widget::set_sensitive().

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

Definition at line 87 of file customweld.hxx.

References weld::Widget::set_direction().

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

Definition at line 80 of file customweld.hxx.

References weld::Widget::get_accessible_description().

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

Definition at line 79 of file customweld.hxx.

References weld::Widget::get_accessible_name().

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

Definition at line 107 of file customweld.hxx.

References weld::Widget::get_clipboard().

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

Definition at line 49 of file customweld.hxx.

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

Definition at line 103 of file customweld.hxx.

References weld::Widget::get_drop_target().

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

Definition at line 37 of file customweld.hxx.

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

Definition at line 42 of file customweld.hxx.

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

Definition at line 45 of file customweld.hxx.

References weld::Widget::get_tooltip_text().

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

Definition at line 46 of file customweld.hxx.

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

Definition at line 86 of file customweld.hxx.

References weld::DrawingArea::get_pointer_position(), and Point.

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

Definition at line 101 of file customweld.hxx.

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

Definition at line 74 of file customweld.hxx.

References weld::Widget::get_text_height().

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

Definition at line 75 of file customweld.hxx.

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

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

Definition at line 43 of file customweld.hxx.

void weld::CustomWidgetController::GrabFocus ( )
inline

Definition at line 66 of file customweld.hxx.

References weld::Widget::grab_focus().

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

Definition at line 67 of file customweld.hxx.

References weld::Widget::has_focus().

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

Definition at line 65 of file customweld.hxx.

References weld::Widget::hide().

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

Definition at line 73 of file customweld.hxx.

References weld::Widget::is_active().

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

Definition at line 70 of file customweld.hxx.

References weld::Widget::get_sensitive().

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

Definition at line 85 of file customweld.hxx.

References weld::Widget::has_grab().

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

Definition at line 69 of file customweld.hxx.

References weld::Widget::is_visible().

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

Definition at line 88 of file customweld.hxx.

References weld::Widget::get_direction().

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

Definition at line 56 of file customweld.hxx.

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

Definition at line 68 of file customweld.hxx.

References weld::Widget::get_visible().

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

Definition at line 41 of file customweld.hxx.

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

Definition at line 38 of file customweld.hxx.

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

Definition at line 34 of file customweld.hxx.

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

Definition at line 36 of file customweld.hxx.

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

Definition at line 35 of file customweld.hxx.

CustomWidgetController& weld::CustomWidgetController::operator= ( CustomWidgetController const &  )
default
CustomWidgetController& weld::CustomWidgetController::operator= ( CustomWidgetController &&  )
default
virtual void weld::CustomWidgetController::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
pure virtual
void weld::CustomWidgetController::queue_resize ( )
inline

Definition at line 123 of file customweld.hxx.

References weld::Widget::queue_resize().

void weld::CustomWidgetController::ReleaseMouse ( )
inline

Definition at line 89 of file customweld.hxx.

References weld::Widget::grab_remove().

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

Definition at line 44 of file customweld.hxx.

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

Reimplemented in vcl::PrintDialog::PrintPreviewWindow.

Definition at line 33 of file customweld.hxx.

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

Definition at line 119 of file customweld.hxx.

References weld::Widget::set_size_request().

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

Definition at line 92 of file customweld.hxx.

References weld::Widget::set_accessible_name().

void weld::CustomWidgetController::SetCursorRect ( const tools::Rectangle rCursorRect,
int  nExtTextInputWidth 
)
inline
void weld::CustomWidgetController::SetDragDataTransferrable ( rtl::Reference< TransferDataContainer > &  rTransferrable,
sal_uInt8  eDNDConstants 
)
inline
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().

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

Definition at line 91 of file customweld.hxx.

References weld::Widget::set_help_id().

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

Definition at line 93 of file customweld.hxx.

References weld::DrawingArea::set_input_context().

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

Definition at line 47 of file customweld.hxx.

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

Definition at line 90 of file customweld.hxx.

References weld::DrawingArea::set_cursor().

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

Definition at line 64 of file customweld.hxx.

References weld::Widget::show().

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

Definition at line 118 of file customweld.hxx.

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

Definition at line 39 of file customweld.hxx.

Member Data Documentation

Size weld::CustomWidgetController::m_aSize
private

Definition at line 22 of file customweld.hxx.

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: