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

#include <customweld.hxx>

Collaboration diagram for weld::CustomWeld:
[legend]

Public Member Functions

 CustomWeld (weld::Builder &rBuilder, const OUString &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_visible (bool bVisible)
 
void set_grid_left_attach (int nAttach)
 
int get_grid_left_attach () const
 
void set_help_id (const OUString &rHelpId)
 
void set_tooltip_text (const OUString &rTip)
 

Private Member Functions

 DECL_DLLPRIVATE_LINK (DoResize, const Size &rSize, void)
 
 DECL_DLLPRIVATE_LINK (DoPaint, weld::DrawingArea::draw_args, void)
 
 DECL_DLLPRIVATE_LINK (DoMouseButtonDown, const MouseEvent &, bool)
 
 DECL_DLLPRIVATE_LINK (DoMouseMove, const MouseEvent &, bool)
 
 DECL_DLLPRIVATE_LINK (DoMouseButtonUp, const MouseEvent &, bool)
 
 DECL_DLLPRIVATE_LINK (DoGetFocus, weld::Widget &, void)
 
 DECL_DLLPRIVATE_LINK (DoLoseFocus, weld::Widget &, void)
 
 DECL_DLLPRIVATE_LINK (DoKeyPress, const KeyEvent &, bool)
 
 DECL_DLLPRIVATE_LINK (DoFocusRect, weld::Widget &, tools::Rectangle)
 
 DECL_DLLPRIVATE_LINK (DoCommand, const CommandEvent &, bool)
 
 DECL_DLLPRIVATE_LINK (DoStyleUpdated, weld::Widget &, void)
 
 DECL_DLLPRIVATE_LINK (DoRequestHelp, tools::Rectangle &, OUString)
 
 DECL_DLLPRIVATE_LINK (DoGetSurrounding, OUString &, int)
 
 DECL_DLLPRIVATE_LINK (DoDeleteSurrounding, const Selection &, bool)
 

Private Attributes

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

Detailed Description

Definition at line 143 of file customweld.hxx.

Constructor & Destructor Documentation

◆ CustomWeld()

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

Member Function Documentation

◆ DECL_DLLPRIVATE_LINK() [1/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoCommand  ,
const CommandEvent ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoDeleteSurrounding  ,
const Selection ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoFocusRect  ,
weld::Widget ,
tools::Rectangle   
)
private

◆ DECL_DLLPRIVATE_LINK() [4/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoGetFocus  ,
weld::Widget ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [5/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoGetSurrounding  ,
OUString &  ,
int   
)
private

◆ DECL_DLLPRIVATE_LINK() [6/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoKeyPress  ,
const KeyEvent ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [7/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoLoseFocus  ,
weld::Widget ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [8/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoMouseButtonDown  ,
const MouseEvent ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [9/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoMouseButtonUp  ,
const MouseEvent ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [10/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoMouseMove  ,
const MouseEvent ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [11/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoPaint  ,
weld::DrawingArea::draw_args  ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [12/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoRequestHelp  ,
tools::Rectangle ,
OUString   
)
private

◆ DECL_DLLPRIVATE_LINK() [13/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoResize  ,
const Size rSize,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [14/14]

weld::CustomWeld::DECL_DLLPRIVATE_LINK ( DoStyleUpdated  ,
weld::Widget ,
void   
)
private

◆ get_grid_left_attach()

int weld::CustomWeld::get_grid_left_attach ( ) const
inline

Definition at line 185 of file customweld.hxx.

◆ get_sensitive()

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

Definition at line 181 of file customweld.hxx.

◆ get_visible()

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

Definition at line 182 of file customweld.hxx.

◆ hide()

void weld::CustomWeld::hide ( )
inline

Definition at line 177 of file customweld.hxx.

◆ queue_draw()

void weld::CustomWeld::queue_draw ( )
inline

Definition at line 167 of file customweld.hxx.

◆ queue_draw_area()

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

Definition at line 168 of file customweld.hxx.

References x, and y.

◆ set_grid_left_attach()

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

Definition at line 184 of file customweld.hxx.

◆ set_help_id()

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

Definition at line 186 of file customweld.hxx.

◆ set_margin_bottom()

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

Definition at line 179 of file customweld.hxx.

◆ set_margin_top()

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

Definition at line 178 of file customweld.hxx.

◆ set_sensitive()

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

Definition at line 180 of file customweld.hxx.

◆ set_size_request()

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

Definition at line 172 of file customweld.hxx.

◆ set_tooltip_text()

void weld::CustomWeld::set_tooltip_text ( const OUString &  rTip)
inline

Definition at line 187 of file customweld.hxx.

◆ set_visible()

void weld::CustomWeld::set_visible ( bool  bVisible)
inline

Definition at line 183 of file customweld.hxx.

References bVisible.

◆ show()

void weld::CustomWeld::show ( )
inline

Definition at line 176 of file customweld.hxx.

Member Data Documentation

◆ m_rWidgetController

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

Definition at line 146 of file customweld.hxx.

Referenced by CustomWeld().

◆ m_xDrawingArea

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

Definition at line 147 of file customweld.hxx.

Referenced by CustomWeld().


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