Commit Graph

13189 Commits

Author SHA1 Message Date
Marco Martin
9b418853f7 new shiny icons for kickoff by alake 2014-06-19 11:28:57 +02:00
Sebastian Kügler
a5f25771a2 Reduce Units footprint
- internally, smallSpacing, largeSpacing and gridUnit are entangled, and
  all use the font's rendered size. This means we can save a
  QFontMetrics construction by merging the updating of these three
  props.
- A wanted side-effect is that the updating of spacing and gridunit now
  happens at the same time, so they're updated consistently in the UI.
- Also, use compile-time connects for the Plasma::Theme::themeChanged
  connection
2014-06-19 03:12:27 +02:00
Sebastian Kügler
f8422b903c Fix APIDOX for some properties 2014-06-19 03:10:43 +02:00
Sebastian Kügler
453c40efee increase units.smallSpacing
1/8 is really ridiculously small, it ends up being 2px on almost all
systems, and using it between UI elements makes them look really
cramped. 1/4 works much better, and makes this property actually useful.
2014-06-19 02:50:14 +02:00
Eike Hein
94430a6784 Tweak margin hints on task frame. 2014-06-18 23:59:58 +02:00
Marco Martin
aec4311adb remove breeze-complementary
add around complementary color groups
2014-06-18 19:42:00 +02:00
Marco Martin
b755bd1e32 ColorGroup is part of Theme 2014-06-18 19:22:02 +02:00
Marco Martin
c54d3d5538 colors are not flags 2014-06-18 19:09:18 +02:00
Marco Martin
4ad2cc5196 new color group of "complementary" colors
for areas intended to have independent background and text color than
all the rest, like the Logout dialog

if Colors:Complementary is not present in the theme, it falls back to
normal colors
2014-06-18 19:02:08 +02:00
Martin Gräßlin
d7d71e8a66 [declarativeimports/core] Do not crash if FadingMaterialShader failed to complie
Without GLSL our shader doesn't compile and Qt aborts when accessing the
uniforms. We don't want that, abort is never nice.

BUG: 336272
REVIEW: 118813
2014-06-18 15:13:58 +02:00
Marco Martin
1f633ad0a1 fix tooltip resize in folderview
also, detach from old layouts if the mainitem changes
2014-06-17 21:55:45 +02:00
Martin Klapetek
de43b9b547 Remove bad merge leftovers 2014-06-17 17:56:05 +02:00
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