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

#include <customweld.hxx>

Collaboration diagram for weld::CustomWeld:
[legend]

Public Member Functions

 CustomWeld (weld::Builder &rBuilder, const OString &rDrawingId, CustomWidgetController &rWidgetController)
 
void queue_draw ()
 
void queue_draw_area (int x, int y, int width, int height)
 
void set_size_request (int nWidth, int nHeight)
 
void show ()
 
void hide ()
 
void set_margin_top (int nMargin)
 
void set_margin_bottom (int nMargin)
 
void set_sensitive (bool bSensitive)
 
bool get_sensitive () const
 
bool get_visible () const
 
void set_grid_left_attach (int nAttach)
 
int get_grid_left_attach () const
 
void set_help_id (const OString &rHelpId)
 

Private Member Functions

 DECL_LINK (DoResize, const Size &rSize, void)
 
 DECL_LINK (DoPaint, weld::DrawingArea::draw_args, void)
 
 DECL_LINK (DoMouseButtonDown, const MouseEvent &, bool)
 
 DECL_LINK (DoMouseMove, const MouseEvent &, bool)
 
 DECL_LINK (DoMouseButtonUp, const MouseEvent &, bool)
 
 DECL_LINK (DoGetFocus, weld::Widget &, void)
 
 DECL_LINK (DoLoseFocus, weld::Widget &, void)
 
 DECL_LINK (DoKeyPress, const KeyEvent &, bool)
 
 DECL_LINK (DoFocusRect, weld::Widget &, tools::Rectangle)
 
 DECL_LINK (DoPopupMenu, const CommandEvent &, bool)
 
 DECL_LINK (DoStyleUpdated, weld::Widget &, void)
 
 DECL_LINK (DoRequestHelp, tools::Rectangle &, OUString)
 

Private Attributes

weld::CustomWidgetControllerm_rWidgetController
 
std::unique_ptr< weld::DrawingAream_xDrawingArea
 

Detailed Description

Definition at line 91 of file customweld.hxx.

Constructor & Destructor Documentation

weld::CustomWeld::CustomWeld ( weld::Builder rBuilder,
const OString &  rDrawingId,
CustomWidgetController rWidgetController 
)

Member Function Documentation

weld::CustomWeld::DECL_LINK ( DoResize  ,
const Size rSize,
void   
)
private
weld::CustomWeld::DECL_LINK ( DoPaint  ,
weld::DrawingArea::draw_args  ,
void   
)
private
weld::CustomWeld::DECL_LINK ( DoMouseButtonDown  ,
const MouseEvent ,
bool   
)
private
weld::CustomWeld::DECL_LINK ( DoMouseMove  ,
const MouseEvent ,
bool   
)
private
weld::CustomWeld::DECL_LINK ( DoMouseButtonUp  ,
const MouseEvent ,
bool   
)
private
weld::CustomWeld::DECL_LINK ( DoGetFocus  ,
weld::Widget ,
void   
)
private
weld::CustomWeld::DECL_LINK ( DoLoseFocus  ,
weld::Widget ,
void   
)
private
weld::CustomWeld::DECL_LINK ( DoKeyPress  ,
const KeyEvent ,
bool   
)
private
weld::CustomWeld::DECL_LINK ( DoFocusRect  ,
weld::Widget ,
tools::Rectangle   
)
private
weld::CustomWeld::DECL_LINK ( DoPopupMenu  ,
const CommandEvent ,
bool   
)
private
weld::CustomWeld::DECL_LINK ( DoStyleUpdated  ,
weld::Widget ,
void   
)
private
weld::CustomWeld::DECL_LINK ( DoRequestHelp  ,
tools::Rectangle ,
OUString   
)
private
int weld::CustomWeld::get_grid_left_attach ( ) const
inline

Definition at line 130 of file customweld.hxx.

bool weld::CustomWeld::get_sensitive ( ) const
inline

Definition at line 127 of file customweld.hxx.

bool weld::CustomWeld::get_visible ( ) const
inline

Definition at line 128 of file customweld.hxx.

void weld::CustomWeld::hide ( )
inline

Definition at line 123 of file customweld.hxx.

void weld::CustomWeld::queue_draw ( )
inline

Definition at line 113 of file customweld.hxx.

void weld::CustomWeld::queue_draw_area ( int  x,
int  y,
int  width,
int  height 
)
inline

Definition at line 114 of file customweld.hxx.

void weld::CustomWeld::set_grid_left_attach ( int  nAttach)
inline

Definition at line 129 of file customweld.hxx.

void weld::CustomWeld::set_help_id ( const OString &  rHelpId)
inline

Definition at line 131 of file customweld.hxx.

void weld::CustomWeld::set_margin_bottom ( int  nMargin)
inline

Definition at line 125 of file customweld.hxx.

void weld::CustomWeld::set_margin_top ( int  nMargin)
inline

Definition at line 124 of file customweld.hxx.

void weld::CustomWeld::set_sensitive ( bool  bSensitive)
inline

Definition at line 126 of file customweld.hxx.

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

Definition at line 118 of file customweld.hxx.

void weld::CustomWeld::show ( )
inline

Definition at line 122 of file customweld.hxx.

Member Data Documentation

weld::CustomWidgetController& weld::CustomWeld::m_rWidgetController
private

Definition at line 94 of file customweld.hxx.

Referenced by CustomWeld().

std::unique_ptr<weld::DrawingArea> weld::CustomWeld::m_xDrawingArea
private

Definition at line 95 of file customweld.hxx.

Referenced by CustomWeld().


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