10#ifndef INCLUDED_VCL_CUSTOMWELD_HXX
11#define INCLUDED_VCL_CUSTOMWELD_HXX
29 return css::uno::Reference<css::accessibility::XAccessible>();
33 virtual void Resize() { Invalidate(); }
64 virtual void Show() { m_pDrawingArea->
show(); }
65 virtual void Hide() { m_pDrawingArea->
hide(); }
109 css::uno::Reference<css::datatransfer::clipboard::XClipboard>
GetClipboard()
const
132 : m_pDrawingArea(nullptr)
170 m_xDrawingArea->queue_draw_area(
x,
y, width, height);
174 m_xDrawingArea->set_size_request(nWidth, nHeight);
176 void show() { m_xDrawingArea->show(); }
177 void hide() { m_xDrawingArea->hide(); }
180 void set_sensitive(
bool bSensitive) { m_xDrawingArea->set_sensitive(bSensitive); }
182 bool get_visible()
const {
return m_xDrawingArea->get_visible(); }
186 void set_help_id(
const OUString& rHelpId) { m_xDrawingArea->set_help_id(rHelpId); }
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
constexpr tools::Long Width() const
DECL_DLLPRIVATE_LINK(DoLoseFocus, weld::Widget &, void)
DECL_DLLPRIVATE_LINK(DoMouseButtonUp, const MouseEvent &, bool)
weld::CustomWidgetController & m_rWidgetController
DECL_DLLPRIVATE_LINK(DoGetSurrounding, OUString &, int)
DECL_DLLPRIVATE_LINK(DoRequestHelp, tools::Rectangle &, OUString)
DECL_DLLPRIVATE_LINK(DoResize, const Size &rSize, void)
void set_sensitive(bool bSensitive)
DECL_DLLPRIVATE_LINK(DoDeleteSurrounding, const Selection &, bool)
DECL_DLLPRIVATE_LINK(DoPaint, weld::DrawingArea::draw_args, void)
bool get_sensitive() const
DECL_DLLPRIVATE_LINK(DoMouseMove, const MouseEvent &, bool)
DECL_DLLPRIVATE_LINK(DoFocusRect, weld::Widget &, tools::Rectangle)
DECL_DLLPRIVATE_LINK(DoStyleUpdated, weld::Widget &, void)
void set_help_id(const OUString &rHelpId)
DECL_DLLPRIVATE_LINK(DoGetFocus, weld::Widget &, void)
DECL_DLLPRIVATE_LINK(DoMouseButtonDown, const MouseEvent &, bool)
void set_margin_bottom(int nMargin)
void set_tooltip_text(const OUString &rTip)
int get_grid_left_attach() const
DECL_DLLPRIVATE_LINK(DoCommand, const CommandEvent &, bool)
void set_size_request(int nWidth, int nHeight)
void set_grid_left_attach(int nAttach)
void set_margin_top(int nMargin)
DECL_DLLPRIVATE_LINK(DoKeyPress, const KeyEvent &, bool)
void set_visible(bool bVisible)
std::unique_ptr< weld::DrawingArea > m_xDrawingArea
void queue_draw_area(int x, int y, int width, int height)
virtual void im_context_set_cursor_location(const tools::Rectangle &rCursorRect, int nExtTextInputWidth)=0
virtual Point get_pointer_position() const =0
std::pair< vcl::RenderContext &, const tools::Rectangle & > draw_args
virtual void queue_draw_area(int x, int y, int width, int height)=0
virtual void set_cursor(PointerStyle ePointerStyle)=0
virtual void enable_drag_source(rtl::Reference< TransferDataContainer > &rTransferable, sal_uInt8 eDNDConstants)=0
void connect_drag_begin(const Link< DrawingArea &, bool > &rLink)
virtual void set_input_context(const InputContext &rInputContext)=0
virtual void queue_draw()=0
std::function< std::unique_ptr< UIObject >(vcl::Window *)> FactoryFunction
#define LINK(Instance, Class, Member)
std::unique_ptr< sal_Int32[]> pData