Commit Graph

87 Commits

Author SHA1 Message Date
d7748842e9 hide grid and axes options in chart elements if not supported, tdf#94297
Change-Id: I358340bd1b17f0e2eb5a119a60b623e489044dd3
2015-10-03 16:22:02 +02:00
9d31c61103 enable z axis objects when changing chart type, tdf#94290
Change-Id: I4c1e3ff061692a9457557a4fecea55371f2aadb5
2015-09-27 07:54:45 +02:00
f78216d15d fix regression with chart sidebar list position
regression from 66f1e65fde85168ae582ea75f72ebb290caa0a08

Change-Id: I92a5d6926ee912d4802f074d1e4aae63cf672ab1
2015-09-20 21:57:28 +02:00
85eb1e5148 use localized string for title text, tdf#94294
Change-Id: Id27e5c3794b728ce79d63b6c7d552df0cc1ba239
2015-09-20 21:33:58 +02:00
e1afea91e9 remove unnecessary base class
Change-Id: Iaa1890d11f9bfba7a8b0996b9adf79b781bcd8bf
2015-09-20 21:33:58 +02:00
ee7da352b8 Resolves: tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants.

Change-Id: I7154f9472f02fdf47d27ba715db55bb1ec669a8a
Reviewed-on: https://gerrit.libreoffice.org/18580
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-15 06:19:28 +00:00
33cddeea13 boost->std
Change-Id: Iff14f69c200217c5d868978e8ffc06962b99ac09
Reviewed-on: https://gerrit.libreoffice.org/18568
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-14 19:32:42 +00:00
f4e951a61a convert Link<> to typed
Change-Id: I603463d0486d4d0f21ebbdc6eca900db58bb090f
2015-09-10 11:38:30 +02:00
267f401e2a cppcheck: noExplicitConstructor
Change-Id: I2a1add8cf526cdb305ad99ccb138454a88f2fdbd
2015-09-07 09:56:07 +01:00
167bc621ef Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
2015-08-26 11:15:35 +02:00
0075446151 make color button work in chart line sidebar panel
Change-Id: I2148fd9953b283945d2a1bcf24dbc47964b659ae
2015-08-20 03:15:57 +02:00
e56be085ea WaE: -Werror=maybe-uninitialized
Change-Id: Ibf62ffa133aa4cde1836f7b7e735559c02ffb588
2015-08-20 02:22:26 +02:00
15fcf82a11 also need to call updateFillColor to get the UI in order
Change-Id: I689d84ef58faeb4b36159c6370b5e97a13d39736
2015-08-20 02:15:22 +02:00
acd818d973 update the color button when we select an object
Change-Id: Ib45a02248819c35844ef83435c33ab1c82f5c4dc
2015-08-20 00:14:51 +02:00
cf7db82262 handle new color picker correctly in chart sidebar
This implements the basics for that and implements it in the AreaPanel.

Change-Id: I6d9e5012bbcc2c953d478a09a839f35f2ef64c5b
2015-08-20 00:14:51 +02:00
70a30fd179 loplugin: defaultparams
Change-Id: I65c0ed65b20f606cf1409a3158ff1ef1e2d6cd9f
2015-08-14 10:52:46 +02:00
8a7b4d5bb5 Explicit capture annotations
Change-Id: I7be1a36196a07a80a7b7173c3869621f5d707204
2015-08-08 15:16:34 +02:00
8b0109f28e avoid crash when chart model is disposed
Change-Id: I70c3a06e2aa9112cd5a47b7d8839c4bd701cfc1e
2015-07-31 17:38:40 +02:00
00edc9567f Some (mostly HIG) tweaks to chart axis panel
+ added a text orientation spinbox to .ui file, but it does nothing so
far

Change-Id: Idb9177683c46fba50a153aff795aab7a2f419694
Reviewed-on: https://gerrit.libreoffice.org/17402
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-30 15:29:14 +00:00
025fb3c660 prevent panel update when updating values from panel
Change-Id: I10debb5119ce78638db42315594cda4d65092fb0
2015-07-30 14:13:32 +02:00
bead8d0109 also handle line width correctly
Change-Id: Ia564d3c9b821a09586a0bcb32ee3f827e71f43de
2015-07-30 05:45:25 +02:00
3dc00a8de9 handle line dash in chart line panel
Change-Id: Ia3d466c269eef62f8fa419d15869f44213a6e001
2015-07-30 05:45:24 +02:00
e517948e71 set some properties from chart line panel
Change-Id: Idbe26d7ea554512391b22299ac6dccaeaa71d584
2015-07-30 05:45:23 +02:00
57dcf78e6b provide structure for chart line panel
Change-Id: I75204a012e4bc59f40a06db814bb9057a1cf8598
2015-07-30 05:45:22 +02:00
2d4223e326 Some (mostly HIG) tweaks to chart data series panel
Additional tweak: use 'Data series %1' as frame label, substitute
%1 by real series name

Change-Id: Id5bee4c2e52ccd98fa40649ec539b3efdee55962
Reviewed-on: https://gerrit.libreoffice.org/17387
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-07-29 15:46:11 +00:00
93d301a287 Some (mostly HIG) tweaks to chart elements panel
As I wanted to represent subsections as frames (it looks kinda
better with bold labels), I tried to emulate grid behaviour by
putting widgets into 2 size groups

Other tweaks include disabling legend position listbox when legend
is not to be shown and missing clear() of that listbox

Change-Id: I0b635fe5aba1580542cf982e2e6be02eb0056352
Reviewed-on: https://gerrit.libreoffice.org/17386
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-07-29 15:40:10 +00:00
2d8f1faa97 fix the last transparency gradient issues in the chart area panel
So apparently I was looking up the gradient in the wrong table.

Change-Id: I26de6f9bb5f9baf65a7856682a327da611da3ae7
2015-07-28 02:52:05 +02:00
88f5d4ce86 use common fill property names in chart2
Change-Id: I9445344efc70d872fdb9c9a8cc49838210861a7b
2015-07-28 00:59:13 +02:00
65c2570e86 handle fill float transparence in chart area panel
Change-Id: Ibf72ba72ec193638f389167aab415b94a383f3d1
2015-07-28 00:59:12 +02:00
e5440e415a -Werror,-Winconsistent-missing-override
Change-Id: I6975b340e42b113650a6c6ba51fdb558af493132
2015-07-27 10:04:40 +02:00
9ba833f014 don't show the area sidebar for panels where it makes no sense
Change-Id: I06655e0574b28a88db920424fa515b8350133f10
2015-07-26 00:27:03 +02:00
87f750f1c5 also update for the first selected object
Change-Id: I7df8772c7414df694eda5ea30b74eccd6e9b98db
2015-07-26 00:27:02 +02:00
5845e73783 handle chart wall correctly in area panel
Change-Id: Iacd9498884a20357f217e1165a3422b6f1e2aa81
2015-07-26 00:27:02 +02:00
7b9818c4cc handle bitmap in chart area panel
Change-Id: I3137fc1ac066b712594d0cf471ca4eb8a344c0bd
2015-07-26 00:27:00 +02:00
8ab10c27be update hatch in chart sidebar
There is a huge level of insanity in the hatch handling. Apparently
different parts of the code use different case of the hatch id which
makes it difficult to handle it.

Change-Id: I5674e21a6c9a2d01d7b641473e00ab5e2bcaffd4
2015-07-26 00:27:00 +02:00
b5c0f852b5 update gradients in sidebar as well
Change-Id: I0dc737c133e905d75fab23457fb86c8d2b724ce8
2015-07-26 00:26:59 +02:00
e4daf8be5e this nasty update cycle was causing many issues
Setting the property from the sidebar was causing the model to be
changed and therefore updating the sidebar again.

Change-Id: I9ca690ae05d4cb0f2ce16f905a29582cc9e86f64
2015-07-26 00:26:58 +02:00
b3a5230459 update some area properties
Change-Id: Iab888226ef1b8f18a6cdfd0ddf58077405306510
2015-07-26 00:26:57 +02:00
427f28ea2f add selection change listener to area panel
Change-Id: I4e3f0c1c669ec1c584cc2d6932fd78e177effa89
2015-07-26 00:26:56 +02:00
bc4592132f add selection change listener
This finally allows us to handle the case where you switch between
objects of the same type.

Change-Id: Ic13e15e2a426d08995a577dfc1b7ee6f7da04f30
2015-07-26 00:26:56 +02:00
0635208edf handle more than one chart with chart sidebar
Change-Id: I4998904a9273f2c67114a246d7f234843602573c
2015-07-26 00:26:55 +02:00
cfac266d06 implement a few more methods
Change-Id: Ieab088f2ad48f313c913424c60a10b59de4e0bcb
2015-07-26 00:24:42 +02:00
c36df7c084 avoid a crash that occures sometimes
Change-Id: Iccbdfdb8a46b45b76756ff8080757db3770d691c
2015-07-26 00:24:41 +02:00
0066d74fe5 dispose all children
Change-Id: I96501640bc15836476eaa6ff7784ab299277ced9
2015-07-26 00:24:40 +02:00
ab0c81c097 handle some of the property changes correctly in area panel
Change-Id: I107245f52504c6dc059554346e00402534cf6243
2015-07-26 00:24:39 +02:00
01f5b49eb7 add skeleton for chart area sidebar panel
Change-Id: I5dc78fede2a51396086a8e4fde627c83c383de24
2015-07-26 00:24:35 +02:00
c8b5979309 finish error bar panel
Change-Id: I954b858ea76c949fe3e5de15e3ed45a7aba6bb2d
2015-07-26 00:22:00 +02:00
c84dd5135a fix build 2015-07-18 00:31:35 +02:00
b7f20ddfab add skeleton for error bar panel
Change-Id: I397b10d95356a1d376e868af6a93077fd996b680
2015-07-18 00:22:43 +02:00
aba930219c forgot to add it
Change-Id: I64c770f2a30b69b92e48873385c4d37a56101f07
2015-07-17 21:29:50 +02:00