Commit Graph

13029 Commits

Author SHA1 Message Date
l10n daemon script
601836ad7f SVN_SILENT made messages (.desktop file) 2014-06-30 08:49:36 +00:00
l10n daemon script
b06bb52100 SVN_SILENT made messages (.desktop file) 2014-06-29 08:42:52 +00:00
Marco Martin
18b6d854a0 add missing files
REVIEW:118972
2014-06-27 15:13:46 +02:00
Marco Martin
6c54fb596d Don't expose color properties in c++ api
the color properties are remotely useful only when used from QML
and risk to explode in number in the future,
it's not a good thing for a public c++ api.

Also, they will become kinda deprecated as in largely replaced by
the ColorRole api. Too late to remove those properties completely,
but still last days to move them at least out of c++ api.
(and in qml they could be removed in the future in a 2.1 version
of the import while still being present in 2.0 if needed)

This moves the color properties is a theme subclass available only from QML

REVIEW:118972
2014-06-27 15:06:52 +02:00
Marco Martin
6754c86cae plasma version of user-identity 2014-06-27 13:18:44 +02:00
Marco Martin
ffcc0d43d8 use correct highlight color
CCBUG:336775
2014-06-27 11:11:24 +02:00
David Edmundson
3cfa88f8c4 Add workaround for scrollview disabling keyboard interaction
See https://bugreports.qt-project.org/browse/QTBUG-31976

Reviewed-by: Marco Martin
2014-06-26 15:51:36 +02:00
Eike Hein
4153a2c8ee Catch popup menus by window type, not class name.
The latter breaks for subclasses of QMenu.

Follow up to review 118361.
CCMAIL:martin.klapetek@gmail.com

Fixes libkonq menus opened from Folder popup dialogs closing the
dialog.
BUG:336702
2014-06-25 16:17:26 +02:00
David Edmundson
dc79190b8d Fix dialog's check for isTooltip
Qt::Tooltip is a mix of other flags (0x0001101)

using a simple & is not correct as any Window will have (0x0000001) set
and the bitwise & operation will return a non-zero value

REVIEW: 118906
2014-06-24 21:17:58 +02:00
Marco Martin
655e7fcc0d base on tabbar minimum width to show scrollbuttons
be more deterministic and now usually kickoff never shows the
scroll buttons

BUG:335392
2014-06-24 16:35:50 +02:00
Marco Martin
41722f7fb5 fix stylesheet 2014-06-24 15:04:28 +02:00
Marco Martin
f74b88a356 add a monochrome k menu logo 2014-06-24 14:51:53 +02:00
Kai Uwe Broulik
347e073df3 Add paintedWidth and paintedHeight properties to WindowThumbnail
REVIEW: 118886
2014-06-23 19:58:15 +02:00
Aleix Pol
ce5d182510 Make Application component async
We're not using it for concatenating process calls, so it doesn't make
sense to make it block.

Reviewed by David Edmundson
2014-06-23 15:37:47 +02:00
Marco Martin
e09a2eb44a check pointer validity, crash--
even if that code path shouldn't be hit, always better avoiding a crash
(proper fix coming)
CCBUG:336491
2014-06-23 14:50:06 +02:00
Marco Martin
57001cfcf4 refine button to adapt better to any palette
BUG:336471
2014-06-23 14:10:20 +02:00
Christoph Feck
fec57bdaa2 Use QElapsedTimer for data engines
forward port of http://commits.kde.org/kdelibs/ac5d3d2f916c0a461121d4d033642227bd743edb

CCBUG: 336551
REVIEW: 118869
2014-06-23 13:03:16 +02:00
l10n daemon script
ac4f519188 SVN_SILENT made messages (.desktop file) 2014-06-23 08:35:39 +00:00
Andre Woebbeking
35ee077ee3 warning: ignoring return value of function
CCMAIL:mart@kde.org
2014-06-22 20:37:18 +02:00
Fabian Bornschein
3152e678d9 update for some icons to fit in the overall design 2014-06-22 15:32:58 +02:00
Andrew Lake
e48d111806 fix stylesheet for battery and brightness icons 2014-06-21 10:36:08 -07:00
Andrew Lake
66911cbc30 align battery and brightness icons to pixel grid. 2014-06-21 10:06:42 -07:00
Andrew Lake
c4091dcbcd tidy up sloppy highlight and focus on slider handle 2014-06-21 09:12:09 -07:00
Marco Martin
bc26ac1334 more familiar graphics for switch user 2014-06-20 20:33:57 +02:00
Kai Uwe Broulik
f89f9945c3 Split the battery.svgz
This moves some of the icons into a FDO icon spec compliant file with proper element name
2014-06-20 19:36:54 +02:00
Marco Martin
6603334b9b make the view's qml know about the wallpaper
better giving the access to the view qml rather than the containment

Reviewed by: Bhushan Shah <bhush94@gmail.com>
2014-06-20 19:04:09 +02:00
Vishesh Handa
5cd7040d8d Battery Icon: Rename elementIds to begin with filename
"battery-KeyboardBrightness" instead of "KeyboardBrightness"

this follows the convention, and this way it can be used with Plasma
IconItem
2014-06-20 18:31:00 +02:00
Marco Martin
55b5e815b5 ignore inactive containment in containmentAt
Reviewed by: Bhushan Shah <bhush94@gmail.com>
BUG:336168
2014-06-20 17:32:36 +02:00
Vishesh Handa
d3de99eb1e AppletQuickItem: Do not remember the popup dialog size
The popup dialog can currently never be resized, so it doesn't make
sense to record its height in a config file. Additionally, this also
causes problems when applet writers change the size of their plasmoid.
Since the old size is saved in the config file, it is shown with the old
dimensions instead of the new ones.

REVIEW: 118849
BUG: 336070
2014-06-20 17:31:57 +02:00
Marco Martin
3847be89fa don't crash if no colors file is provided
Reviewed by: Martin Gräßlin <mgraesslin@kde.org>
2014-06-20 14:42:13 +02:00
David Edmundson
c317939aba Add notify property to colorGroup
REVIEW: 118841
2014-06-20 00:21:33 +02:00
Marco Martin
2c9103ee19 position the slider bar at margins
is a way in between the verious fix attempts of 332587
BUG:336448
CCBUG:332587
2014-06-19 20:57:49 +02:00
Kai Uwe Broulik
549361cb42 Fix typo 2014-06-19 20:12:51 +02:00
David Edmundson
66e2b915f6 Replace ScrollArea with a QQuickControls ScrollView
Included is a plasma theme to make it look the same.
A known regression is that SectionScroller is temporarily removed
but that is currently not used in plasma-desktop
and this fixes a lot more problems than it causes.

REVIEW: 114283
2014-06-19 20:10:38 +02:00
Marco Martin
4f14f4ceb9 "configure" icon for config dialogs
BUG:336461
2014-06-19 20:03:31 +02:00
Marco Martin
17741fbfae prune ColorRole enum
all the former combinations are now obtained with
ColorRole + ColorGroup
2014-06-19 18:18:50 +02:00
Marco Martin
8eb1bc10f5 Introduce the ColorScope class
it's an import in core, and advertises itself as an "attached property"
with this we can:
say that all its chidren are of a certain context, like "button" or
"complementary"

then anywhere there will be available an attached property, as ColorScope,
so like:

PlasmaCore.ColorScope {
 group: PlasmaCore.Theme.Complementary

 PlasmaComponents.Label {
   text: "foo"
   color: ColorScope.textColor
 }
}
2014-06-19 17:40:14 +02:00
David Edmundson
f22dd8e571 Replace incorrect documentation 2014-06-19 15:14:03 +02:00
David Edmundson
21af3f8c81 Don't require mandatory subText in tooltip
REVIEW: 118838
2014-06-19 15:12:26 +02:00
Marco Martin
0ba92ad6c2 adjust to pixel grid 2014-06-19 11:50:58 +02:00
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