summaryrefslogtreecommitdiff
path: root/cui/uiconfig
AgeCommit message (Collapse)AuthorFilesLines
2016-06-13Related: tdf#93135 adjust the ui to reflect the text fit options entanglementCaolán McNamara1-118/+168
We have two major groups of text fitting options in draw/impress ones that apply only to custom shapes * Word wrap text in shape * Resize shape to fit text those that apply to other elements, e.g. text boxes, legacy rectangles and lines * Fit width to text * Fit height to text * Fit to frame * Adjust to contour Of the second group, only "fit to frame" is always available. Text boxes have "Fit width to text" and "Fit height to text", while stuff like legacy rectangles and lines etc have "Adjust to contour" instead. A fun issue is that (currently anyway) the bit for "resize shape to fit text" in custom shapes and the bit for "fit height to text" in text boxes is the same bit, SDRATTR_TEXT_AUTOGROWHEIGHT. So before this change in all circumstances the same collection of checkboxes for all settings was visible. With context used to enable or disable which ones could be set according to the type of shape it was. Simultaneously there is logic to enable/disable checkboxes depending on if other checkboxes that control contradictionary options were checked/unchecked. e.g. "Fit to frame" disabled if "fit height to text" is enabled. So its not apparently why some can be enabled and some disabled by clicking about the place in the shared collection. In this commit we split the sizing options into their two families, one frame and column for each of "custom shapes" and "everything else". When adjusting a single selected object we use context to determine which column to show or hide. When editing multiple objects or the underlying graphic styles we show both columns. When editing a presentation style we show just the text box column. (The use of HasText in the original code is a concern, cause it doesn't make sense to me, using it like that means that in the original dialog format->text on an empty text box from F2 shows the contour option, but after entering text and then format->text it shows a set of different text box sizing options, so that's dropped here) Because (currently) the same SDRATTR_TEXT_AUTOGROWHEIGHT bit it used for two apparently different things then we visually toggle on all things that use that bit in multi-column mode when its togged on, i.e. on editing a style visually both "fit height to text" and "resize shape to fix text" are kept in sync when you toggle one or the other. We don't disable the "resize shape to fit text" checkbox (unlike the fit height to text checkbox which controls the same bit) if "fit to frame" and "adjust to contour" are set, and give it additional powers to unset those if clicked. This hopefully makes the ui describe the way things actually are. Because this SDRATTR_TEXT_AUTOGROWHEIGHT is currently sort of doing two purposes selecting a freshly drawn custom rectangle and using format->default formatting will cause it to change properties because the underlying SDRATTR_TEXT_AUTOGROWHEIGHT bit is cleared. The way things should probably be I guess is that there should be a SDRATTR_TEXT_AUTOGROWSIZE property (which used to exist but wasn't hooked up to anything) just for custom shapes which overrides the old family of options if set. Change-Id: I49241c90d919eeb5caa8775beab57746d5c6df04
2016-06-08Fix widget's library nameRishabh Kumar2-2/+2
Change-Id: I22c66a63bfc71971da87db00b364e56ec55f7222 Reviewed-on: https://gerrit.libreoffice.org/26052 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-06-08Addition of new controls and their rearrangement in color tabRishabh Kumar1-69/+408
1. Addition of RGB and CMYK fields for the previous/old color. 2. Removal of color mode(RGB/CMYK) listbox and replacement with RadioButtons. 3. Changing color mode should not change the previous selected color. 4. Hide CMYK controls and color mode RadioButtons. 5. Addition of Hexadecimal color values. Change-Id: Iafc51e750e1f08345771edc9a733b91f6c771500 Reviewed-on: https://gerrit.libreoffice.org/25538 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-06-03Move page size listbox from cui to svxKatarina Behrens1-1/+1
make it a custom widget so it is accessible e.g. to sidebar panels Change-Id: Ic36a9a8af96a09fc76efd8e9ae75b8ebdf81717e Reviewed-on: https://gerrit.libreoffice.org/25764 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-06-02Remove SetAccessibleRelationLabeledBy calls tdf#87026Muhammet Kara1-6/+20
And make proper changes in the related .ui files Change-Id: Iea998b6de25831c08950a8afa725713288113bfa Reviewed-on: https://gerrit.libreoffice.org/25807 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-30Move accessibility relations to .ui files tdf#87026Muhammet Kara1-1/+13
Change-Id: I2ce2c236d124d31aaacacb0c24ba52b3a70b489c Reviewed-on: https://gerrit.libreoffice.org/25555 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-05-23Addition of new controls and their rearrangement in hatch tabRishabh Kumar2-150/+202
1. Removal of rectangle hatch angle dial widget 2. Addition of slider widget for changing angle in hatch tab. 3. Move hatch background color control from area tab to hatch tab. 4. Rearrangement of controls 5. Removal of hatch controls from Area tab Change-Id: I596098b328fc183d2fdd5259e90013dbf74d9ad7 Reviewed-on: https://gerrit.libreoffice.org/25147 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-05-18Addition of new controls and their rearrangement in gradient tabRishabh Kumar2-135/+160
1. Addition of increment spin box and slider in gradient tab. 2. Addition of slider for border controls in gradient tab. 3. Rearrangement of controls. 4. Removal of gradient controls from Area tab. Change-Id: I56c3767a0d54990338982cd45ed10a10dd8a94c1 Reviewed-on: https://gerrit.libreoffice.org/24910 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-05-07tdf#88502 Firefox Theme URL in custom theme searchSusobhan Ghosh1-1/+1
Removed "suggested" from categories label. Fixed URL checking. Change-Id: Ifbea40cf724c91f6af72c485d9ae7eb599afff65 Reviewed-on: https://gerrit.libreoffice.org/24716 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-05-06tdf#70998 Termchange: Graphic->ImageSamuel Mehrbrodt4-6/+6
Change-Id: I561a4d81a4fa8d5a6cc5f92b11ed480e833dadcc Reviewed-on: https://gerrit.libreoffice.org/24697 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-04tdf#88502 Firefox Theme URL in custom theme searchSusobhan Ghosh2-221/+264
Persona Dialog modified. Search supports Firefox Theme URL. Added display of installed theme on personalization dialog. Fixed category buttons. Added SOLID as category. Removed invalid/duplicate results. Change-Id: I603c0c292fe5c3e380553b9a2eaab6f4bc0683e1 Reviewed-on: https://gerrit.libreoffice.org/23385 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Jenkins <ci@libreoffice.org>
2016-04-22tdf#89953 Character spacing: Increment by 0.1, not by 1Samuel Mehrbrodt1-2/+2
and adjust the page size to 1 instead of 10 Change-Id: Ia6d964b8bb057ef8161890d36dd059922bbcbe9a Reviewed-on: https://gerrit.libreoffice.org/24302 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-22tdf#89953 Character spacing: Allow to enter negative valuesSamuel Mehrbrodt1-58/+8
without selecting from a condensed/expanded listbox first. Change-Id: I1111e6f1d7cdc6c0bc79d542f49c58f1022ad739 Reviewed-on: https://gerrit.libreoffice.org/24301 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-20tdf#99361 Separate checkbox in Number dialogLaurent Balland-Poirier1-7/+37
"Thousands Separator" and "Engineering notation" used the same checkbox, so help tips texts were the same. This commit creates a second checkbox which is hiden/shown according to category selected Change-Id: I94913e63e47b760deb747ce7cd3d74ab4c109599 Reviewed-on: https://gerrit.libreoffice.org/24224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-04-18postit dialog is too tallCaolán McNamara1-11/+0
the initial size hack has come unstuck, do it the now-standard way or explicitly setting an initial size in code Change-Id: I89c73e433b1974514fa2a68eb9bd5373142c313a
2016-04-12tdf#99104 Checkbox in User Data page isn’t aligned to anything in the sectionAdolfo Jayme Barrientos1-2/+4
See comment 6. Change-Id: I492b8fa9a0e018ded46a6ebe290088898bdfe3d9
2016-04-08tdf#99003 Rename Target to URLSamuel Mehrbrodt1-20/+8
Change-Id: Icbbd3191e00d3eb187f50c18083b8db7b27544ee Reviewed-on: https://gerrit.libreoffice.org/23926 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-04-04Make InputDialog class global to reuse it's code and tdf#97425Akshay Deep1-107/+0
tdf#97425 -> Use InputDialog to edit Java Class Parameter Change-Id: I41ac9ffbc660c4bbb9d4fd3335e95d64ccdd2842 Reviewed-on: https://gerrit.libreoffice.org/23580 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-03-31tdf#98885 - hyperlink dialog - remove useless buttonJakub Trzebiatowski1-14/+0
removed browse button and its code Change-Id: I0b2a611760d346d5f0fff6d129676410aea30c41 Reviewed-on: https://gerrit.libreoffice.org/23599 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-03-29set translatable property in .ui files (bin/ui-translatable.sh)Andras Timar1-2/+2
Change-Id: I8b382bddac208d12216842ace6511b8b9127f205
2016-03-21tdf#97251 Always show the text direction alignment controlYousuf Philips1-0/+1
Change-Id: I349ac47e08f9a9d55dd955026988273e126ad4c7 Reviewed-on: https://gerrit.libreoffice.org/22673 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2016-02-27tdf#96999 Allow resizing of Customize dialogAdolfo Jayme Barrientos1-1/+0
As long as this dialog keeps its inefficient, cluttered layout, and we still lack tooltips for table rows that don’t fit, let’s allow users to blow this up if they want to. Change-Id: Iba69fb39ea97acae8751c1ac0611f3ac4ccea9e0
2016-02-26cui: Fix a wrong label "Rotation" in Character > Position menuTakeshi Abe1-2/+2
... by replacing it with "Scaling". To find the label in Calc's Character > Position menu: 1. select text in a cell and open context menu 2. choose "Character..." in the context menu 3. choose "Position" tab (then the label appears as 2nd headline) This looks a regression from 6a0951a9bc564d8e214472bd84aec2971b9e9d64. Change-Id: I183f89e6891eea53f6e345472d7d413f0f801e91 Reviewed-on: https://gerrit.libreoffice.org/22709 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2016-02-20Options: Some layout tweaks and copyeditingAdolfo Jayme Barrientos5-203/+122
Change-Id: If3b2bd1d75472b25de65670784f3508daa20857d
2016-02-19Fix incorrect icon reference in Distribution dialogYousuf Philips1-1/+1
Change-Id: I2b296f06800b5ae29a61cdae7b00961a6b502b66 Reviewed-on: https://gerrit.libreoffice.org/22492 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-02-13Stack these boxes vertically againAdolfo Jayme Barrientos1-6/+5
Thanks Eike for the feedback! Change-Id: I4840ddf0cb897fd2138fe4607040a3b5a5b60357
2016-02-12tdf#97425 - JVM start parameters should be editable.akki952-21/+143
Added new dialog to edit Java start Parameter. Modified UI of JavaStartParameterDialog using Glade. Renamed Assign Button to Add. Added a function to edit.cxx vcl file to move cursor to last letter of GTKEntry. Change-Id: Ia43e2c0fbced5674a84187de02a9bc9460141f2d Reviewed-on: https://gerrit.libreoffice.org/22220 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-02-02tdf#70998 Termchange: Graphic/Picture->Imageakki951-1/+1
Changed visible terms as required. Change-Id: Id4335629977aa8512c753241d7c2203820716b73 Reviewed-on: https://gerrit.libreoffice.org/21857 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-01-30tdf#97425 - JVM start parameters should be editable.akki951-0/+14
Bug Resolved. Change-Id: I8bd5ee684a03f8e24f0b74d63ea98923945b0870 Reviewed-on: https://gerrit.libreoffice.org/21912 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-08Bump copyright year to 2016Adolfo Jayme Barrientos1-1/+1
Change-Id: Ifbd88aa55d5aa32a7b8dc11d7ac0310d0ef1e5d1
2016-01-07tdf#34882 Harmonize alignment of hex./decimal boxesAdolfo Jayme Barrientos1-61/+48
Change-Id: Ie2a5af6c3c46508df1763b33bf8446983e49e11c
2015-12-30Kill remaining plugin bitsMaxim Monastirsky1-222/+0
Change-Id: Icd99757b48626ef43313e8de42c4e5462f85a958 Reviewed-on: https://gerrit.libreoffice.org/21008 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-12-25Revert "Basic IDE Options code completion tweak."jan iversen1-17/+53
This reverts commit 536fcf91de1bdbfca4c300484ebe672f9cbca0e7. Based on a IRC discussion, it seems that a comment is enough to block a patch, and not as defined a -1. Furthermore this patch caused a core dump on the munich tinderbox, where the cause is very unclear. Change-Id: I0caeeb354444b33942ea08e056d26ead97264d74 Reviewed-on: https://gerrit.libreoffice.org/20924 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2015-12-24Basic IDE Options code completion tweak.Olivier Hallot1-53/+17
Since the use of code completion depends on the option of using UNO Extended Types, the patch enables the Code Completion checkbox only if the Use Extended Type checkbox is checked. Furthermore, if the Use Extended Type checkbox is disabled, the Code Completion CB is unchecked. Change-Id: Ic24a318f0c4424204d42035515a4f5f8758a5177 Reviewed-on: https://gerrit.libreoffice.org/19114 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2015-12-23New saving behaviorMaxim Monastirsky1-61/+9
Changes in this commit: - AlwaysAllowSave config is gone. Saving is always permitted, unless in a read only document. Also changed the behavior in dbaccess to match sfx2. - The toolbar save button is always enabled, to always give access to the dropdown. That's the case even in a read only document, except that it changes to DROPDOWNONLY, and the save as command icon+tooltip. In table/query designers we still disable the button in read only state. - When the document is modified, the toolbar button gets a special icon to indicate that. TODO: - Icons for the document modified state are still missing. I added some fake links to Tango's links.txt in order to test the new behavior. These links shouldn't stay as-is in a production version! Change-Id: I56c169bf48b78faaf53c2989ce8624f8297ffb6e Reviewed-on: https://gerrit.libreoffice.org/20839 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-12-19Remove outdated industrial icon themeSamuel Mehrbrodt1-1/+0
A few icons are still left in the folder as these are used as fallback for tango. See industrial/README for details. Change-Id: Iaeb672609cd57bba5707cbafbfe295bfb8c5011d Reviewed-on: https://gerrit.libreoffice.org/19149 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-12-14tdf#81519 Clarifying advanced options (unstable vs. limited)Joel1-3/+3
minor update to clarify unstable features against macro (limited) features Change-Id: I30c782144e5dff3c300cfcf431c745597f0c3db2 Reviewed-on: https://gerrit.libreoffice.org/20688 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-12-09tdf#96353 make spell options dialog resizableAndras Timar1-1/+0
Change-Id: I2e9ef88d471f8fa379a03f7b6b95bf14ce172acb Reviewed-on: https://gerrit.libreoffice.org/20498 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-12-07tdf#34449 : ability of deleting borders of a cell from adjacent cellDennis Francis1-0/+14
Change-Id: Ieb13a9ea88faa220d1ee352b0e47268a7fda5f38 Reviewed-on: https://gerrit.libreoffice.org/19715 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-12-01sc interpreter: Don't hide S/W Interpreter behind an environment variable.Jan Holesovsky1-1/+17
Instead provide a user setting that can be enabled so that the S/W Interpreter is used on a subset of the operations. The operations for which it is used are controlled by a whitelist in ScCalcConfig::setOpenCLConfigToDefault(). Change-Id: I7d3f3a864fcb1231e5484ec23961f14fca1466c5
2015-11-23Update-check, expand to allow reporting of H/W and OS versions.Michael Meeks1-0/+65
Off by default. Expand config options to show the user agent used. Re-use this to show more useful info in Help->About too. Change-Id: I1044116ef9beeb341a537c0f4451dca54e198f67 Reviewed-on: https://gerrit.libreoffice.org/20098 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-17remove unused text property of spinbuttonsStanislav Horacek1-6/+0
Change-Id: I82882c8244ac553a8cce800fb93a000aa131a446 Reviewed-on: https://gerrit.libreoffice.org/20010 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-17tdf#34882 Adding hex and decimal code searchSteve Hart1-8/+97
Change-Id: I809bac4b28e679c7dad8ed3ad28e36379bce4760
2015-11-13Resolves: tdf#95682 spell dialog: add a button to open special characterCaolán McNamara1-66/+77
Change-Id: I0d070dee9e940b93b294c6b2de180005a5c2248e
2015-11-11tdf#93837 Add context menu customization UIMaxim Monastirsky1-4/+18
Depends on env. variable for now. Nothing to customize yet anyway. Change-Id: I70edd33b51d931632fac454684d6c22906a727fe
2015-11-10tdf#95594 Remove “dialog” type hint from Expert Config windowAdolfo Jayme Barrientos1-1/+2
Change-Id: I4a997ab8959f8d890aaa8779d8d036cee1fc060b
2015-11-09Resolves: tdf#92311 raise auto correct entry limit to unsigned short maxCaolán McNamara1-1/+1
Change-Id: Ie27d727ab4606ffe3f47263251316f6faac7ca74
2015-11-08Improve layout of CTL settingsAdolfo Jayme Barrientos1-6/+14
- Kill those evil, space-wasting “homogeneous width” properties - Align Movement and Numerals labels - Bring radio buttons together Change-Id: Ib279f81b48733cccd8dd399549f598a21613076a
2015-11-05tdf#93195 Set default focus to search buttonYousuf Philips1-2/+2
Change-Id: Id60a901b0d66e5e093f107c25db28b12a5f499d5 Reviewed-on: https://gerrit.libreoffice.org/19791 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-05OpenGL options: clarify setting descriptions, and provide a live status.Michael Meeks1-2/+30
Hopefully this will un-confuse users about whether GL is enabled; the settings only take effect on re-start, so show a current status line too. Change-Id: I82832fd8d35bc76ab2cf1f394f11a881fde80774 Reviewed-on: https://gerrit.libreoffice.org/19790 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>