David Faure
c7ab521ee7
Merge remote-tracking branch 'origin/KDE/4.7' into origin-frameworks
...
Conflicts:
experimental/libkactivities/
plasma/applet.h
plasma/theme.cpp
staging/libkcoreaddons/src/jobs/kjob.cpp
2011-12-08 19:06:24 +01:00
Aaron Seigo
7aa9da0039
correct indentation
2011-12-08 12:54:28 +01:00
Aaron Seigo
a859f6915c
compress changed notification events and share the blur effect watcher between themes
2011-12-08 12:54:28 +01:00
Aaron Seigo
359cc3d68a
the effect watcher is not blur specific
2011-12-08 12:54:28 +01:00
Aaron Seigo
0abdaf646d
as theme already reads the plasmarc file, use it to cache the tooltipdelay as well
2011-12-06 22:43:43 +01:00
Aaron Seigo
90b02f3973
massive step towards QGraphicsView being separated from libplasma
...
* remove extenders (never panned out, used by exactly two components that we can find .. anywhere)
* move animations to libplasmagqv
* schedule js anims to be put into the js scriptengine
* move all QGraphicsProxyWidgets, except for IconWidget which is still used by PopupApplet, into libplasmaqgv
* create a subclass-able private class for Applet
TODO: move out icon widget, address FIXMES in graphicswidgetappletprivate.cpp and decide how to register the "right" private class for instantiation in Applet ctors
2011-11-17 14:43:37 +01:00
Stephen Kelly
e23c2dfbd6
Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
...
Conflicts:
CMakeLists.txt
cmake/modules/FindNepomuk.cmake
kdecore/tests/kstandarddirstest.cpp
kdeui/util/kkeyserver.h
kio/kio/accessmanagerreply_p.h
kio/kio/hostinfo.cpp
plasma/containment.cpp
plasma/data/services/plasma.protocol
plasma/popupapplet.cpp
plasma/tooltipcontent.h
plasma/widgets/videowidget.h
2011-08-25 19:43:08 +02:00
Aaron Seigo
db97a9b6cb
add missing smallest font support for qml and js widgets
2011-08-17 18:08:00 +02:00
Marco Martin
33e9192346
Merge branch 'libplasma2' into frameworks
...
Conflicts:
plasma/CMakeLists.txt
plasma/popupapplet.cpp
2011-08-12 11:45:49 +02:00
Aaron Seigo
f0d247f9c6
remove an unused variable
2011-08-07 01:07:15 +02:00
Aaron Seigo
eb87458163
remove an unused variable
2011-08-03 16:45:28 +02:00
Christoph Feck
25869b4e9d
Fix accessing pixmapCache after it is deleted
...
BUG: 275570
FIXED-IN: 4.7.1
(cherry picked from commit f5b095fdaaae164ef04dd46dfb4fb97a8aa87768)
2011-07-30 21:21:31 +02:00
Christoph Feck
d5d5ba688f
Fix accessing pixmapCache after it is deleted
...
BUG: 275570
FIXED-IN: 4.7.1
2011-07-30 21:18:38 +02:00
Aaron Seigo
7c8cf530e1
Merge remote-tracking branch 'origin/master' into libplasma2
...
Conflicts:
plasma/theme.cpp
2011-07-30 20:20:10 +02:00
Till Adam
9a9d2bd419
EffectWatcher only exists on X11. (cherry-picked from 826a1eb)
2011-07-30 13:37:14 +02:00
Till Adam
ece6aae05d
EffectWatcher only exists on X11.
2011-07-30 13:25:32 +02:00
Aaron Seigo
82eee5c3b7
avoid compiling in debug strings when compiled without debug
2011-07-29 15:46:52 +02:00
Fredrik Höglund
d43d4315aa
plasma: Use the new KWindowSystem::compositingChanged() signal
...
(cherry picked from commit b7b4358542e205c027ccd2718f43052851ff7152)
2011-07-28 23:41:56 +02:00
Fredrik Höglund
836b53ff56
plasma: Use the new KWindowSystem::compositingChanged() signal
2011-07-28 23:37:17 +02:00
Aaron Seigo
e525c88cb2
discard discoveries only when the svg elements also go away; we don't care about colors
2011-07-22 18:06:35 +02:00
Aaron Seigo
a34e41b546
put a found-paths cache in Theme
2011-07-22 18:06:23 +02:00
Aaron Seigo
2bf802765d
discard discoveries only when the svg elements also go away; we don't care about colors
2011-07-22 17:56:21 +02:00
Aaron Seigo
763fb8927c
discard discoveries only when the svg elements also go away; we don't care about colors
2011-07-22 17:55:57 +02:00
Aaron Seigo
c707923086
put a found-paths cache in Theme
2011-07-22 17:37:10 +02:00
Aaron Seigo
69a6558a00
put a found-paths cache in Theme
2011-07-22 17:34:46 +02:00
Aaron Seigo
6e721dcdf1
no longer provide access to the package from the class, let Package do that
2011-07-15 12:57:02 +02:00
Aaron Seigo
b9d4f2f042
merge findInCache methods
2011-05-20 08:23:43 +02:00
Davide Bettio
6455fefd09
Please don't set the default wallpaper in plasma/theme.cpp, configure the theme metadata file instead.
2011-04-27 18:31:12 +02:00
Sebastian Kügler
547231f381
tame font family for CSS, makes it work =)
2011-04-24 14:22:18 +02:00
Aaron Seigo
d83bb2a72c
protect usage of svg element cache config
...
this needs to be thoroughly checked over and tested before backporting;
seems this fixes some occassional crashes users are running into.
CCMAIL:notmart@gmail.com
2011-01-30 13:47:29 -08:00
Marco Martin
e0815d83a6
discard the cache when the blur behind changes
...
svn path=/trunk/KDE/kdelibs/; revision=1215741
2011-01-19 13:50:58 +00:00
Marco Martin
091d781dc5
* don't reset the watched properties: it breks kwin
...
* check for the blur property only on PropertyNotify and if is on the property we actually want
svn path=/trunk/KDE/kdelibs/; revision=1214853
2011-01-16 17:25:28 +00:00
Marco Martin
9f5fdb1385
disable the effect watcher since it seems to have issues
...
svn path=/trunk/KDE/kdelibs/; revision=1214635
2011-01-15 17:55:06 +00:00
Marco Martin
7df2e103c5
a new private class EffectWatcher, used to be signaled when a particular KWin effect is enabled/disabled.
...
in future could become public but only after has been proved is really correct
svn path=/trunk/KDE/kdelibs/; revision=1214633
2011-01-15 17:51:55 +00:00
Aaron J. Seigo
f41ce1601b
FEATURE: formalize how the homepage for branding purposes is gotten at via the theme.
...
(this has been a TODO in the code since 4.2!)
svn path=/trunk/KDE/kdelibs/; revision=1209505
2010-12-27 00:46:17 +00:00
Manuel Mommertz
0594bd9d85
Use correct on-disk pixmap cache
...
svn path=/trunk/KDE/kdelibs/; revision=1206190
2010-12-13 20:14:52 +00:00
Davide Bettio
6855137e40
Use Horos as default wallpaper instead of Ethais.
...
svn path=/trunk/KDE/kdelibs/; revision=1206147
2010-12-13 15:18:29 +00:00
Albert Astals Cid
9f7b20829a
Replace slow foreach constructs with faster ones
...
Acked by Marco
svn path=/trunk/KDE/kdelibs/; revision=1206126
2010-12-13 13:36:08 +00:00
Aaron J. Seigo
5b9d43d060
* this introduces a Theme object used by Svg to cache the rendering of svg's asking to be colorized, but which are not part of the theme. this requires an independent cache and set of color files, therefore a second Theme object.
...
* not dropping the cache just because we change themes; this made sense when just plasma-desktop used this or when the apps using Plasma::Theme all used the same theme. this is no longer the case, really, and having applications changing themes randomly kicking the cache out from underneath other apps that may still be using it is undesirable. this does mean that cache files will accumulate. not sure that's a big issue as they don't tend to be large and are in an area marked as "cache" (so ripe for clean-without-care)
* cleanups such as getting rid of superfluous use of Plasma:: namespacing in code that is now in libplasma, such as the stylesheeting. (it was from a plasmoid sebas wrote originally, iirc, explaining the historical reason for the explicit namespacing)
svn path=/trunk/KDE/kdelibs/; revision=1203345
2010-12-03 17:09:09 +00:00
Aaron J. Seigo
ff8aea50c6
use the theme itself, not the default theme, for the style sheet. also fix up some whitespace warts.
...
svn path=/trunk/KDE/kdelibs/; revision=1201685
2010-11-28 11:13:27 +00:00
Ingomar Wesp
00e6b5af10
was a bit overzealous with this const'ification. sorry...
...
svn path=/trunk/KDE/kdelibs/; revision=1191194
2010-10-29 22:30:10 +00:00
Ingomar Wesp
e049ecb34d
Do not require an exact match for size hinted elements, but search for the smallest size hinted element that is bigger than the display size. Thanks to mommertz, who outlined and mentored this patch, element ids are cached both locally and in the theme, so no additional calls to createRenderer are required.
...
This was discussed in <http://svn.reviewboard.kde.org/r/5689/ >.
svn path=/trunk/KDE/kdelibs/; revision=1191192
2010-10-29 22:14:18 +00:00
Manuel Mommertz
8bab6af5ff
add hover and focus colors for view elements to Plasma::Theme::color()
...
svn path=/trunk/KDE/kdelibs/; revision=1184285
2010-10-09 18:14:11 +00:00
Aaron J. Seigo
298921962f
this string already exists, svgzName.
...
svn path=/trunk/KDE/kdelibs/; revision=1183475
2010-10-07 13:51:31 +00:00
Ivan Čukić
14e2cdd885
Fixed fallback element breakage introduced by 1182546
...
svn path=/trunk/KDE/kdelibs/; revision=1183402
2010-10-07 11:09:06 +00:00
Aaron J. Seigo
103415153b
save a couple when searching deeper
...
svn path=/trunk/KDE/kdelibs/; revision=1182546
2010-10-04 21:50:42 +00:00
Aaron J. Seigo
8a5f0f2f39
use QLatin1Literal; probably not necessary everywhere QStringBuilder is used in these files, as some are not hot paths, but the cache look ups at least are
...
svn path=/trunk/KDE/kdelibs/; revision=1181949
2010-10-02 20:06:47 +00:00
Manuel Mommertz
1d82f58e41
allow SVGs to use systemcolors
...
svn path=/trunk/KDE/kdelibs/; revision=1181642
2010-10-01 16:04:34 +00:00
Manuel Mommertz
93242199ac
ButtonBackgroundColor should be the normal background of buttons not the active one
...
svn path=/trunk/KDE/kdelibs/; revision=1180219
2010-09-27 12:08:24 +00:00
Aaron J. Seigo
18d8032b3b
use QStringBuilder
...
svn path=/trunk/KDE/kdelibs/; revision=1178056
2010-09-22 07:46:09 +00:00