Commit Graph

13688 Commits

Author SHA1 Message Date
Alex Merry
d4ea9ef66d Fix CamelCase header installation.
Installing the Plasma directory (which contains the CamelCase forwarding
headers) breaks on case-insensitive filesystems (eg: Windows) because it
is that directory also contains the lowercase build-time-only forwarding
headers (they are put in the plasma directory). These then overwrite the
real lowercase headers with ones that forward to the source directory.

However, the first argument to ecm_generate_headers is a variable name
containing exactly the CamelCase headers that should be installed,
avoiding this issue rather neatly.

Reviewed-by: Patrick von Reth
2015-01-31 13:01:49 +00:00
Marco Martin
0161b2fce3 don't load hidden toolboxes
Change-Id: I96badc3f3b0c1ff0986bc74570f3dd19073e83b3
2015-01-30 21:05:38 +01:00
Marco Martin
7ef09d883d reload the configuration when plasmarc changes
Change-Id: I77a5a1d49d6d260bc302203658cc9790858dbda7
CCBUG:343569
2015-01-30 16:44:12 +01:00
Marco Martin
2f0f7716e4 default to AutoText as textformat
yep, we don't have access to the proper enum :/

Change-Id: I47bc0662e4204e5f510704dbece1f64a2d1517ce
2015-01-30 14:56:16 +01:00
Marco Martin
ea8974fa93 try to reposition before showing
to minimize dialog repositions, try to put it at the proper position before showing.

besides making things a bit snappier,
showing at 0,0 for an instant has some interesting sideeffects:
MouseArea has a rather strange way to manage hoverevents:
at window show, it will check if the item is under the absolute mouse position,
if so, will emit an entered() signal. This causes the Kickoff menu to
automatically select the last tab on first show, because for an instant
(that never gets drawn on the screen) all the tabs will actually be under the mouse cursor

Change-Id: Ie9fc45f2a5076c3f49b42e8a7cee109b04db46b9
2015-01-30 14:40:25 +01:00
Xavier Vello
867098ea14 Removed hardcoded colors from viewitem.svgz
selected-bottom* and hover-bottom* were still hardcoded blue
2015-01-29 13:12:00 -05:00
Sebastian Kügler
b931c00031 Fix fallback from invalid L&F packages
The mechanism should have deleted the old key from the config if it was
invalid and then try again in order to get the default. As we were
deleting the wrong key (actually the value of the shell package key),
this was turning into a recursive loop. Deleting the correct key
obviously fixes this.

Thanks Bille for reporting!

Reviewed-by: Marco Martin

BUG:343510
2015-01-29 13:35:31 +01:00
Marco Martin
2d7dfd2147 fix tooltip positioning
don't ever try to reposition the tooltip on showEvent

Change-Id: Ie1c159c092baf480ab3cbb83e537b28e354973bf
2015-01-29 13:17:39 +01:00
Marco Martin
534733558c restore hint-apply-color-scheme support
make hint-apply-color-scheme work (kiconeffect based coloring),
and make sure the kcolorschemes are reloaded when app palette changes
and the theme follows system colors

BUG:343389
Change-Id: I0a7a7eb0f89ed0948e618f1d608521f235aa1959
2015-01-29 13:17:39 +01:00
l10n daemon script
8fb6f677dd SVN_SILENT made messages (.desktop file) 2015-01-29 09:16:20 +00:00
Marco Martin
bdda85a40d restore hint-apply-color-scheme support
make hint-apply-color-scheme work (kiconeffect based coloring),
and make sure the kcolorschemes are reloaded when app palette changes
and the theme follows system colors

BUG:343389
Change-Id: I0a7a7eb0f89ed0948e618f1d608521f235aa1959
2015-01-28 17:54:26 +01:00
Marco Martin
993cdb54a6 collapse tooltips that only have text
if a tooltip has only text, expecially only title or only subtitle, make
it as small as possible

BUG:343390
Change-Id: I5eff081613c9c64c78b8c5741bac67409a112c98
2015-01-28 12:41:34 +01:00
Marco Martin
8044e15a71 export textFormat for the tooltip
in some cases richtext in the tooltip is not desired, like
in the case of klipper. export a property to set
the text format

Change-Id: Ib4e8e913e060b868188b4f0b46db2162f33d8bb1
2015-01-28 10:20:57 +01:00
Marco Martin
c17ed3a107 fix layout in reverse mode
Change-Id: Ib81611f149821fc79669ae191a03daeba840b802
2015-01-27 19:36:58 +01:00
l10n daemon script
4b1970cf83 SVN_SILENT made messages (.desktop file) 2015-01-27 11:23:41 +00:00
Lukáš Tinkl
f29ba02777 fix tooltip docu 2015-01-26 15:09:48 +01:00
Marco Martin
32c5eb77db same tint between panel and dilogs without blur
when no blur, both the dialogs and the panel are opaque to ease
text reading

Change-Id: I0199fe978ab22b57fd13d262c73b351cfdbfba3f
2015-01-26 15:05:10 +01:00
l10n daemon script
fb4932bf3c SVN_SILENT made messages (.desktop file) 2015-01-26 09:01:51 +00:00
l10n daemon script
a39f20cc04 Upgrade ECM and KF5 version requirements for 5.7.0 release. 2015-01-23 20:43:53 +00:00
Marco Martin
4c1438c59a Make keyboard shortcuts work
QAction keyboard shortcuts cannot work with QML2 (and probably newver will
since in Qt qtquick and qwidgets cannot depend from each other in any way)
so do a simple keyboard shortcut matching here

BUG:336203
Change-Id: I2d7ada7dfcb0e326e63ce7f1e39573709f6fe560
2015-01-23 20:10:22 +01:00
Marco Martin
9898e1be4f emit immutabilityChanged in all cases it changes
when an applet or cont is deleted, when invisible has systemimmutable as
its immutability (then restored to mutable if restored)
notify correctly the change

BUG:342704
Change-Id: Iea37fd287d6b120e161f5ac7ad4a17a078fec9bb
2015-01-21 15:03:15 +01:00
Marco Martin
237cb24b2d undelete panels when applet gets undeleted
when a deleted applet of a deleted panel
gets undeleted, undetele before the panel itself
that's the safest and most "expected" outcome
BUG:343096

Change-Id: Iece7710028052b2118f590377fd39e3c78279b11
2015-01-21 13:57:45 +01:00
l10n daemon script
b46bd92d0d SVN_SILENT made messages (.desktop file) 2015-01-21 08:54:32 +00:00
Marco Martin
7255728805 fix stylesheet
Change-Id: I2c0f6b98ea750a0abd474d1ddfdffac74d7b39ac
2015-01-20 14:41:50 +01:00
Kevin Funk
9dda1204c8 Run convert-to-cmake-automoc.pl over files 2015-01-20 00:00:31 +01:00
l10n daemon script
65f867b152 SVN_SILENT made messages (.desktop file) 2015-01-19 08:58:56 +00:00
Hrvoje Senjan
1403295db8 Add missing QDataStream and QObject includes
Fixes build with Qt 5.5
2015-01-17 17:48:48 +01:00
Marco Martin
05cea81fdd make sure animation is disabled the first time
make sure the animation is disabled when the tooltip appears
for the first time.
since the correct implicitsizes can be calculated only when the
tooltip window is visible, we need to show the tooltip window
then calculate the final size and position, and last move it
*without animations*

Change-Id: I2d0f653e860104f17a62203565d5002a16d0dfae
reviewed-by: David Edmundson <kde@davidedmundson.co.uk>
BUG:341933
2015-01-16 18:01:17 +01:00
Marco Martin
99128b73eb never resize a dialog bigger than the screen
in cases screen resolution is quite low, and font size is enormous, popups
tend to become bigger than the screen
BUG:337041

Change-Id: I840868dbd7db665a3953687977d30dd6c3b4a386
2015-01-16 12:20:58 +01:00
Weng Xuetian
f8faf5380a Change string from non-existing %2 to %1.
Change-Id: I52b69a7bd65118c5d0a8dc5bc1649ca0157769d4
CCMAIL:notmart@gmail.com
2015-01-15 13:44:02 +01:00
Jan Kundrát
1d064f8bd2 Merge "Hack: silence failing test on Qt 5.2" 2015-01-15 13:42:53 +01:00
Marco Martin
5d62905a03 make sure pixelration is not 0
fix rendering

Change-Id: Idb5716ded802f4b6e68dabd82449053726977641
2015-01-14 17:06:02 +01:00
Jan Kundrát
907e907e85 Hack: silence failing test on Qt 5.2
I guess nobody cares enough to debug why this fails on Qt 5.2, so let's
just silence this error blacklisting this particular test case on Qt
prior to 5.3.

I have no idea whether this is a good fix.

BUG: 342676
Change-Id: Ib53b70f740157e1a06383a9f0a78c3fccf5b930c
2015-01-14 16:37:10 +01:00
Marco Martin
d96a8505d9 a check more on centering
Change-Id: Ib22fcc6fe727c8b2b5ddc2473663c1e56b1dad09
CCBUG:342537
2015-01-13 15:59:17 +01:00
Marco Martin
af0dffd89b don't forward events if not visible anymore
BUG:342444
Change-Id: I58bfd951e4f55d07c8f3327881354a678a7f65ba
2015-01-13 13:18:00 +01:00
Marco Martin
c1814477fd trigger button switch on mouse wheel
BUG:342778
Change-Id: Idfa06319ac84762040eea07074042061a4bc313c
2015-01-13 12:49:35 +01:00
l10n daemon script
d255c63ce2 SVN_SILENT made messages (.desktop file) 2015-01-13 11:36:35 +00:00
Marco Martin
7d00d30f44 reset the internal size copy when the theme changes
Change-Id: I1800076e98bc543ffdea3f4c92d5a08f934f7573
2015-01-13 10:50:20 +01:00
Kai Uwe Broulik
7476decf29 Fix errorneously opening a broken context menu when middle clicking Plasma popup
BUG: 342702
2015-01-11 17:50:52 +01:00
Alex Merry
48e9c2f29e Update installation variables. 2015-01-10 17:47:31 +00:00
Elias Probst
2f2e7ca0f1
Deprecate kservice_desktop_to_json(), use kcoreaddons_desktop_to_json().
REVIEW: 121958
2015-01-09 20:49:12 +01:00
l10n daemon script
bf1e90d688 Upgrade KF5 version to 5.7.0. 2015-01-08 22:45:15 +00:00
l10n daemon script
41777ed685 SVN_SILENT made messages (.desktop file) 2015-01-06 10:55:19 +00:00
l10n daemon script
050c7707bf SVN_SILENT made messages (.desktop file) 2015-01-03 09:14:08 +00:00
Kai Uwe Broulik
94ecb4ff43 Let month menu navigate in current year
Rather than jumping back to the current year unconditionally, just navigate
inside the current year.

BUG: 342327
REVIEW: 121774
2015-01-02 14:11:19 +01:00
Kai Uwe Broulik
6f58ddc05d Expose new OnScreenDisplay window type in Dialog
REVIEW: 121301
2015-01-02 12:18:21 +01:00
l10n daemon script
1afbc2c461 SVN_SILENT made messages (.desktop file) 2015-01-02 09:15:04 +00:00
l10n daemon script
0af8a156a9 Upgrade ECM and KF5 version requirements for 5.6.0 release. 2014-12-31 14:26:46 +00:00
Marco Martin
1f01376198 remove set_and_check Plasma_INCLUDE_DIR
since Plasma_INCLUDE_DIR doesn't seem to be used anywhere and fails on CI
experiment with removing it, to see if all packages depending from plasma
build

Change-Id: I1b8f99b0d7e9de2f33674646e273f141646eaeb2
2014-12-30 13:55:07 +01:00
Marco Martin
bc2253b666 find dependency then include kf5plasmatargets
Change-Id: I9c28e7c416deb3d040a0a97d6dbad8a5d4fbce10
2014-12-30 13:07:33 +01:00