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

#include <weld.hxx>

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

Public Member Functions

virtual void set_sensitive (bool sensitive)=0
 
virtual bool get_sensitive () const =0
 
virtual void show ()=0
 
virtual void hide ()=0
 
virtual void set_visible (bool visible)
 
virtual bool get_visible () const =0
 
virtual bool is_visible () const =0
 
virtual void set_can_focus (bool bCanFocus)=0
 
virtual void grab_focus ()=0
 
virtual bool has_focus () const =0
 
virtual void set_has_default (bool has_default)=0
 
virtual bool get_has_default () const =0
 
virtual void set_size_request (int nWidth, int nHeight)=0
 
virtual Size get_size_request () const =0
 
virtual Size get_preferred_size () const =0
 
virtual float get_approximate_digit_width () const =0
 
virtual int get_text_height () const =0
 
virtual Size get_pixel_size (const OUString &rText) const =0
 
virtual OString get_buildable_name () const =0
 
virtual void set_help_id (const OString &rName)=0
 
virtual OString get_help_id () const =0
 
virtual void set_grid_left_attach (int nAttach)=0
 
virtual int get_grid_left_attach () const =0
 
virtual void set_grid_width (int nCols)=0
 
virtual void set_grid_top_attach (int nAttach)=0
 
virtual int get_grid_top_attach () const =0
 
virtual void set_hexpand (bool bExpand)=0
 
virtual bool get_hexpand () const =0
 
virtual void set_vexpand (bool bExpand)=0
 
virtual bool get_vexpand () const =0
 
virtual void set_secondary (bool bSecondary)=0
 
virtual void set_margin_top (int nMargin)=0
 
virtual void set_margin_bottom (int nMargin)=0
 
virtual bool get_extents_relative_to (Widget &rRelative, int &x, int &y, int &width, int &height)=0
 
virtual void set_accessible_name (const OUString &rName)=0
 
virtual OUString get_accessible_name () const =0
 
virtual OUString get_accessible_description () const =0
 
virtual void set_accessible_relation_labeled_by (weld::Widget *pLabel)=0
 
virtual void set_accessible_relation_label_for (weld::Widget *pLabeled)=0
 
virtual void add_extra_accessible_relation (const css::accessibility::AccessibleRelation &rRelation)=0
 
virtual void clear_extra_accessible_relations ()=0
 
virtual void set_tooltip_text (const OUString &rTip)=0
 
virtual OUString get_tooltip_text () const =0
 
virtual void connect_focus_in (const Link< Widget &, void > &rLink)
 
virtual void connect_focus_out (const Link< Widget &, void > &rLink)
 
virtual void connect_mnemonic_activate (const Link< Widget &, bool > &rLink)
 
virtual void connect_size_allocate (const Link< const Size &, void > &rLink)
 
virtual void connect_key_press (const Link< const KeyEvent &, bool > &rLink)
 
virtual void connect_key_release (const Link< const KeyEvent &, bool > &rLink)
 
virtual void connect_mouse_press (const Link< const MouseEvent &, bool > &rLink)
 
virtual void connect_mouse_move (const Link< const MouseEvent &, bool > &rLink)
 
virtual void connect_mouse_release (const Link< const MouseEvent &, bool > &rLink)
 
virtual void grab_add ()=0
 
virtual bool has_grab () const =0
 
virtual void grab_remove ()=0
 
virtual vcl::Font get_font ()=0
 
virtual bool get_direction () const =0
 
virtual void set_direction (bool bRTL)=0
 
virtual void freeze ()=0
 
virtual void thaw ()=0
 
virtual std::unique_ptr< Containerweld_parent () const =0
 
virtual void help_hierarchy_foreach (const std::function< bool(const OString &)> &func)=0
 
virtual OUString strip_mnemonic (const OUString &rLabel) const =0
 
virtual VclPtr< VirtualDevicecreate_virtual_device () const =0
 
virtual void set_stack_background ()=0
 
virtual void set_highlight_background ()=0
 
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > get_drop_target ()=0
 
virtual ~Widget ()
 

Protected Attributes

Link< Widget &, voidm_aFocusInHdl
 
Link< Widget &, voidm_aFocusOutHdl
 
Link< Widget &, bool > m_aMnemonicActivateHdl
 
Link< const Size &, voidm_aSizeAllocateHdl
 
Link< const KeyEvent &, bool > m_aKeyPressHdl
 
Link< const KeyEvent &, bool > m_aKeyReleaseHdl
 
Link< const MouseEvent &, bool > m_aMousePressHdl
 
Link< const MouseEvent &, bool > m_aMouseMotionHdl
 
Link< const MouseEvent &, bool > m_aMouseReleaseHdl
 

Detailed Description

Definition at line 77 of file weld.hxx.

Constructor & Destructor Documentation

virtual weld::Widget::~Widget ( )
inlinevirtual

Definition at line 245 of file weld.hxx.

Member Function Documentation

virtual void weld::Widget::add_extra_accessible_relation ( const css::accessibility::AccessibleRelation &  rRelation)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::clear_extra_accessible_relations ( )
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::connect_focus_in ( const Link< Widget &, void > &  rLink)
inlinevirtual

Definition at line 156 of file weld.hxx.

References Link< class, class >::IsSet().

Referenced by SalInstanceWidget::connect_focus_in().

virtual void weld::Widget::connect_focus_out ( const Link< Widget &, void > &  rLink)
inlinevirtual

Definition at line 162 of file weld.hxx.

References Link< class, class >::IsSet().

Referenced by SalInstanceWidget::connect_focus_out().

virtual void weld::Widget::connect_key_press ( const Link< const KeyEvent &, bool > &  rLink)
inlinevirtual
virtual void weld::Widget::connect_key_release ( const Link< const KeyEvent &, bool > &  rLink)
inlinevirtual
virtual void weld::Widget::connect_mnemonic_activate ( const Link< Widget &, bool > &  rLink)
inlinevirtual

Definition at line 171 of file weld.hxx.

References Link< class, class >::IsSet().

Referenced by SalInstanceWidget::connect_mnemonic_activate().

virtual void weld::Widget::connect_mouse_move ( const Link< const MouseEvent &, bool > &  rLink)
inlinevirtual

Reimplemented in SalInstanceWidget.

Definition at line 201 of file weld.hxx.

References Link< class, class >::IsSet().

Referenced by SalInstanceWidget::connect_mouse_move().

virtual void weld::Widget::connect_mouse_press ( const Link< const MouseEvent &, bool > &  rLink)
inlinevirtual

Reimplemented in SalInstanceWidget.

Definition at line 195 of file weld.hxx.

References Link< class, class >::IsSet().

Referenced by SalInstanceWidget::connect_mouse_press().

virtual void weld::Widget::connect_mouse_release ( const Link< const MouseEvent &, bool > &  rLink)
inlinevirtual

Reimplemented in SalInstanceWidget.

Definition at line 207 of file weld.hxx.

References Link< class, class >::IsSet().

Referenced by SalInstanceWidget::connect_mouse_release().

virtual void weld::Widget::connect_size_allocate ( const Link< const Size &, void > &  rLink)
inlinevirtual
virtual VclPtr<VirtualDevice> weld::Widget::create_virtual_device ( ) const
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::freeze ( )
pure virtual

Implemented in SalInstanceTreeView, and SalInstanceWidget.

virtual OUString weld::Widget::get_accessible_description ( ) const
pure virtual
virtual OUString weld::Widget::get_accessible_name ( ) const
pure virtual
virtual float weld::Widget::get_approximate_digit_width ( ) const
pure virtual

Implemented in SalInstanceWidget.

virtual OString weld::Widget::get_buildable_name ( ) const
pure virtual

Implemented in SalInstanceWidget.

virtual bool weld::Widget::get_direction ( ) const
pure virtual
virtual css::uno::Reference<css::datatransfer::dnd::XDropTarget> weld::Widget::get_drop_target ( )
pure virtual

Implemented in SalInstanceWidget.

virtual bool weld::Widget::get_extents_relative_to ( Widget rRelative,
int x,
int y,
int width,
int height 
)
pure virtual
virtual vcl::Font weld::Widget::get_font ( )
pure virtual

Implemented in SalInstanceWidget.

virtual int weld::Widget::get_grid_left_attach ( ) const
pure virtual

Implemented in SalInstanceWidget.

virtual int weld::Widget::get_grid_top_attach ( ) const
pure virtual

Implemented in SalInstanceWidget.

virtual bool weld::Widget::get_has_default ( ) const
pure virtual

Implemented in SalInstanceWidget.

virtual OString weld::Widget::get_help_id ( ) const
pure virtual

Implemented in SalInstanceWidget.

virtual bool weld::Widget::get_hexpand ( ) const
pure virtual

Implemented in SalInstanceWidget.

virtual Size weld::Widget::get_pixel_size ( const OUString &  rText) const
pure virtual

Implemented in SalInstanceWidget.

virtual Size weld::Widget::get_preferred_size ( ) const
pure virtual

Implemented in SalInstanceWidget.

virtual bool weld::Widget::get_sensitive ( ) const
pure virtual
virtual Size weld::Widget::get_size_request ( ) const
pure virtual

Implemented in SalInstanceWidget.

virtual int weld::Widget::get_text_height ( ) const
pure virtual
virtual OUString weld::Widget::get_tooltip_text ( ) const
pure virtual
virtual bool weld::Widget::get_vexpand ( ) const
pure virtual

Implemented in SalInstanceWidget.

virtual bool weld::Widget::get_visible ( ) const
pure virtual
virtual void weld::Widget::grab_add ( )
pure virtual
virtual void weld::Widget::grab_focus ( )
pure virtual
virtual void weld::Widget::grab_remove ( )
pure virtual
virtual bool weld::Widget::has_focus ( ) const
pure virtual
virtual bool weld::Widget::has_grab ( ) const
pure virtual
virtual void weld::Widget::help_hierarchy_foreach ( const std::function< bool(const OString &)> &  func)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::hide ( )
pure virtual
virtual bool weld::Widget::is_visible ( ) const
pure virtual
virtual void weld::Widget::set_accessible_name ( const OUString &  rName)
pure virtual
virtual void weld::Widget::set_accessible_relation_label_for ( weld::Widget pLabeled)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_accessible_relation_labeled_by ( weld::Widget pLabel)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_can_focus ( bool  bCanFocus)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_direction ( bool  bRTL)
pure virtual
virtual void weld::Widget::set_grid_left_attach ( int  nAttach)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_grid_top_attach ( int  nAttach)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_grid_width ( int  nCols)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_has_default ( bool  has_default)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_help_id ( const OString &  rName)
pure virtual
virtual void weld::Widget::set_hexpand ( bool  bExpand)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_highlight_background ( )
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_margin_bottom ( int  nMargin)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_margin_top ( int  nMargin)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_secondary ( bool  bSecondary)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_sensitive ( bool  sensitive)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_size_request ( int  nWidth,
int  nHeight 
)
pure virtual
virtual void weld::Widget::set_stack_background ( )
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_tooltip_text ( const OUString &  rTip)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_vexpand ( bool  bExpand)
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::set_visible ( bool  visible)
inlinevirtual

Definition at line 97 of file weld.hxx.

virtual void weld::Widget::show ( )
pure virtual
virtual OUString weld::Widget::strip_mnemonic ( const OUString &  rLabel) const
pure virtual

Implemented in SalInstanceWidget.

virtual void weld::Widget::thaw ( )
pure virtual

Implemented in SalInstanceTreeView, and SalInstanceWidget.

virtual std::unique_ptr<Container> weld::Widget::weld_parent ( ) const
pure virtual

Implemented in SalInstanceWidget.

Member Data Documentation

Link<Widget&, void> weld::Widget::m_aFocusInHdl
protected

Definition at line 80 of file weld.hxx.

Referenced by SalInstanceWidget::HandleEventListener().

Link<Widget&, void> weld::Widget::m_aFocusOutHdl
protected

Definition at line 81 of file weld.hxx.

Referenced by SalInstanceWidget::HandleEventListener().

Link<const KeyEvent&, bool> weld::Widget::m_aKeyPressHdl
protected

Definition at line 84 of file weld.hxx.

Referenced by SalInstanceWidget::HandleKeyEventListener().

Link<const KeyEvent&, bool> weld::Widget::m_aKeyReleaseHdl
protected

Definition at line 85 of file weld.hxx.

Referenced by SalInstanceWidget::HandleKeyEventListener().

Link<Widget&, bool> weld::Widget::m_aMnemonicActivateHdl
protected

Definition at line 82 of file weld.hxx.

Referenced by SalInstanceWidget::~SalInstanceWidget().

Link<const MouseEvent&, bool> weld::Widget::m_aMouseMotionHdl
protected

Definition at line 87 of file weld.hxx.

Referenced by SalInstanceWidget::HandleMouseEventListener().

Link<const MouseEvent&, bool> weld::Widget::m_aMousePressHdl
protected

Definition at line 86 of file weld.hxx.

Referenced by SalInstanceWidget::HandleMouseEventListener().

Link<const MouseEvent&, bool> weld::Widget::m_aMouseReleaseHdl
protected

Definition at line 88 of file weld.hxx.

Referenced by SalInstanceWidget::HandleMouseEventListener().

Link<const Size&, void> weld::Widget::m_aSizeAllocateHdl
protected

Definition at line 83 of file weld.hxx.

Referenced by SalInstanceWidget::HandleEventListener().


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