Age | Commit message (Collapse) | Author | Files | Lines |
|
...even if that can cause reformatting of already formatted code. The problem I
came across is that without this something like
> namespace {
>
> void f1();
>
> void f2();
>
> }
(which is quite a common style in the current code base) would be changed to
> namespace
> {
>
> void f1();
>
> void f2();
> }
instead of
> namespace
> {
> void f1();
>
> void f2();
> }
and I found no other clang-format style option that would result in the
presence or absence of an empty line be identical at the start and end of the
namespace block.
vmiklos asked to reformat the existing new (i.e., non-blacklisted) files at the
same time, so this commit includes that. Some of those new files had not been
formatted at all, so this commit includes their full reformatting changes.
Change-Id: I54daf0c11098d07d02c802104cf7f56372e61f7c
Reviewed-on: https://gerrit.libreoffice.org/44450
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
No idea, if we can / should map those vendor specific keys, like
Gtk+ does.
This also prefixes the non-virtual functions with "handle".
Change-Id: Id8c42651e07d33728ff6deced06a82de29aa3fad
|
|
Something like gtk_widget_set_redraw_on_allocate. On resize
of dialogs, we still get artefacts, but at least you see
something without forcing an event.
And since there isn't any Qt5 theming yet, we let VCL paint the
menus with a border.
Change-Id: Ia2ff6b199ee25e481e3fb29a921b0d3d490f1535
|
|
Change-Id: I1d6d4a6ce285e46b3910f5e48b6beb1685460f74
Reviewed-on: https://gerrit.libreoffice.org/44376
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Since we implement SalGraphics handling like the gtk3 backend, we
need damage tracking to queue updates.
Since there is no native damage tracking in Qt5, we have to log
the damage in our subclassed QPainter, which will queue an update
on destruction.
Change-Id: Ife17770750a5be9959c2fc2633b422908d196869
|
|
Change-Id: Ide2ef42110798ed061f7e32e49e38b6428c22c01
|
|
Change-Id: I53807bff3db9c9e4300f03e56857381cad7c9431
|
|
Change-Id: I85ce73e0e79927fa9233230bc4a9134db4c513dc
|
|
Change-Id: Ie8684cd4be56fb6d88d9643a6326307590115a80
|
|
Scrollwheel handling seems to work with mouse, but not correct
when using a touchpad - at least for me.
Change-Id: I4f1b32205516912e31f9c52605ba2bf4ec6059a8
|
|
Change-Id: I36631c332ddffbca73768cdc4a596213e0b026ef
|
|
QImage stores the scanlines from top => bottom.
Change-Id: I0a176066ab631179b8460b61a6c2b07ad2179d31
|
|
Change-Id: Ie47b8def36d67255b61eab04bc7e3818bb1d8ea8
|
|
CommonSalLayout doesn't rally have an interface. It's cluttered
with #ifdefs. Currently we have to move the Qt5Font into the
VCL library. Someone should refactor this...
Doen't render any text yet, but reports some sizes.
Eventually that would cut down the public interface again.
Change-Id: I12f32affb05b37e070c6cbc80db01779f84590b6
|
|
Instead of QImage, this uses cairo_surface_t internally and just
blits the composed image in the Qt5Widgets paint function.
To enable this rendering path set SAL_VCL_QT5_USE_CAIRO.
Change-Id: Ieddda9bad2596ce46d7d07d4d7060e40d44997db
|
|
Move out of unx, as this will eventually compile on other
OS platforms. At least currently it doesn't contain platform
dependant code.
Change-Id: Iea0bebf574201881ea158381fe7ba8af2a9a6488
|