summaryrefslogtreecommitdiff
path: root/include/vcl
AgeCommit message (Collapse)Author
2016-06-28loplugin:singlevalfields in variousNoel Grandin
Change-Id: Ia0d8f463a4dba9ec63aa0159441e3e607dd3bf5e Reviewed-on: https://gerrit.libreoffice.org/26738 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-28loplugin:refcounting on NotebookBarNoel Grandin
extending two different ref-counted base classes is a no-no Change-Id: Iabbf98c0cba73a1b1643b4275d15af7608b2e827
2016-06-28notebookbar: added slide transition tabSzymon Kłos
- created VclVBox control which creates SlideTransitionPane - SlideTransitionPane extended with second constructor which loads ui in horizontal mode - introduced CloseMethod for NotebookBar to kill widgets in right order Change-Id: Ic3ba35cb7734aa744a4804c5b670fed7c1bec204 Reviewed-on: https://gerrit.libreoffice.org/25844 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-06-28VCL : Simplify SystemWindow initialisationArnaud Versini
Change-Id: I9a899cddd8effc1c5deef5db9124b21e9e958392 Reviewed-on: https://gerrit.libreoffice.org/26727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-27GSoC notebookbar: switching tabs depending on contextSzymon Kłos
+ sfx2::sidebar::EnumContext moved to the vcl module + TabPage contains vector with context values + vcl builder reads control's contexts from the "class" mark + ContextTabControl shows tabs depending on context Change-Id: I661b0d3f35d46ace2a2e8eb1d374148f0c60017d Reviewed-on: https://gerrit.libreoffice.org/26447 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-06-26mpOwnMenu is unused since menubuttons stopped getting loaded from .res filesCaolán McNamara
Change-Id: I11a1ff3d5427156c9d8485dd9294782459c11f8c
2016-06-24tdf#62525 vcl: use cow_wrapper for jobsetXisco Fauli
Besides: * Convert ImplJobSetup to be a class. * Use ImplJobSetup's setters and getters everywhere * add some const-correctness at places Change-Id: I32101048e9be4f3950a4540b0666ed548bbcb211 Reviewed-on: https://gerrit.libreoffice.org/24594 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-06-24vcl: add graphic export-as-pdf filterMiklos Vajna
In case the metafile was imported from a PDF originally, then this allows storing the PDF stream next to the graphic. This means that e.g. in Writer choosing 'Save' from the context menu of the graphic can write the original PDF stream, not the replacement metafile. Change-Id: I4ab45d5af17fe46d7538df6d79d6b57ed163572a Reviewed-on: https://gerrit.libreoffice.org/26628 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-06-24loplugin:singlevalfields in vcl(part1)Noel Grandin
Change-Id: I0031199937cc95793951a070c4b3d8910933e69f Reviewed-on: https://gerrit.libreoffice.org/26595 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-24Define functions as deletedStephan Bergmann
Change-Id: I8227c439a9d74283d108514cdd349b9e534342f7
2016-06-23vcl: add initial PDF import-as-graphic filterMiklos Vajna
This allows Insert -> Image e.g. in Writer to read a PDF file, and insert the metafile equivalent of the first page into the document. Currently the original PDF document is lost on import (unlike when inserting an SVG file). Change-Id: Ib0472c5d9bd9a1da054353fa3a3a638a1052721e Reviewed-on: https://gerrit.libreoffice.org/26586 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-06-23GSoC tdf#87697 START CENTER: Indicate selected thumbnailviewAkshay Deep
Added new "Active" state to PushButton class Active state used in MenuToggleButton class. Active => Pressed + Flyover When hovered in Active state, Active => Flyover only Change-Id: Iece1550b6d742a7ab3c9f4c7516ec855e1a1b6ef Reviewed-on: https://gerrit.libreoffice.org/26470 Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com> Tested-by: Akshay Deep <akshaydeepiitr@gmail.com>
2016-06-23tdf#97527 - vcl: reference-count MenuNoel Grandin
some places are marked with "dodgy"- need to check those to see what is going on, because they are leaving dangling pointers behind in the Menu class Change-Id: I41d5c7c0fec2f70ce9e3ffdc48cd03d26c0a869b Reviewed-on: https://gerrit.libreoffice.org/26516 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-22uitest: add support for TabControlMarkus Mohrhard
Change-Id: I4cdffe62cdabaf110eaaeb0d31a45c44833d354a
2016-06-21Remove no longer needed vcl::ITiledRenderable::registerCallback()Miklos Vajna
All clients has been changed to use SfxViewShell::registerLibreOfficeKitViewCallback() instead. Change-Id: I2538268dc9c4b449f68b5d2b05a72de584c29fd0 Reviewed-on: https://gerrit.libreoffice.org/26540 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-06-21Use real assert() instead of DBG_ASSERT()Tor Lillqvist
These assertions guard important invariants. We use real assert() also in the neighbouring bitmapaccess.hxx, for instance. Drop annoying exclamation marks. Change-Id: I9d08cb80b18e8f3a922357ec33c1418f8f1b33e6
2016-06-20Convert PART to scoped enumNoel Grandin
Change-Id: If4c2849beb207593d3d450ae3846ed24eaf66ca4 Reviewed-on: https://gerrit.libreoffice.org/26173 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-18uitest: loplugin:staticmethodsMarkus Mohrhard
Change-Id: I741a41ea12fe0ee70a73e144d4601c8aafe30ac8
2016-06-18uitest: loplugin:overrideMarkus Mohrhard
Change-Id: I014e036c803ef7eeba265eb36782781c3a62672c
2016-06-18uitest: add wrapper for radio buttonMarkus Mohrhard
Change-Id: I8b4b35ac313796364502f8e9e2e836dc21f48a42
2016-06-18uitest: add missing overrideMarkus Mohrhard
Change-Id: I5f3941550bd9256125d74f25e9e512b302e1e27d
2016-06-18uitest: add method to get all children of a ui objectMarkus Mohrhard
This makes writing ui tests so much easier. Change-Id: Ice7d98c354fc9b68ee4532bc854561b5b9446e3f
2016-06-18uitest: an enum is a bad idea for the typeMarkus Mohrhard
Change-Id: I1efd59b2f664f0aa9be733466fa7c1057e92ef27
2016-06-18uitest: support selecting different tab pages in tab dialogMarkus Mohrhard
Change-Id: I541f83a87f5f3d459b2baf4587b76cb2fce5d5fc
2016-06-18uitest: move declaration for the uitesting wrapper objects to include/ dirMarkus Mohrhard
This allows non-vcl wrapper objects to inherit from the vcl base classes. This is especially important for the WindowUIObject base class object. Change-Id: I91ef69839ff4c031d3bcd21d70b4b9e7d62ad572
2016-06-18uitest: a slightly better approach for the factory problem in the ui testingMarkus Mohrhard
Change-Id: I15dbf2446791c4be9be4e18e63c0d03104d8d405
2016-06-18remove excessive whitespaceMarkus Mohrhard
Change-Id: I184da822985b21e3c4f8157c585b2d0f83770d12
2016-06-18uitest: provide a way for non-vcl modules to register factoriesMarkus Mohrhard
There are still two huge problems around my approach. It still requires to add some code to the existing widget class so that it registers the UI object wrapper. And secondly I have not yet solved the problem of longer inheritance hierarchies. E.g. A <- B <- C. However it is a first version that allows for now to extend the UI testing code into other places. I'm soon moving the header for the ui objects to the public include so that all objects can inherit from the basic vcl wrapper objects. Change-Id: Ifac9d635b4a68737048f50cd2a9d3e8830b165a5
2016-06-18uitest: add spinfield uitest supportMarkus Mohrhard
Change-Id: Id2dae42396beaa4818c60a57ac8aa76e4eddf24d
2016-06-18uitest: initial support for spinbuttons in uitestingMarkus Mohrhard
Change-Id: I4e62cb65cecdff8ac1a89c3f9c3a14e5206a9115
2016-06-18uitest: add initial support for combo boxes to uitestingMarkus Mohrhard
Change-Id: I82aa2d877216bc1bb984bd16e2d1d54a15fcc4fa
2016-06-18uitest: initial work on tab page ui testing supportMarkus Mohrhard
Change-Id: I76fdaad1f84d3b18b130decd7bdb4eef82d341e9
2016-06-18uitest: add initial implementation for ListBoxMarkus Mohrhard
Change-Id: I9fcc884afab63a9601c560f733a13551b5036cbe
2016-06-18uitest: add checkboxes to UI testingMarkus Mohrhard
Change-Id: I923fa22b0395b2f41bffe3798fb3e4eb18fe5dc2
2016-06-18uitest: rename getType to get_typeMarkus Mohrhard
Just for consistency. Change-Id: I13577b9318039493f585268fd7189f5cbc4dec46
2016-06-18uitest: add ui test wrapper for EditMarkus Mohrhard
Change-Id: Ife00f65311c44703edae06971f77faa6b0e2eb3f
2016-06-18uitest: more method documentationsMarkus Mohrhard
Change-Id: I545a9e40f6fb1f07e685d6901d2158b83012331c
2016-06-18uitest: add method to get top level window that has current focusMarkus Mohrhard
This might be a modal dialog (mpLastExecuteDlg) or a modeless dialog/the toplevel window (mpFirstFrame). This window should be used with get_child to find the correct window in the current scope. Change-Id: I0a1e63d0aa19c782069ba5876549f274dabb109b
2016-06-18uitest: add a few more wrappers for ui controlsMarkus Mohrhard
Change-Id: I81d53aaeca83f22887a461dc2151001118dad2e9
2016-06-18uitest: initial work on executing dispatcher commands in ui testsMarkus Mohrhard
Change-Id: Ib46ef5ea31e77d54786c0d732845984ce3c9c07f
2016-06-18uitest: let us use the include/vcl/uitest purely for the interfaceMarkus Mohrhard
All the actual implementations don't need to be exposed to the outside world. Change-Id: If92469b99e6c39493767de947434c6d78ae3804c
2016-06-18uitest: move the uitest files to vclMarkus Mohrhard
This allows us to use them in vcl as well without introducing dependency problems. Change-Id: Ib97af2d559902f1a6b47f9255bb0426411670647
2016-06-18uitest: store the id of each vcl::WindowMarkus Mohrhard
We will use the ID in the UI testing to identify the widget. Change-Id: I4dd79a02355e1de40f3c2ddc6a61a805b4e30778
2016-06-13VCL: Simplify Splitter initialisationArnaud Versini
Change-Id: I95e42012d8503493a89aee94fd05b2a878535f06 Reviewed-on: https://gerrit.libreoffice.org/26198 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-13loplugin:vclwidgetsNoel Grandin
Change-Id: I3567c3f9c5fe8374abd81d3f6e9a4a41e6a4c23d
2016-06-13Remove redundant redeclarationStephan Bergmann
Change-Id: I61f811ddfff624f76eb75695cb12576b8aeca47a
2016-06-13Fix typosAndrea Gelmini
Change-Id: Ic3efae53430fbb2c1eb7962c3cf69bf99315e55b Reviewed-on: https://gerrit.libreoffice.org/26202 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-06-12VCL: Simplify MessBox and its children initialisation.Arnaud Versini
Change-Id: Icf24af615e6020b40f92f565194b2328e99f47ad Reviewed-on: https://gerrit.libreoffice.org/26199 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-12Resolves: tdf#100313 OutputDevice::isDisposed doesn't work anymoreCaolán McNamara
since commit 51fe4d63dfdf0ea24d2fecf75d25cbe607ed1c09 Author: melikeyurtoglu <aysemelikeyurtoglu@gmail.com> Date: Tue May 3 00:34:05 2016 +0300 tdf#97527 vcl: reference-count Menu Change-Id: Ia12434fede69ad247ed67691517437a9ada31acd Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/24596 which created a base-class VclReferenceBase for OutputDevice and Menu and so moved isDisposed from OutputDevice to VclReferenceBase, but *duplicated* the mbDisposed in VclReferenceBase so the bit set by disposeOnce in OutputDevice was a different bit to the bit returned by isDisposed from VclReferenceBase. Which meant that the fix of... commit 26c32cfee9fc9a769adba19f455e4d6c13b6d89d Author: Caolán McNamara <caolanm@redhat.com> Date: Fri Nov 27 16:10:10 2015 +0000 Resolves: rhbz#1283426 using vdevs based on now dead physical devs is unsafe no longer worked. Finish moving the mbDisposed to VclReferenceBase to fix this Change-Id: I9bc1ba3d03f3aae7c3f58eb277176d9521bdb05d
2016-06-09EndSaveFocus does nothing on the !bRestore caseCaolán McNamara
Change-Id: I8e199535803faf364469f9b9df46f339febe25c6