summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/backingwindow.cxx
AgeCommit message (Collapse)AuthorFilesLines
2014-10-13create a macro library for implementing bit-flags typesNoel Grandin1-1/+1
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, changed from a macro- to a template-based solution. (Unfortunately MSVC 2012 does not support explicit conversion operators. Worked around that with explicit #ifs rather than some HAVE_EXPLICIT_CONVERSION_OPERATORS and SAL_EXPLICIT_CONVERSION_OPERATOR ainticipating we hopefully soon move to a baseline that requires unconditional support for them.) Change-Id: I4a89643b218d247e8e4a861faba458ec6dfe1396
2014-10-09Related: fdo#83003 warp directly to the templates/recentfiles on changing modeCaolán McNamara1-0/+3
which has the side-effect that the keyboard and tab key will cycle through all the contents of the start center. Otherwise in the template view on first clicking templates you are "stuck" Change-Id: Iceed2492e8dde28c0ada381ef0f430738441179f
2014-10-09Resolves: fdo#83003 provide a means to return from template viewCaolán McNamara1-0/+7
Change-Id: Ie6d2cfb5ee28fbd9395a49fa074a252c9c6e20ec
2014-10-02coverity#1242827 Uninitialized pointer fieldCaolán McNamara1-0/+2
Change-Id: I029a1fba2a204b9b2b7482258685ab404b06bef8
2014-09-30fdo#82577: Handle RegionNoel Grandin1-1/+1
Put the VCL Region class in the vcl namespace. Avoids clash with the X11 Region typedef. Change-Id: I6e008111df7cf37121fbc3eaabd44a8306338291
2014-09-25Start Center Template Manager TweaksEfe Gürkan YALAMAN1-3/+3
Template Manager and the related Start Center view has same transparent highlight color as Recent Documents. Also Template thumbnail containers should have the same size as Recent Docs view. Change-Id: I22e417a5c5ca5a849577d5a438a193371368fe24 Reviewed-on: https://gerrit.libreoffice.org/11467 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-23fdo#82577: Handle WindowNoel Grandin1-5/+5
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-18fdo#82577: Handle FontNoel Grandin1-3/+3
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-08-25make background color of startcenter configurableAndras Timar1-1/+4
Change-Id: Ice6a92186d641e9446b9d328518e4000c840a142
2014-08-23fdo#82577: Handle KeyCodeTor Lillqvist1-2/+2
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11 KeyCode typedef. Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-16sfx2: remove commented constsChris Sherlock1-10/+0
Change-Id: I1521f174ac53c2e8e96dcb7b5c1264f0bf460fd0
2014-08-14Fixed the Templates buttonEfe Gürkan YALAMAN1-41/+5
It works as a button. When clicked the triangle works as dropdown. Change-Id: Ib4e3b6a1832efef3382e7bd01b06d2ff8d4e7543
2014-08-14All templates option addedEfe Gürkan YALAMAN1-5/+9
Change-Id: I622d5d6fd7fa7be474fa56abf67a1a62fddbcf60
2014-08-14Some code cleanupEfe Gürkan YALAMAN1-24/+32
SetupButton function overloaded for MenuButton type. Change-Id: Ib171c7590a59ad360dd8ebab1039d3eba5d565ef
2014-08-14Template Filtering ImplementationEfe Gürkan YALAMAN1-13/+28
Change-Id: I9270136afeaadbbe16c408e6e7d2fbde5b53d324
2014-08-14Start of filtering implementationEfe Gürkan YALAMAN1-1/+30
Change-Id: Iebf71deb4739703d87b944300cbc1b8ee2daacc5
2014-08-14Code CleanupEfe Gürkan YALAMAN1-302/+20
Some unneccesary code cleaned up. Change-Id: Iebc43ddc8276d5865c640b7fa955152a3361eb36
2014-08-14Selecting and opening templates implemented.Efe Gürkan YALAMAN1-53/+106
All editing related code commented out. Code needs to be cleaned up. Change-Id: Ibe901684d8747552b8ebeeea848c8f5e050ae726
2014-08-14Initial TemplateBar moved from TemplateManagerEfe Gürkan YALAMAN1-0/+37
Change-Id: I335e69de31bd64e7c4504a58d7652f755491af33
2014-08-14Some folder features moved to backingwindowEfe Gürkan YALAMAN1-8/+59
Create new folder and delete a folder moved from template manager dialog to startcenter. Change-Id: If89b9fd7ee499f7fccda08d3ac989728148a24a0
2014-08-14selection function movedEfe Gürkan YALAMAN1-1/+17
The localview is not causing crash now. Change-Id: Iea2fe607555d2d3c955f8f198240a2b2d1e26788
2014-08-14Some handlers and buttons movedEfe Gürkan YALAMAN1-7/+210
Some more handlers and buttons moved. Still not usable mostly. Change-Id: I19c9c36a490030369b4e8d84b41f6d2962665426
2014-08-14ViewBar moved to Start CenterEfe Gürkan YALAMAN1-0/+26
View bar moved to the start center without handlers. Visible but useless ATM. Change-Id: I1cb64faa1ee86b19ecbb793351c8c11362ef799e
2014-08-14Default filter noneEfe Gürkan YALAMAN1-0/+1
Small fix to add default filter. Which is none, it shows all. Change-Id: I49cf222b2909972f1800cd029f2ba97556aa955a
2014-08-14Moving TemplateLocalView to the StartCenterEfe Gürkan YALAMAN1-1/+17
Added TemplateLocalView to the StartCenter. "Templates" Button will hide RecentDocs and show TemplateLocal view. Change-Id: I34fc7f6ed0d819cf0c29dd89ee154408c5d8434f
2014-08-14fdo#82043: Instead of the bold font, use a higher multiplifier.Jan Holesovsky1-3/+1
This reverts commit 04b02f2f5a4f71198e0cb616404c4721c918afe6. Change-Id: Iac19a0ced09bc8372e3a572d57dd3ac33ece9191
2014-08-07Resolves: fdo#82043 use a bold font for the start-center buttonsCaolán McNamara1-0/+2
Change-Id: I4d947060815559f68cd200d8103868014ea6ac2d
2014-07-29WaE: 'initializing' : truncation from 'double' to 'float'Tor Lillqvist1-1/+1
Change-Id: Ie61d007857a62facac9d4e21ec494195041eeffb
2014-07-24Resolves: fdo#80476 Start Center sidebar button are too largeCaolán McNamara1-5/+6
Change-Id: Iedf67b5591d84963e1caf3e8d9d17d42175bb604
2014-05-07The opaque PostUserEvent IDs are actually pointersStephan Bergmann1-2/+1
...so declare them as such. This avoids the recurring mistake of storing such IDs as sal_uInt32, truncating in 64 bit environments, causing RemoveUserEvent to potentially not remove the event, it thus firing "too late" and probably causing a crash. While at it, consolidate the trivially unnecessary overloads of both Application::PostUserEvent and Window::PostUserEvent. And in each of them, it looks like deleting the mpLink member was missing from the failure branch. Change-Id: Iab13afbb06e12ac15dec6a6b5b85a7e402a3c654
2014-04-27startcenter: Add possibility to selectively remove recent documents.Jan Holesovsky1-1/+1
Change-Id: Id0c20de6dc3375e64dd3dbef34dcd6eb77f02340
2014-02-26Remove visual noise from sfx2Alexander Wilms1-2/+2
Change-Id: I0f556a386ce64d154b695c2a35f808c94b9f0b7a Reviewed-on: https://gerrit.libreoffice.org/8310 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-18callcatcher: update unused code listsCaolán McNamara1-25/+0
Change-Id: Ie975f8a970eec63b593933ebb2394db76d537c51
2014-02-01fdo#64337 Do not show empty findbar in startcenter.Robert Roth1-1/+2
Using the shortcut for search on the start center displayed an empty toolbar on the start center. This commit adds a check to see whether the command to execute in the startcenter is FocusToFindbar, and if it is, it skips executing it. Change-Id: I0835e87d4a1eef0fc9ff17c184b531592b3e2d5a
2014-01-31fdo#71763: F6 key moves focus on this trip: Menu -> Sidebar -> Thumbnail viewZolnai Tamás1-1/+54
Sidebar and thumbnail View are actually not separate windows but F6 key traversal should simulate it as they would be. Define a new getfocus flag called GETFOCUS_F6 which means focus were grabed as a result of pressing F6 key. Use this and other two (GETFOCUS_FORWARD, GETFOCUS_BACKWARD) flags to indicate the focus were grabbed along subwindow relation (define a new ImplGrabFocusToDocument method with a flag parameter on the analogy of GrabFocus() <-> ImplGrabFocus()). Handle F6, Shift+F6 inside BackingWindow as it would have two subwindow (sidebar and thumbnail view). Plus Ctrl+F6 -> grab focus to the thumbnail view. Change-Id: Ie43d761e7cb0269afb79481a81947a4b96e1dde0 Reviewed-on: https://gerrit.libreoffice.org/7486 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2014-01-25Related fdo#65826: Set StartCenter's min width to display one column of docsZolnai Tamás1-0/+1
If there is document to display. Otherwise set minimum to the width of greating background text. Updating minimum size is needed only when the list is cleared. Change-Id: Ic089571fd21d5ab9ded0f4cde7e1aa72fd508d32
2014-01-21fdo#65826 and fdo#73605: set a minimum size to start centerZolnai Tamás1-1/+3
This minimum size calculated like this: width: sidebar optimal width + width of text appearing in the thumbnail view when no recent document is available. height: menu width + optimal width of GtkBox containing buttons. Change-Id: Ic1fd6e33a1ec93e61318af02c09ee88909a76cf4 Reviewed-on: https://gerrit.libreoffice.org/7505 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17Window::Notify should return boolStephan Bergmann1-2/+2
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-16Related: fdo#71764 allow extensions button to group with helpCaolán McNamara1-0/+20
even though they are in different containers Change-Id: I785166c577acab03608da10fb4a33072458a82cd
2014-01-12Startcenter: no need to set helpids manually (new widget layout)Zolnai Tamás1-13/+0
Change-Id: If7a9f6f0538c33ec1eca3f33f23ad6a76908a98c
2014-01-10fdo#72420 Startcenter: help button point to local/wiki help, ui partZolnai Tamás1-3/+0
Change-Id: I7ac4b51868d1a5828c810b1ac629d5a56ffb6f50
2014-01-07Startcenter: Refresh RecentDocsView when select 'Clear list' menu optionZolnai Tamás1-0/+5
Change-Id: I9cbe647563699b9b610661003084d2cd16093f9a
2013-12-13startcenter: Move the 'Create' under the separator & add a colon.Jan Holesovsky1-1/+5
Change-Id: Ie8a1ce8628fa0f31ae6d6a3f1303342c145e33aa
2013-11-14sfx2: mac tinderbox says "system" is ambiguous so be more verbose...Michael Stahl1-2/+6
Change-Id: I14c3077cbdadcde651cf2772ecb833aa2a81d94b
2013-11-14startcenter: Make the Help and Extensions button work.Jan Holesovsky1-4/+52
Change-Id: I9017dd830c44f642f7d4821345f3831c9031ff9f
2013-11-14-Werror,-Wunused-const-variableStephan Bergmann1-6/+0
Change-Id: I5a205752cc69f4f5cc3f8198db3ab64341e13f1e
2013-11-14startcenter: Motif image now works too.Jan Holesovsky1-1/+8
Change-Id: Ieecd2e8ee010b06b64a792e0fcad744c66c5f79e
2013-11-14startcenter: Thin line around the Help and Extensios buttons.Jan Holesovsky1-2/+9
Change-Id: Id9433a32a9787673fbb266d6465f0bd89f919a40
2013-11-14startcenter: Rework completely according to the new design.Jan Holesovsky1-288/+78
Only the background bitmap that will show behind the buttons is missing at the moment, will come later. Change-Id: I60e8f74ab28383ce1e891367ba5d2aff23d787ff
2013-11-08remove unnecessary use of OUString constructor in SFX2 moduleNoel Grandin1-1/+1
Change-Id: Ieafc413136a9b4b907de034914d918212e4c16e3