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

#include <customweld.hxx>

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 ContextMenu (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
 
int GetTextHeight () const
 
OUString GetAccessibleName () const
 
OUString GetAccessibleDescription () const
 
void CaptureMouse ()
 
bool IsMouseCaptured () 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 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 Attributes

Size m_aSize
 
weld::DrawingAream_pDrawingArea
 

Detailed Description

Definition at line 17 of file customweld.hxx.

Constructor & Destructor Documentation

weld::CustomWidgetController::CustomWidgetController ( )
inline

Definition at line 79 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 66 of file customweld.hxx.

References weld::Widget::grab_add().

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

Definition at line 36 of file customweld.hxx.

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

Definition at line 24 of file customweld.hxx.

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

Definition at line 68 of file customweld.hxx.

References weld::Widget::set_direction().

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

Definition at line 62 of file customweld.hxx.

References weld::Widget::get_accessible_description().

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

Definition at line 61 of file customweld.hxx.

References weld::Widget::get_accessible_name().

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

Definition at line 45 of file customweld.hxx.

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

Definition at line 33 of file customweld.hxx.

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

Definition at line 38 of file customweld.hxx.

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

Definition at line 41 of file customweld.hxx.

References weld::Widget::get_tooltip_text().

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

Definition at line 42 of file customweld.hxx.

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

Definition at line 60 of file customweld.hxx.

References weld::Widget::get_text_height().

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

Definition at line 39 of file customweld.hxx.

void weld::CustomWidgetController::GrabFocus ( )
inline

Definition at line 55 of file customweld.hxx.

References weld::Widget::grab_focus().

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

Definition at line 56 of file customweld.hxx.

References weld::Widget::has_focus().

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

Definition at line 54 of file customweld.hxx.

References weld::Widget::hide().

void weld::CustomWidgetController::Invalidate ( )
inline

Definition at line 46 of file customweld.hxx.

References weld::DrawingArea::queue_draw().

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

Definition at line 59 of file customweld.hxx.

References weld::Widget::get_sensitive().

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

Definition at line 67 of file customweld.hxx.

References weld::Widget::has_grab().

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

Definition at line 58 of file customweld.hxx.

References weld::Widget::is_visible().

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

Definition at line 69 of file customweld.hxx.

References weld::Widget::get_direction().

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

Definition at line 47 of file customweld.hxx.

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

Definition at line 57 of file customweld.hxx.

References weld::Widget::get_visible().

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

Definition at line 37 of file customweld.hxx.

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

Definition at line 34 of file customweld.hxx.

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

Definition at line 30 of file customweld.hxx.

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

Definition at line 32 of file customweld.hxx.

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

Definition at line 31 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 78 of file customweld.hxx.

References weld::DrawingArea::queue_resize().

void weld::CustomWidgetController::ReleaseMouse ( )
inline

Definition at line 70 of file customweld.hxx.

References weld::Widget::grab_remove().

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

Definition at line 40 of file customweld.hxx.

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

Definition at line 29 of file customweld.hxx.

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

Definition at line 74 of file customweld.hxx.

References weld::Widget::set_size_request().

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

Definition at line 73 of file customweld.hxx.

References weld::Widget::set_accessible_name().

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

Definition at line 44 of file customweld.hxx.

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

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

Definition at line 72 of file customweld.hxx.

References weld::Widget::set_help_id().

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

Definition at line 43 of file customweld.hxx.

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

Definition at line 71 of file customweld.hxx.

References weld::DrawingArea::set_cursor().

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

Definition at line 53 of file customweld.hxx.

References weld::Widget::show().

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

Definition at line 35 of file customweld.hxx.

Member Data Documentation

Size weld::CustomWidgetController::m_aSize
private

Definition at line 20 of file customweld.hxx.

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

Definition at line 21 of file customweld.hxx.


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