items to applet, since in extender's dtor, applet's config isn't accessible anymore. Only
fire itemDetached when an item is really moved, not only when being dragged away.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841509
is in quite nice shape and basides a couple of bugs, it basically works. So what are you
still doing reading this? Port your favourite applet to extenders today! ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840978
something went wrong, very wrong, when pulling from gitorious. I don't know what or why. but this is a copy of the last commit I made on my laptop...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=834472
that only applets with a matching major.minor version
are loaded. needs porting to plugins other than applets.
CCMAIL: aseigo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833550
* introduce Plasma::viewFor and Plasma::popupPosition
generally nicer code all around.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833534
* accept bad config objectsin Applet::save and Containment::save
* move some initialization code around to be more robust with external use (will make more sense in next commit to workspace/plasma/plasma)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828940
* select the correct containment for removal when zoomed out (will have isses on multi-screen; see FIXME)
* move containment destruction logic out of Corona; it really doesn't belong there
* remove the hack to not set focus on a containment when clicked as that doesn't seem to reliably trigger it for me here and it doesn't address the issue of a new containment still messing things up, so we really ought to have a generic solution instead of a slightly ugly hack
BUG:id=165670
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828906
that would drive to an automatic scrolling of the view when clicking on
it, hiding other containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828193
flushPendingConstraintsEvents, now it changes only the sizepolicy
and the enforcing is done by returning the proper values in sizeHint.
ConstrainedSquare behaves like square with sizes less than
Liconloader::sizeLarge, otherwise the size is not much controllable and
would be hard to have the right (not blurry) icon sizes when the panel
is not so big
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823640
can happen that it exits from top of the screen but at least it won't
totally destroy the panel layout anymore
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820917
into account. When the size is too small to allow the svg and a single
icon, disable the svg.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818155
it makes applets in panel to not
be wider than tall in horizontal panels and not taller than wider in
vertical panels, but can be for instance less wide than tall in
horizontal panels, as opposed to square applets.
it makes poossible to have icons with a reasonable size in very big
panels as vertical panels usually are for instance
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816757
certain svg or if it would fallback to the default theme if loaded.
this makes possible an alternative fallback mechanism between images of
the same theme, used now for the TransparentBackground background hint
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816734
it's not needed for global shortcuts, and it wouldn't work that way for local shortcuts anyways.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815532
* move the contents of setGeometry to itemChange and resizeEvent for greater reliability
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815043
TranslucentBackground, now used by folder view.
when an applet has TranslucentBackground set, it loads
"widgets/tranlucentbackground" as its own background
when that svg does not exists in theh them it falls back to
"widgets/background" instead of translucentbackground of the default
theme
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=813283
resizing loop) had to use maximum and minimum sizes, layouts seems to be
sooo stoopid :(
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=813266
notification is received, so don't use it in calculating the correct
position. Also some other small WoC cleanups.
BUG: 161969
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812493
used nowhere.
"ervin, fighting feature creep in APIs since 1980."
(BTW, at this rate I'm less and less convinced that it'd be wise to not
have a second round of API review post 4.1)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812172
now I can remove some of the ten desktop containments I accumulated :)
oh, and the code is cleaner too, yay!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810129
* Only move applet to toplevel window when overlapping other plasma views, ignoring other windows and such.
* Drag & drop now works reasonably well when using multiple desktop containments ('activities'), both when
zoomed in as when zoomed out. Only a couple of issues remaining.
* Containment's addApplet function now cleans up the pointer to the applethandle in the preview containment,
Avoiding some nasty crashes when moving applets between containments.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809841
another bug in QGraphicsProxyWidget? labels appear as innactive until you click on them!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808983
the defaults are kinda lame right now, but I'm planning to do a lot more with this.
applet focus and the shorcut hooks work properly, however.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808610
* when dropping on another containment, the center of the applet is used to determine where
to drop the applet, instead of the position of the mousepointer.
* movement now works correctly if multiple drag&drops are performed while not removing the
mouse away from the applet handle.
* now works correctly on rotated applets.
* various code style fixes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808379
* dragging an applet creates a top level window so the applet won't appear behind the panel
when dragging, as is the case now.
* dragging leaves a semi transparent version of the applet at the original location, so it's
clear to the user where the applet came from and where it will go when the drag is cancelled.
There are still some open issues, I'm working on those...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806484
*removed Containment::Private::destroyApplet in favour of just calling Applet::destroy() directly.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805666
* call the ScriptEngine's config method if we fail on the automatic generation
* use an internal timer id to trigger flush updated constraints calls so that if it gets called manually we prevent a future unecessary signal from happening
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805631
* watchForMouseMove() -> registerAsDragHandle() / unregisterDragHandle()
* Added isRegisteredAsDragHandle() (I'm not really sure If it's a good idea to add this method).
ping me if you find better names for registerAsDragHandle() / unregisterDragHandle().
CCMAIL: panel-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802774
remainSquare(), aspectRatioMode() and their setters are merged in
aspectRatioMode() + setAspectRatioMode(Plasma::AspectRatio)
Plasma::AspectRatio has IgnoreAspectRatio, KeepAspectRatio and Square
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802561