Aaron J. Seigo
1f6e98c957
revert r#176280 as it's just a work around for the real problem
...
svn path=/trunk/KDE/kdelibs/; revision=928670
2009-02-19 19:47:24 +00:00
Marco Martin
d2446a59fc
make the applet appear in the direction nearest to the mouse instead of
...
the entry position, more hanle-follows-mind
svn path=/trunk/KDE/kdelibs/; revision=928669
2009-02-19 19:43:52 +00:00
Marco Martin
0a60f4c5d2
better support for tiled overlays
...
svn path=/trunk/KDE/kdelibs/; revision=928085
2009-02-18 21:35:23 +00:00
Marco Martin
ae80ec1806
it's dangerous to access config() there, for now let's try to use just
...
the applet id as deterministic seed, let's see if it will have seemingly
random enough results
svn path=/trunk/KDE/kdelibs/; revision=928015
2009-02-18 19:47:32 +00:00
Ambroz Bizjak
a27a09fefc
Fix regressions introduced by 914887.
...
On the other hand, Corona::addItem indirectly calls Containment::itemChange,
which ends up calling AppletPrivate::mainConfigGroup, which then creates a config
group in the wrong file (plasmarc) because isContainment was not set.
This also caused a regression where removed applets reappeared on next plasma run.
Fix:
Manually set isContainment before adding the item to the corona, then
call setIsContainment with a new argument to force the initialization.
svn path=/trunk/KDE/kdelibs/; revision=927886
2009-02-18 13:55:18 +00:00
Marco Martin
699b688de7
don't try to access config here if we don't have a containment, one
...
cause less to have destroyed config files (we should find a better
solution for overlays)
svn path=/trunk/KDE/kdelibs/; revision=927611
2009-02-17 22:06:30 +00:00
Marco Martin
0ee39c6ac2
better paint of the overlay
...
svn path=/trunk/KDE/kdelibs/; revision=927520
2009-02-17 19:07:47 +00:00
Script Kiddy
760f5d5491
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdelibs/; revision=927389
2009-02-17 12:08:46 +00:00
Joshua Levesque
fcb0f36d7f
Prevent horizontal panels from bleeding over into positive coordinates by creating a positioning offset, much like that given to vertical panels.
...
CCBUG: 176280
svn path=/trunk/KDE/kdelibs/; revision=927169
2009-02-16 22:55:24 +00:00
Marco Martin
f4514950f4
reverting the last change, the panel height is still the old one at that
...
point :)
CCBUG:176280
svn path=/trunk/KDE/kdelibs/; revision=927158
2009-02-16 22:11:24 +00:00
Marco Martin
59a0e9f0e8
theory: the desktop breakage could happen because the panel overlaps the
...
desktop for a while, making containment()->view() or
corona::containmentfordesktop() fails, leaving the desktop view without
a containment
try to reposition the panel before a vertical movement, it should
prevent the panel to go into the desktop for an instant
CCBUG:176280
svn path=/trunk/KDE/kdelibs/; revision=927141
2009-02-16 21:45:18 +00:00
Marco Martin
f9ab759b8e
set WA_TranslucentBackground to top level windows
...
svn path=/trunk/KDE/kdelibs/; revision=927085
2009-02-16 19:24:05 +00:00
Marco Martin
604bd19638
clip only when animating: some flicker, but clipping always is a bit
...
slower and seems to lose mouse events when the applet is in a
containment
svn path=/trunk/KDE/kdelibs/; revision=926630
2009-02-15 21:42:25 +00:00
Artur Duque de Souza
cae61ee4ca
Use enums from KIconLoader
...
Instead of using hardcore numbers, it would be great to use the enums provided by
KIconLoader whenever we use sizes for icons.
Made the change for the obvious ones replacing "16" by KIconLoader::SizeSmall,
"22" by KIconLoader::SizeSmallMedium and "32" by KIconLoader::SizeMedium.
svn path=/trunk/KDE/kdelibs/; revision=926544
2009-02-15 16:35:52 +00:00
Marco Martin
828ac46bd4
use Plasma::Frame for controls background
...
svn path=/trunk/KDE/kdelibs/; revision=926412
2009-02-15 11:52:16 +00:00
Richard J. Moore
8db000f7e6
- doc comments live before the thing they describe
...
svn path=/trunk/KDE/kdelibs/; revision=926249
2009-02-14 22:08:08 +00:00
Artur Duque de Souza
7be090da64
Make tools use all the available width
...
This patch makes each tool (action) inside a toolbox use all the width available,
giving a better UI effect. Before, each tool had it's own width, giving a sensation
of 'mess' =).
svn path=/trunk/KDE/kdelibs/; revision=926122
2009-02-14 17:32:55 +00:00
Marco Martin
d544dc7c2d
declare the Q_ENUM
...
svn path=/trunk/KDE/kdelibs/; revision=925910
2009-02-14 13:55:09 +00:00
Chani Armitage
499fd451b4
make it possible to exclude categories from the appletbrowser
...
svn path=/trunk/KDE/kdelibs/; revision=925892
2009-02-14 13:28:25 +00:00
Script Kiddy
fc49f3c20e
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdelibs/; revision=925511
2009-02-13 12:57:14 +00:00
Marco Martin
7c9a500b3d
move the wheelEvent to nativeTabbar, it seems it works only there with
...
qt 4.5, while with 4.4 did work only in the proxywidget
svn path=/trunk/KDE/kdelibs/; revision=925477
2009-02-13 11:43:58 +00:00
Pino Toscano
a136f604e6
extra ';'
...
svn path=/trunk/KDE/kdelibs/; revision=925310
2009-02-13 01:08:23 +00:00
Marco Martin
287a1f80d1
crash--
...
svn path=/trunk/KDE/kdelibs/; revision=925258
2009-02-12 21:08:31 +00:00
Marco Martin
fd1b73ba56
shownControls->usedControls
...
controlsVisible sets the whole controls widget visible/invisile
svn path=/trunk/KDE/kdelibs/; revision=925247
2009-02-12 20:51:49 +00:00
Marco Martin
1e4e0d86b4
the controls slides in and out with an animation depending on mouse
...
events
svn path=/trunk/KDE/kdelibs/; revision=925207
2009-02-12 18:19:32 +00:00
Patrick Spendrin
8035d0f4de
fix build
...
thx to MauriceK
CCMAIL: haiku@kaldience.com
svn path=/trunk/KDE/kdelibs/; revision=925189
2009-02-12 17:33:50 +00:00
Marco Martin
f47eb66c08
add all the other optional buttons support.
...
but removed next/previous for now, not sure really makes sense to export
them in the simple api
svn path=/trunk/KDE/kdelibs/; revision=925173
2009-02-12 16:47:30 +00:00
Marco Martin
97dd8b072e
as decided at tokamak include basic controls right in the widget, they
...
can be enabled and disabled with flags
so for now the applet shows double controls until the transplant is
really complete
svn path=/trunk/KDE/kdelibs/; revision=925125
2009-02-12 13:58:10 +00:00
Marco Martin
12c645ff82
use setUrl instead of setPath, more general, but still use a qstring,
...
seems to work better with javascript
svn path=/trunk/KDE/kdelibs/; revision=924896
2009-02-11 21:34:07 +00:00
Ryan P. Bitanga
2da5f905d3
Change the queue policy for slow speed runners. They will now
...
wait 400ms before being executed by KRunner
svn path=/trunk/KDE/kdelibs/; revision=924670
2009-02-11 11:16:09 +00:00
Alessandro Diaferia
bb01ec253d
use boundingRect instead of geometry otherwise the signal will never be emitted
...
svn path=/trunk/KDE/kdelibs/; revision=924644
2009-02-11 10:24:06 +00:00
Rob Scheepmaker
5105554bc1
2nd fixed regression! You can now again drop into extenders when hovering over popupapplets.
...
svn path=/trunk/KDE/kdelibs/; revision=924031
2009-02-09 22:10:35 +00:00
Rob Scheepmaker
6ce839cc08
1 regression down! Reenabling and changing one of the layout workarounds fixes the incorrect sizehints problem for detached extenderitems, while still allowing
...
for items on the desktop to be resized, which is even beter then it was in 4.2. I might backport depending on how good this works with Qt4.4 and depending on
how complex the patch would become (it would need a few of the changes from my previous monsterpatch).
svn path=/trunk/KDE/kdelibs/; revision=923944
2009-02-09 19:21:59 +00:00
Rob Scheepmaker
fe805eb338
Massive refactoring of extender drag&drop handling. This should avoid bugs with the old way of doing things (toplevel view on an offscreen widget can lose
...
mouse events while dragging), and is generally shorter and cleaner. There are still some regressions I'll be working on fixing, but it basically works, avoids
crashes and is even faster.
svn path=/trunk/KDE/kdelibs/; revision=923915
2009-02-09 18:10:45 +00:00
Aaron J. Seigo
5c1c03d6b7
set the names properly in line with the requested types
...
svn path=/trunk/KDE/kdelibs/; revision=923909
2009-02-09 18:02:03 +00:00
Marco Martin
ecb67cfee5
a bit of comments doesn't hurt
...
svn path=/trunk/KDE/kdelibs/; revision=923865
2009-02-09 16:09:34 +00:00
Ambroz Bizjak
476fd1a6a3
Added signals appletTransformedByUsed and appletTransformedItself to
...
Plasma::Applet. This makes it easier for layouts to know when applets
are transformed (moved/resized/rotated), and know whether the change
was by the user or the applet itself.
svn path=/trunk/KDE/kdelibs/; revision=923848
2009-02-09 15:09:28 +00:00
Kevin Ottens
b4267d0689
Adapt to new metaservice behavior.
...
svn path=/branches/work/~ervin/sodep/; revision=923761
2009-02-09 11:48:52 +00:00
Kevin Ottens
dab7dc3f1c
Improve readability.
...
svn path=/branches/work/~ervin/sodep/; revision=923759
2009-02-09 11:28:34 +00:00
Marco Martin
501b3bfe1c
align text to the left when the icon is horizontal
...
svn path=/trunk/KDE/kdelibs/; revision=923738
2009-02-09 10:51:21 +00:00
Kevin Ottens
3685f819cc
Provide an async SodepClient class to send/receive a message.
...
svn path=/branches/work/~ervin/sodep/; revision=923534
2009-02-08 22:11:14 +00:00
Marco Martin
06876c7179
install videowidget.h just if phonon is found
...
svn path=/trunk/KDE/kdelibs/; revision=923526
2009-02-08 21:54:31 +00:00
Marco Martin
ba196464eb
enable build of videowidget, depending if Phonon is found or not
...
svn path=/trunk/KDE/kdelibs/; revision=923520
2009-02-08 21:41:08 +00:00
Marco Martin
b0ad8d6535
import the video widget, will add later to the build
...
svn path=/trunk/KDE/kdelibs/; revision=923508
2009-02-08 21:20:41 +00:00
Kevin Ottens
8a28c219b3
Turn on service embedding in metaservice, no need to open a new socket
...
for each service we embed (Location: "local").
Reuse the same socket accross the whole sodepmetaservicetest suite...
Interestingly it's now broken as Jolie insists in closing the socket
after each method call (fmontesi is kindly investigating this).
svn path=/branches/work/~ervin/sodep/; revision=923506
2009-02-08 21:12:45 +00:00
Chani Armitage
b0e0bb161a
I forgot to forwardport that security fix from 4.2 >.<
...
svn path=/trunk/KDE/kdelibs/; revision=923421
2009-02-08 18:31:43 +00:00
Chani Armitage
297b131e1d
don't hide the tool on *any* change - only hide when it's hidden, and delete when its action is deleted.
...
svn path=/trunk/KDE/kdelibs/; revision=923418
2009-02-08 18:27:55 +00:00
Kevin Ottens
01f11ad43b
Make the reads blocking. We'll put those in a thread.
...
It'll be much easier to maintaining the upcoming code.
svn path=/branches/work/~ervin/sodep/; revision=923377
2009-02-08 17:31:13 +00:00
Aaron J. Seigo
ac708dc8d3
better names
...
svn path=/trunk/KDE/kdelibs/; revision=923357
2009-02-08 16:53:54 +00:00
Kevin Ottens
6c5c5021d6
One step toward a proper API, remove writeTo and readFrom methods from
...
the Sodep classes. They're now all as global functions into the
sodephelpers_p.h header.
svn path=/branches/work/~ervin/sodep/; revision=923317
2009-02-08 15:35:56 +00:00