summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2018-06-01Remove IMAGE_BASED_PAINTING dead codeKatarina Behrens
Change-Id: I2d30c61c2a8cbf69e04dd24098c0fffb7dac442d
2018-06-01Render tooltips nativelyKatarina Behrens
with this, all widgets that used to be rendered natively with kde4 are rendered natively also in kde5 Change-Id: If814b121e928a9d743c74836f000b3230b946caf
2018-06-01Render scrollbars nativelyKatarina Behrens
Change-Id: I7f7e5bb8cf6e7307b0563a9ef84845a99dc54e1e
2018-06-01Render frames and window background nativelyKatarina Behrens
Change-Id: I947abe375fc74acbb8628076a0938d1074d1427c
2018-06-01Render toolbars nativelyKatarina Behrens
Change-Id: Ib3716fa63dfccce66a6e43ba183820dc15497d07
2018-06-01Render list items nativelyKatarina Behrens
Change-Id: Id8560e3e89d09c44d6b7c7679f4b3f0d5b67a0ee
2018-06-01Render menu bar and popups nativelyKatarina Behrens
Change-Id: I32554c8d21d8c2454236fcfd367e876049fdfbeb
2018-06-01Render progress bar nativelyKatarina Behrens
Change-Id: I71148c242ba0933677f7582ec2e36fc4903e2f3e
2018-06-01Drop duplicate implementation of conversion to QRectKatarina Behrens
use the one from Qt5Tools class Change-Id: I4dc33b14fc6ab7fa7c426d6b1a56c299aed62c55
2018-06-01Render sliders and spinboxes nativelyKatarina Behrens
Change-Id: I307930eca8a82f3153f38362ee8f55cb121707b7
2018-06-01Render text edits (single and multiline) nativelyKatarina Behrens
also drop deprecated QStyleOptionFrameV3 and ancient code for Qt < 4.5 Change-Id: I1f7cf92d23eebc032263b25bdf37651e14994c73
2018-06-01Render listboxes and comboboxes nativelyKatarina Behrens
Change-Id: Ia8d46717df43b088bb72d1f937998a64795f663e
2018-06-01Render pushbuttons nativelyKatarina Behrens
Change-Id: I1a8e82d70841765cad3d5838877489aab4656678
2018-06-01Render radiobuttons nativelyKatarina Behrens
Change-Id: Idcc0563ec6fc788c1af135a7389a740e31e999c3
2018-06-01Remove now unused KDE5XLib and KDE5DataKatarina Behrens
Change-Id: Ic3b3c0c41fb0992e8cc43410d5fb5c0bacc215fa
2018-06-01Render checkboxes nativelyKatarina Behrens
Change-Id: I687746c3d464feff4762c94ae5e228da503559a9
2018-06-01drawBitmap that takes BitmapBuffer as inputKatarina Behrens
Change-Id: Icc0f63fac38b1476100d790a99065ad29d17bc6a
2018-06-01Kill GraphicsHolder with fireKatarina Behrens
Change-Id: I6bcdb872a1c7279bd08fbbfecd582e698532e0b3
2018-06-01Restore Acquire/ReleaseGraphics, use KDE5SalGraphicsKatarina Behrens
commented out most of KDE5SalGraphics code for the time being Change-Id: I73654bd8376a9648a462505702dcf284f46ef315
2018-06-01Reorganize code to enable derived classes inject SvpSalGraphicsKatarina Behrens
or derivative thereof Change-Id: Iea0d5e838de0ea397dcbffd11c33f021d53face2
2018-06-01Frames can now be closed by clicking top-right corner [x]Katarina Behrens
Change-Id: I4f841bfd8fe819a322af1ecaa95d17273d3031ec
2018-06-01Use Acquire/ReleaseGraphics from base classKatarina Behrens
also use SalFrame as argument and retval of CreateFrame Change-Id: Ie5d15ee672aaa60279db5d7ad0743d3ac0037ec1
2018-06-01Remove some virtual funcs implemented in the base classKatarina Behrens
2018-06-01Remove unused headers and commented-out codeKatarina Behrens
Change-Id: I8dee846d9499f1549f5e61deaad885b93d2f5438
2018-06-01Qt5 plugin now identifies itself as such (in About dialog)Katarina Behrens
Change-Id: Icdc3d8dd20469bc2b2ca6e94a1318f313b9a5aa9
2018-06-01Move create_SalInstance to KDE5SalInstance classKatarina Behrens
with this, we get the same display as Qt5 + cairo rendering Change-Id: I30206d0431e16aed90f6a995fa6a475e2f418708
2018-06-01KDE5SalInstance derives from Qt5InstanceKatarina Behrens
again, Qt5Instance needs to be made DLLPUBLIC Change-Id: I8645f0898183fd9bc2ac40110846b98e6b6447d6
2018-06-01KDE5SalFrame derives from Qt5FrameKatarina Behrens
to achieve that, make Qt5Frame class DLLPUBLIC Change-Id: I7f1169e26845211fcf89a89a930fde48347630d3
2018-06-01Move qt5 headers into vcl top-level includeKatarina Behrens
they will be used by kde5 vcl plugin Change-Id: Ibcece683802c7a448b165da4c2515408d641927c
2018-06-01Qt5 fix font drawingJan-Marek Glogowski
The main problem was the memory management of the harfbuzz memory blob. Now we copy the font data tables into the blob, as the QByteArray memory will be freed at the end of the function. Change-Id: If5a5a4b1a235e66ba472b28a156e16be1b82bf2e
2018-06-01Qt5 some SalLAyout painting supportJan-Marek Glogowski
Don't know the glyphs are missing... Change-Id: I40834192e712af6190de8df98c10afa54d8c76e4
2018-06-01Qt5 minimal "native" file pickerJan-Marek Glogowski
Change-Id: I99d8213d23b09b6cb1e398359ad05c8fa702a8e0
2018-06-01loplugin: look for CPPUNIT_ASSERT_EQUALS with params swappedNoel Grandin
idea originally from either tml or moggi, can't remember which Change-Id: Id78d75035036d3aa1666e33469c6eeb38f9e624d Reviewed-on: https://gerrit.libreoffice.org/55126 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-31connect up accessibility locationCaolán McNamara
Change-Id: I226e42cf6bd7aa455514439f7303b490aa6d192d Reviewed-on: https://gerrit.libreoffice.org/55137 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-31focus rect for value setCaolán McNamara
Change-Id: I208cf42db4256bb7286222781cf2bf29f843c673 Reviewed-on: https://gerrit.libreoffice.org/55101 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-31drop Graphic::GetBitmapNoel Grandin
so that we flush out various code using Bitmap, in favour of using BitmapEx. This is part of the process of making Bitmap largely an internal detail of vcl Change-Id: Iaf2ead5e3d9960838723fb55b812b97108093d74 Reviewed-on: https://gerrit.libreoffice.org/55062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-31RTL support for custom widgetsCaolán McNamara
Change-Id: I34038f047c002a1ec1276f8c523db0e1c4d29065 Reviewed-on: https://gerrit.libreoffice.org/55100 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-31move some CanvasHelper::implDrawBitmap inside vclNoel Grandin
part of making mask and alpha internal details of Bitmap/BitmapEx Change-Id: I87ca24af18a29f5eb8a5761c5d95ae2806d97e77 Reviewed-on: https://gerrit.libreoffice.org/55078 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>
2018-05-30tdf#117859 crash in Tab Color a11yCaolán McNamara
Change-Id: I935f0b1a28b483fad70caf7af96742dee74916ad Reviewed-on: https://gerrit.libreoffice.org/55087 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-30tdf#112034 , tdf#107266 label color on basis of persona and personaKshitij Pathania
flipping is fixed. Labelcolor not gets updated immediately but when statechanged function triggers via executemethod things workwell.(like it triggers on changing mode of notebookbar) Change-Id: I755fb4ff434d7971112d2f0beb44ca09f4a7e0f1 Reviewed-on: https://gerrit.libreoffice.org/54301 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2018-05-30Log error codeStephan Bergmann
Change-Id: I6550af7949e4838d9f23310fe5ab49fb6b466eaf Reviewed-on: https://gerrit.libreoffice.org/55053 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-05-30tdf#117872: Revert "tdf#115284: Unify LibreOffice and system full-screen..."Tor Lillqvist
Instead, never participate in the macOS system full-screen mode. There is just too much complexity involved, and the way LibreOffice works really isn't prepared for the concept of windows having the option from a system point of view to being full-screenable or not. This means that the green bubble in window title bars changes from being a (system) full-screen toggle to being a maximize/restore toggle. Sure, the "maximize" concept also probably can be confused with LibreOffice's own full-screen concept. For instance, the Start Centre window is not expecting to be made full-screen. Still, when you from the Start Centre open a Writer document, it is the *same* window that is re-used as the Writer window, and then suddenly should be prepared to handle going full-screen. Also, it is up to each separate kind of document window whether it can be made full-screen (from the LibreOffice point of view) or not. Writer windows can, but Impress windows can't, for example. The View>Full Screen menu entry is added separately each case. Maybe I will come back to this mess later, or not. Anybody else is welcome to have a go, too, of course. This reverts commit 4b42fd7e9516fbbd8a92d97680524f32dd260fb2. Change-Id: I6983481cbd30c0e5190c450483b1246006c80632 Reviewed-on: https://gerrit.libreoffice.org/55049 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2018-05-30ImplSplitSet::mpBitmap is unusedNoel Grandin
Change-Id: Iadbeb462a34b9bdabe5bf71249eeef798fe6372a Reviewed-on: https://gerrit.libreoffice.org/55044 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-30Remove AddTable unused return typeStephan Bergmann
Change-Id: Ied2dfddab780cac1a5edc21519240537d2054b1c Reviewed-on: https://gerrit.libreoffice.org/55042 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-05-30tdf#116498 Use win metrics for 'DIN Light' fontSamuel Mehrbrodt
This adds a special treatment for fonts which rely on the win metrics for correct line spacing calculation. At the moment, only 'DIN Light' is known to need that treatment. Change-Id: Idd9fd6f63083ab7a706e0cbcd33a947d4949d4e9 Reviewed-on: https://gerrit.libreoffice.org/53962 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-05-30use BitmapEx in the screenshot stuffNoel Grandin
part of the process of moving Bitmap usage to BitmapEx Change-Id: I4f02f8aa60d19a3639d623a998491447adf79e15 Reviewed-on: https://gerrit.libreoffice.org/55031 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-30Bitmap->BitmapEx in FixedBitmapNoel Grandin
Change-Id: I0e409beb0d046d927b6a0c1987abec42df76727d Reviewed-on: https://gerrit.libreoffice.org/55032 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-29Remove unused SFErrCodes::TableFormatStephan Bergmann
...which was apparently unused (under its original name SF_TABLEFORMAT) ever since its introduction in 571f15004533c1e7a5472e033139d5765862fb73 "Unix PS- Print Environment". (Not sure what its appearance in the comment to AddTable, also there since that introductory commit, was ever supposed to mean.) Change-Id: I363e21e2e2d23aaf17c6f10b3936ba700203b9eb Reviewed-on: https://gerrit.libreoffice.org/55020 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-05-29disable inconsistent when setting true/falseCaolán McNamara
Change-Id: Ib612e7f38c7a1a638d69af2a6d26f1293fe0c8da Reviewed-on: https://gerrit.libreoffice.org/55011 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-29remember button pressed to reuse for moveCaolán McNamara
Change-Id: I4a7f5bb8e46e190f33150f666a653bfc04957a0f Reviewed-on: https://gerrit.libreoffice.org/55010 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>