How to Create a Custom Widget?
Jan Holesovsky <kendy@collabora.com> kendy, #libreoffice-dev, irc.freenode.net
How to Create a Custom Widget? Jan Holesovsky - - PowerPoint PPT Presentation
How to Create a Custom Widget? Jan Holesovsky <kendy@collabora.com> kendy, #libreoffice-dev, irc.freenode.net What is a Custom Widget Creating Custom Widgets Don't do that in the fjrst place! :-) Always try to use what is already
Jan Holesovsky <kendy@collabora.com> kendy, #libreoffice-dev, irc.freenode.net
available via glade for the .ui creation
Center document previews
methods
etc.
provides also antialiasing; though a bit more complex to write
Creation of the Hatch Primitive (to add to a kind of display list, to render later). Creation of the Hairline Primitive (rectangle) Processor to render the “display list” later. The “display list”. The rendering itself.
MouseEvent& rMEvt) SAL_OVERRIDE;
MouseEvent& rMEvt) SAL_OVERRIDE;
rMEvt) SAL_OVERRIDE;
after the mouse action, use Invalidate()
avoid blinking / redrawing just everything
behavior of the arrows, T ab, Enter
extras/source/glade/libreoffjce-catalog.xml.in
with it