Commit Graph

13027 Commits

Author SHA1 Message Date
Martin Klapetek
6240b9e7d5 [calendar import]Fix months capitalization
Should be done by the view/label rather than hardocding it
2014-06-17 17:55:01 +02:00
Martin Klapetek
b0f56eed9b [calendar import]Set 'today' properly 2014-06-17 17:54:32 +02:00
Martin Klapetek
da33d6211f [calendar import]Remove useless function 2014-06-17 17:25:05 +02:00
David Edmundson
b44e0205bc Add icon size "tiny"
REVIEW: 118798
2014-06-17 17:14:15 +02:00
Aleix Pol
97cf403288 Reduce Applet::containment calls
It's not a cheap call, and there's no need to re-calculate it every time.
2014-06-17 16:02:43 +02:00
Aleix Pol
e1051994ad Ensure that the containment's corona is properly calculated.
The used corona is either the containment's parent or, in case the parent
is an applet, it's containment's corona. With this change we ensure the
proper corona is always found.
This change requires screenContainment to be able to walk through the
object tree in case it's not a containment directly managed by it.

BUG: 334500
2014-06-17 16:02:08 +02:00
Marco Martin
34226faec1 one occasion less to crash
(on debug builds an assert is still possible)
2014-06-17 11:49:23 +02:00
Martin Klapetek
3188b417f4 Split startDate property into today and displayedDate in calendar component
Basically splits the Calendar::m_startDate into 'today' and
'displayedDate', where displayedDate is the date that is displayed (it
controls the days model etc) and can be manipulated by the user by eg.
changing months in the plasmoid, and today is the current day, populated
by our dataengine (which means it auto-updates with no need for a
timer).

This allows for greater flexibility and things like "Go back to today"
when eg. the plasmoid is hidden or when the user have browsed too far in
the calendar and just wants to get back to today (the button to do that
pending).

Also this fixes a problem where the time dataengine is being polled
every 30secs for the clock and would reset the calendar view as the
startDate is currently bound to the dataengine and the view resets on
that change.

REVIEW: 118668
CCBUG: 336304
2014-06-17 10:43:13 +02:00
Sebastian Kügler
bcde055673 Add test for ContextMenu
This enables and disabled menuitems with a timer, so we can see whether
dynamically updating these properties are propagated to the QMenu in the
proxy.

CCBUG:336281
2014-06-17 03:14:24 +02:00
Sebastian Kügler
5b38b9f850 Fix MenuItem.visible and MenuItem.enabled
Update visible and enabled property of the action backing MenuItem when
these properties change.

BUG:336281
2014-06-17 03:14:24 +02:00
Kai Uwe Broulik
76175fafa6 Handle mouse wheel events in PlasmaComponents.Slider
REVIEW: 118753
2014-06-16 20:07:16 +02:00
Marco Martin
3088611227 simplify the svg, fix glitch
same look, many less elements in the svg
2014-06-16 19:25:31 +02:00
Marco Martin
01fc75aa78 more precise actionbutton
specific 22x22 graphics and ensure the graphic elements always have an even size

BUG:335547
2014-06-16 19:07:58 +02:00
Marco Martin
992b64a167 small workaround to show all the highlight borders
BUG:336210
2014-06-16 15:57:45 +02:00
Marco Martin
751b773db2 if the applet has width/height in root, use it
CCBUG:336291
2014-06-16 14:35:04 +02:00
Kai Uwe Broulik
60ddc9f25d Use RotationAnimator for BusyIndicator
This makes the animation run directly on the scene graph to not stress the CPU that much

REVIEW: 118769
CCBUG: 311799
CCBUG: 336274
2014-06-15 22:28:21 +02:00
l10n daemon script
001e37987f SVN_SILENT made messages (.desktop file) 2014-06-15 08:26:47 +00:00
l10n daemon script
d72b0d45fa SVN_SILENT made messages (.desktop file) 2014-06-14 08:25:31 +00:00
Marco Martin
63d2476521 some icons for kickoff 2014-06-13 21:00:45 +02:00
Marco Martin
369c734bd9 align to pixel grid 2014-06-13 20:59:34 +02:00
David Edmundson
16dc4705c7 Rename presence applet svg to match XDG icon names 2014-06-13 20:25:31 +02:00
Marco Martin
c6e7961088 ensure mask and normal frame have the same borders 2014-06-13 17:15:06 +02:00
Hrvoje Senjan
fddf7c79a6 Use correct wallpaper size 2014-06-13 17:04:18 +02:00
Marco Martin
05d71947c8 svgColorGroup -> colorGroup 2014-06-13 15:40:47 +02:00
Jonathan Riddell
9513a005a8 switch to Next wallpaper 2014-06-13 13:16:26 +01:00
Marco Martin
c44c3b30e2 off by one in positioning
position the dialog at exactly the right-most edge of the screen
it was off by exactly one pixel
2014-06-13 13:54:23 +02:00
Marco Martin
bb40981c1f use proper colors 2014-06-13 12:43:31 +02:00
Marco Martin
f86f2361ab all opaque stuff follows stylesheets 2014-06-13 12:35:10 +02:00
Marco Martin
89f52e8769 get rid of shutdowndialog
we have the new shiny implementation that doesn't use the ol'moon
2014-06-13 12:28:15 +02:00
Marco Martin
42308b136e use stylesheet for opaque background 2014-06-13 12:08:26 +02:00
Marco Martin
09d0c44267 leave a bit of room around headings
make sure heights are integer
CCBUG:336123
2014-06-13 11:43:41 +02:00
l10n daemon script
ba6698e140 SVN_SILENT made messages (.desktop file) 2014-06-13 09:04:06 +00:00
David Edmundson
111ef0b18e Don't install dummydata folders with plasma_install_package 2014-06-12 16:42:43 +02:00
Marco Martin
ea2f1de405 use proper color classes 2014-06-12 16:22:36 +02:00
Martin Klapetek
72c5aff002 Make the calendar heading & grid have the same margins
BUG: 336121
2014-06-12 13:56:08 +02:00
l10n daemon script
b092bbed31 SVN_SILENT made messages (.desktop file) 2014-06-12 08:31:04 +00:00
Martin Klapetek
a177696c6c Update DataEngine sources only if they are used
REVIEW: 118669
2014-06-11 17:17:41 +02:00
l10n daemon script
dab9d5f303 SVN_SILENT made messages (.desktop file) 2014-06-11 08:21:23 +00:00
Martin Gräßlin
0d61746784 Small improvments to FadingNode and IconItem
* trigger an update after the animation finished as the IconItem needs to
  switch to SVGTextureNode again
* Don't connect needlessly to a lambda slot
* FadingMaterialShader had the texture bind swapped
* Fix virtual method hidden warning in FadingMaterialShader
* Use dynamic_cast instead of static_cast to convert to SVGTextureNode
  or FadingNode.

REVIEW: 118251
2014-06-11 07:55:01 +02:00
Andrew Lake
167c628665 add additional battery and brightness icons 2014-06-10 11:58:09 -07:00
Marco Martin
71cf5a3e9a set window mask when composite is off 2014-06-10 15:22:12 +02:00
Marco Martin
15280e336f resize immediately after applying max height
another async x11 weirdness, now the height stays correctly synced
2014-06-10 14:13:41 +02:00
Marco Martin
17bc7897e3 resize the framesvg in resizeevent
this makes it as synced as possible with the window
will still be behind the window size by exactly one frame
but at least is ensured is no more than one
2014-06-10 13:48:30 +02:00
Marco Martin
e35aee9cea Merge branch 'mart/svg/stylecolors' 2014-06-09 20:09:28 +02:00
Marco Martin
d3f73c59f3 apidoc 2014-06-09 19:44:52 +02:00
Marco Martin
fa95680a51 use color groups instead
the Text and Background colors can become buttonText or ButtonBackground
based on the svg property ColorGroup
2014-06-09 19:35:58 +02:00
Marco Martin
cac2704d50 prototype of more flexyble svg stylesheets
experiment in dynamic repacement of Text and Background
colors, in order to be able to generate icons of different colors
based on where they are (for instance if the normal background
is dark and the button background is light

at the moment supported an option to invert colors, one
to use the "highlight" color (if we want colored icons
on mouse over)
2014-06-09 17:35:46 +02:00
Martin Klapetek
292d06b537 Update the battery icon wth 0% aligned at 12 o'clock
CCBUG: 335636
2014-06-09 14:19:42 +02:00
Marco Martin
e558e44658 export the applet we're configuring 2014-06-09 13:24:52 +02:00
Bhushan Shah
86c1f46eaa Prevent crash when requesting icon with negative size
REVIEW: 118613
BUG: 335939
2014-06-08 22:39:54 +05:30