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
Marco Martin
33e9192346
Merge branch 'libplasma2' into frameworks
...
Conflicts:
plasma/CMakeLists.txt
plasma/popupapplet.cpp
2011-08-12 11:45:49 +02:00
Matthias Fuchs
0b9f5d68d2
Correctly display popups when using multiple screens
...
If there are multiple screens with different resolutions or which
are not alligned the same way then it could happen that popups at
the edge were drawn (partially) offscreen.
This patch fixes that issue.
REVIEW:102118
BUG:256835
FIXED-IN:4.7.1
(cherry picked from commit c50f180f29a5d46093e0172baf71f6dcf9f23281)
2011-07-31 13:10:00 +02:00
Matthias Fuchs
d2c63bfdcd
Use a qobject_cast instead of a dynamic_cast.
...
(cherry picked from commit f93aa997b1de14f76b6e1c8862992d590b77e776)
2011-07-31 13:09:48 +02:00
Aaron Seigo
011f79bca8
get rid of vestigal m_corona now
2011-07-30 20:21:15 +02:00
Aaron Seigo
296951ada0
revert change to tooltipmanager
2011-07-30 20:06:50 +02:00
Aaron Seigo
a665c17a6c
remove some api duplication
2011-07-30 20:05:46 +02:00
Aaron Seigo
82eee5c3b7
avoid compiling in debug strings when compiled without debug
2011-07-29 15:46:52 +02:00
Aaron Seigo
35898d57f1
get rid of all Class:load(..) methods, use PluginLoader directrly. --apiBloat;
2011-07-19 22:04:22 +02:00
Aaron Seigo
4cc44f6a92
Merge remote-tracking branch 'origin/master' into libplasma2
...
Conflicts:
plasma/package.cpp
2011-05-28 00:25:07 +02:00
Aaron Seigo
223795818f
check the value before using it
2011-05-28 00:23:37 +02:00
Aaron Seigo
394979daa4
check value of view
...
BUG:274202
2011-05-27 15:51:20 +02:00
Aaron Seigo
38004e0f9c
remove deprecated version of loadLayout
2011-05-27 12:07:12 +02:00
Aaron Seigo
e834795263
remove some empty overloads
2011-05-26 16:42:41 +02:00
Aaron Seigo
eb871eca6a
don't set the QObject parent with the parentWidget if the parentWidget is null
2011-04-30 13:29:25 +02:00
Marco Martin
7f46a77e7d
fix popup position
...
if item is in an hidden Dialog, try to find the parent applet and use it instead of item
this fixes the device notifier popup placement
BUG:234564
BUG:253858
2011-04-20 18:12:07 +02:00
Marco Martin
96d0f935c2
popup in the correct place when viewFor is hidden
...
when item is in an hidden Dialog, try to find the parent applet and position the popup there.
this fixes the devicenotifier popup placement
BUG:253858
BUG:234564
2011-04-20 18:12:07 +02:00
Aaron J. Seigo
56fc44f841
various cleanups
...
svn path=/trunk/KDE/kdelibs/; revision=1217825
2011-01-28 22:30:54 +00:00
Aaron J. Seigo
cd4e26f59f
FEATURE: configurable default containment plugin name
...
svn path=/trunk/KDE/kdelibs/; revision=1213879
2011-01-12 00:05:13 +00:00
Aaron J. Seigo
3af6a91dd7
* give Corona a proper private header in private/
...
* don't create the shortcuts dialog until it is actually needed
* unify the handling of the action collections with a list of smart pointers
svn path=/trunk/KDE/kdelibs/; revision=1213847
2011-01-11 20:45:24 +00:00
Marco Martin
d41c2a2b54
set corona stickyFocus property to true.
...
This means that clicking on an inactive widget doesn't reset the focus, done for 2 reasons:
* consistence: same behaviour as QWidgets and top level windows
* bugfix: the plasmaboard on screen keyboard now can send input to desktop widgets
svn path=/trunk/KDE/kdelibs/; revision=1213727
2011-01-11 12:14:16 +00:00
Aaron J. Seigo
ab4e0e24d3
constify
...
svn path=/trunk/KDE/kdelibs/; revision=1208728
2010-12-22 23:37:56 +00:00
Aaron J. Seigo
c21986f62d
provide a containmentForScreen implementation that allows adding containments for screens / desktop affinities even in spite of immutabilities
...
svn path=/trunk/KDE/kdelibs/; revision=1198498
2010-11-18 17:17:56 +00:00
Aaron J. Seigo
0e5e5b7c9d
* be sure to set kiosk-based immutability
...
* don't allow external creation of containments if the corona is immutable; they won't get saved to disk anyways
svn path=/trunk/KDE/kdelibs/; revision=1196287
2010-11-12 22:51:31 +00:00
Kevin Ottens
c09422cc8c
Remove deprecated symbols from the build (if KDE_NO_DEPRECATED is defined).
...
svn path=/trunk/KDE/kdelibs/; revision=1192863
2010-11-04 08:06:43 +00:00
Chani Armitage
25d9f45583
exportLayout function to go with importLayout
...
also, deprecated the old importLayout in favour of one that only accepts
kconfiggroup.
CCBUG: 248386
svn path=/trunk/KDE/kdelibs/; revision=1180338
2010-09-27 18:16:43 +00:00
Aaron J. Seigo
d071b6e301
remove any stale config data to avoid accidentally merging old and existing containment configs
...
svn path=/trunk/KDE/kdelibs/; revision=1167946
2010-08-25 18:54:22 +00:00
Marco Martin
02faf90355
new property:
...
preferredToolBoxPlugin(Containment::Type)
used to decide what toolbox plugin dynamically load, only corona
implementations can decide this.
api review anyone? ;)
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1157190
2010-07-30 12:46:22 +00:00
Marco Martin
6b864f6b96
if you map to global the position of the view, you'll get coordinates dpubled
...
map 0,0 instead
svn path=/trunk/KDE/kdelibs/; revision=1156165
2010-07-28 16:57:41 +00:00
Aaron J. Seigo
3a2ffb1238
call restore on new containments too
...
svn path=/trunk/KDE/kdelibs/; revision=1152621
2010-07-21 15:57:36 +00:00
Aaron J. Seigo
e07a9c88bb
if we don't have a PlasmaView, then ask QDesktopWidget which screen it thinks we are tipping on
...
BUG:241278
svn path=/trunk/KDE/kdelibs/; revision=1137109
2010-06-11 17:20:29 +00:00
Aaron J. Seigo
4c3f1104b3
when initializing the applets, restore from config, then init, then flush the containment's constraints, then flush the applet's constraints. ensures that constraint events always happen after both restoration and initialization of the applet
...
BUG:241298
svn path=/trunk/KDE/kdelibs/; revision=1136767
2010-06-10 17:07:50 +00:00
Aaron J. Seigo
f7c28b7ebb
differentiate loadLayout from importLayout by making loadLayout set what the configuration file to use is while import simply brings the data from the config file in without changing the target config file to save to for the corona. open vs import, iow.
...
svn path=/trunk/KDE/kdelibs/; revision=1136734
2010-06-10 15:59:53 +00:00
Aaron J. Seigo
1f0ecedca3
put all the applet restore/init code in one place so that the order of ops is more obvious when debugging
...
svn path=/trunk/KDE/kdelibs/; revision=1134668
2010-06-04 21:36:28 +00:00
Aaron J. Seigo
235172e42e
some more data points for asraniel's charts
...
svn path=/trunk/KDE/kdelibs/; revision=1129278
2010-05-21 20:52:27 +00:00
Aaron J. Seigo
bdf9ddee65
split out the loadLayout into a load and an import. works well for importing the default layout, next to test it out against exported layouts to ensure the merging does indeed work
...
svn path=/trunk/KDE/kdelibs/; revision=1126706
2010-05-14 17:00:54 +00:00
Aaron J. Seigo
af942eaf1d
this is a repeatable action
...
svn path=/trunk/KDE/kdelibs/; revision=1124339
2010-05-08 22:13:42 +00:00
Aaron J. Seigo
2c1d53204d
SVN_SILENT: tidying
...
svn path=/trunk/KDE/kdelibs/; revision=1123295
2010-05-05 20:00:36 +00:00
Aaron J. Seigo
97e82393ea
cleanup
...
svn path=/trunk/KDE/kdelibs/; revision=1120901
2010-04-30 02:11:11 +00:00
Aaron J. Seigo
a8008999c6
allow mapping of animations by the app corona; useful for mapping things like the appear/disappear animations
...
svn path=/trunk/KDE/kdelibs/; revision=1120239
2010-04-28 17:39:44 +00:00
Marco Martin
db8dd9bf0a
proper configure shortcuts icon
...
svn path=/trunk/KDE/kdelibs/; revision=1118642
2010-04-25 14:53:38 +00:00
Aaron J. Seigo
59505c7f07
we already have an applet version of the pointer; no need to go casting about
...
svn path=/trunk/KDE/kdelibs/; revision=1118045
2010-04-23 18:27:05 +00:00
Aaron J. Seigo
08c94cc3de
put the containment in the position that best suits it as soon as possible
...
svn path=/trunk/KDE/kdelibs/; revision=1114490
2010-04-13 18:37:14 +00:00
Marco Martin
067df57ed7
use a weakpointer
...
svn path=/trunk/KDE/kdelibs/; revision=1110975
2010-04-04 14:34:04 +00:00
Marco Martin
2466bbd960
AbstractDialogManager: will needed for shells to radically change the applets config dialogs (and possibly other dialogs) look and feel
...
svn path=/trunk/KDE/kdelibs/; revision=1110584
2010-04-03 19:10:32 +00:00
Artur Duque de Souza
060bf4148f
Let corona layout the containments
...
Now corona will layout it's containments instead of letting
them do this task. This was created as a slot so we could preserve
BC. Subclasses of Plasma::Corona must be sure to skip containments
of Panel type during layouting if they wish to reimplement it to
have their own layout.
If subclasses doesn't care about it, just leave it alone and
everything will work just as before. :)
Reviewed-by: aseigo, notmart
svn path=/trunk/KDE/kdelibs/; revision=1095549
2010-02-24 14:24:52 +00:00
Beat Wolf
cc7c0a3359
added debug output to measure kde startup time
...
svn path=/trunk/KDE/kdelibs/; revision=1083186
2010-01-31 19:45:48 +00:00
Aaron J. Seigo
1181a53e3c
tag the actions; now the desktop toolbox is sanely ordered
...
svn path=/trunk/KDE/kdelibs/; revision=1069705
2010-01-04 06:37:41 +00:00
Giulio Camuffo
ac5c3b4996
should not return CustomPanelContainment
...
svn path=/trunk/KDE/kdelibs/; revision=1065557
2009-12-23 17:23:35 +00:00
Aaron J. Seigo
84c7463c53
don't call values() and optimize the ordering of operations for items not already on the scene
...
svn path=/trunk/KDE/kdelibs/; revision=1044950
2009-11-05 01:12:22 +00:00