summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-11-06 21:51:46 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-11-07 09:53:43 +0100
commit5c85ef3df01daf7848753fe33f254aeb3d1dd8e6 (patch)
tree80511634578a9a624c01bf93d62981fda899ff1d /testtools
parent2d1de12ac8064dd3c73e4359b931fdccae3541fb (diff)
tdf#130857 qt weld: Add QtInstanceDrawingArea basics
Add a new QtInstanceDrawingArea class as the weld::DrawingArea implementation using native Qt widgets. Initially only add the "basic structure" (most of the actual functionality of drawing will be added separately): * Add the QtInstanceDrawingArea class with most methods currently still unimplemented and triggering an assert when they get called. * Add a `ScopedVclPtrInstance<VirtualDevice> m_xDevice` member and return that in `QtInstanceDrawingArea::get_ref_device`, as the gtk3 implementation (GtkInstanceDrawingArea) does. * Let QtBuilder::makeObject create a QLabel for a "GtkDrawingArea" object for now. That label will hold a pixmap (which should be sufficient for simple cases at least). * Let QtInstanceBuilder::weld_drawing_area return an instance of the new class. Change-Id: I5d509ccd9f5a7a826a166958af4a92ff01cc0225 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176171 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
Diffstat (limited to 'testtools')
0 files changed, 0 insertions, 0 deletions