Aaron J. Seigo
5e41fb8132
don't lose the desktop in the process of swaping contaiment assignments; include desktop assignment in the debug
...
CCBUG:175697
svn path=/trunk/KDE/kdelibs/; revision=913049
2009-01-18 17:56:06 +00:00
Marco Martin
88abeaf783
icon() and setIcon() in the api, pretty foundamental in a tool button...
...
svn path=/trunk/KDE/kdelibs/; revision=913027
2009-01-18 17:28:04 +00:00
Marco Martin
53658a106e
style with FrameSvg all the lineedits, spinboxes and comboboxes, use
...
Plasma::Style to achieve that, since it's a kinda repetitive thing and
comboboxes and spinboxes are complex controls
the svg used will probably change
svn path=/trunk/KDE/kdelibs/; revision=912567
2009-01-17 18:00:33 +00:00
Marco Martin
22b6670f00
cache on disk the natural svg size
...
svn path=/trunk/KDE/kdelibs/; revision=912132
2009-01-16 19:14:38 +00:00
Rob Scheepmaker
bfb771ddd8
Make all items persistent by default, even if still attached. This allows us to restore their position and their collapsed state.
...
svn path=/trunk/KDE/kdelibs/; revision=912127
2009-01-16 18:49:54 +00:00
Marco Martin
8a0159e10e
ensure that size() always return the real size
...
svn path=/trunk/KDE/kdelibs/; revision=912123
2009-01-16 18:43:26 +00:00
Marco Martin
ab3501872d
ensure that resize() resize always to the natural size (cached, so we
...
don't create unnecessary renderers)
svn path=/trunk/KDE/kdelibs/; revision=912093
2009-01-16 17:41:49 +00:00
Aaron J. Seigo
f5c70115db
delete the config file first before the temp file so that it doesn't write itself out after the tempfile has been removed, avoiding spawning endless temp files.
...
svn path=/trunk/KDE/kdelibs/; revision=912076
2009-01-16 17:16:10 +00:00
Aaron J. Seigo
512bcd03a9
insert into the local cache
...
svn path=/trunk/KDE/kdelibs/; revision=911758
2009-01-16 02:46:33 +00:00
Aaron J. Seigo
023ae75d69
allow package structures to say that external paths are ok. defaults to false, though some packagestructures that do not have executable code capabilities (e.g. wallpaper image sets) may wish to take advantage of this
...
CCBUG:180716
svn path=/trunk/KDE/kdelibs/; revision=911736
2009-01-16 01:02:35 +00:00
Aaron J. Seigo
4bc508411a
neat bug: changing Activity type while widgets are locked caused Appearances settings to be permahidden. chased out a few other ways to trigger this once that one was fixed, works nicely now.
...
BUG:180887
svn path=/trunk/KDE/kdelibs/; revision=911727
2009-01-16 00:39:07 +00:00
Aaron J. Seigo
8056505aa0
more verbosity is helpful in debugging these things
...
svn path=/trunk/KDE/kdelibs/; revision=911726
2009-01-16 00:32:58 +00:00
Aaron J. Seigo
2b579e6d48
also support listing info (this one won't be backported because it is a BC addition)
...
svn path=/trunk/KDE/kdelibs/; revision=911625
2009-01-15 19:41:11 +00:00
Aaron J. Seigo
ced5cec1a2
bring into line with Applet::list*; source compat, binary incompat. few users of this, though, and only applications, so impact is nominal. could do it in a BC way by poluting the API with another method that just takes a QString, but we stil have that sliver of a window open before 4.2.0, so use it to keep the API pristine. we can make it ugly after ;)
...
svn path=/trunk/KDE/kdelibs/; revision=911552
2009-01-15 16:31:23 +00:00
Aaron J. Seigo
6c041a4232
get sizing right when setContent is called and the tip is already visible
...
BUG:180423
svn path=/trunk/KDE/kdelibs/; revision=911227
2009-01-15 05:59:07 +00:00
Marco Martin
831f2564d8
quite mega-patch:
...
add a new function FrameSvg::alphaMask() that lets define an alpha-layer
for the frame, that can be the frame itself or a mask- prefix
allow for overlay elements on frames that can do a nice
filigrane-effect, they can either be:
-fixed position at 0,0
-random position consistent across plasma runs (only supported for applet
backgrounds)
-tiled
-scaled
svn path=/trunk/KDE/kdelibs/; revision=910655
2009-01-13 21:46:07 +00:00
Aaron J. Seigo
22179dffbb
prevent unnecessary multiple calls to pathChanged, which can be more or less expensive but usually results in hitting disk
...
svn path=/trunk/KDE/kdelibs/; revision=910610
2009-01-13 19:50:01 +00:00
Aaron J. Seigo
0655ae2e03
slightly more useful debug output
...
svn path=/trunk/KDE/kdelibs/; revision=910609
2009-01-13 19:49:36 +00:00
Aaron J. Seigo
dd99751e2b
SVN_SILENT: coding style!
...
svn path=/trunk/KDE/kdelibs/; revision=910608
2009-01-13 19:49:19 +00:00
Beat Wolf
ad56e279e2
Don't create submenu for "unlock widgets" if there is only one action in the submenu
...
svn path=/trunk/KDE/kdelibs/; revision=910410
2009-01-13 11:03:48 +00:00
Aaron J. Seigo
fbd38ee3d9
some hopefully useful debug output
...
svn path=/trunk/KDE/kdelibs/; revision=909629
2009-01-11 22:35:51 +00:00
Alex Merry
13116aaea9
Don't crash on weirdly invalid SVGs.
...
The particular problem I was having was that frame->leftWidth was 0 and leftHeight was 0, but
frame->rightWidth was > 0. And, while trying to paint a 0x0 pixmap is apparently fine
(because QPixmap::isNull() is just (QPixmap::width() == 0)),
QPainter::drawTiledPixmap() tries to do 0 % 0 if you pass it an 8x0 pixmap (which is an
arithmetic error).
And this was happening in KSMServer when displaying the shutdown dialog.
Cue weird behaviour when trying to log out or shut down.
svn path=/trunk/KDE/kdelibs/; revision=909140
2009-01-11 03:48:29 +00:00
Marco Martin
eb7588ae9a
forward also editingFinished
...
patch by Dario Andres
BUG: 180261
svn path=/trunk/KDE/kdelibs/; revision=909009
2009-01-10 19:35:29 +00:00
Chani Armitage
c11707b2ce
apparently it's bad to compare to QSize()
...
svn path=/trunk/KDE/kdelibs/; revision=908661
2009-01-10 04:16:26 +00:00
Chani Armitage
ebfc550c11
a default size for scripted applets, because they aren't allowed to do anything themselves before init (and this is the one thing that *must* be done before init)
...
svn path=/trunk/KDE/kdelibs/; revision=908612
2009-01-10 00:33:38 +00:00
Aaron J. Seigo
e3745c680a
plasmoids -> widgets in this case
...
svn path=/trunk/KDE/kdelibs/; revision=908605
2009-01-10 00:10:33 +00:00
Alex Merry
9c1570f13e
apidocs fixes.
...
Remember to document ALL parameters to methods. They may seem obvious to you, but I had to look at the code for at least two of the methods in order to document their parameters correctly.
*waves stick of EBN-ness*
svn path=/trunk/KDE/kdelibs/; revision=908604
2009-01-10 00:08:31 +00:00
Aaron J. Seigo
32d2b4c4c9
small fixes for dragging; i don't think they warrant a backport, though
...
svn path=/trunk/KDE/kdelibs/; revision=908503
2009-01-09 20:45:28 +00:00
Aaron J. Seigo
c5e44c35d2
if the applet is already in another containment, don't re-animate it as if it were new
...
svn path=/trunk/KDE/kdelibs/; revision=908501
2009-01-09 20:44:53 +00:00
Alexis Ménard
4e6da919f3
QImage.fill take a uint not a QColor so this color (Qt::transparent enum with 19 as a value) is invalid.
...
svn path=/trunk/KDE/kdelibs/; revision=908392
2009-01-09 16:50:27 +00:00
Rob Scheepmaker
aea9e0e6d8
Move the QGL resize hacks from extender to extenderapplet. The only applet atm for which this hack is necesarry is actually extenderapplet, in the future we will have better layouts, and it won't be necesarry at all, and for now it avoids breaking panel layouts when removing the last extenderitem from an extenderapplet.
...
svn path=/trunk/KDE/kdelibs/; revision=908195
2009-01-09 13:13:57 +00:00
Anne-Marie Mahfouf
60fad5ba0b
fix test (fix .desktop install path and read() path)
...
svn path=/trunk/KDE/kdelibs/; revision=908084
2009-01-09 09:23:35 +00:00
Aaron J. Seigo
4e7e534103
* add actions in the order they are added, not alphabetically by name (?!)
...
* remove actions if they get deleted
CCBUG:30042
svn path=/trunk/KDE/kdelibs/; revision=907996
2009-01-09 02:15:23 +00:00
Aaron J. Seigo
58420aae62
clear the current widget when an widget is unregistered; solves a crash where the task widget disconnects *all* signals to items before deleting them, thus preventing the destroyed(QObject*) signal from getting through. it was calling unregisterWidget, but that wasn't clearing the current widget -> POOF!
...
CCMAIL:faure@kde.org
BUG:179819
svn path=/trunk/KDE/kdelibs/; revision=907981
2009-01-09 01:15:39 +00:00
Stephan Kulow
f9abcd96e4
anoter case of useless warnings
...
svn path=/trunk/KDE/kdelibs/; revision=907540
2009-01-08 11:32:55 +00:00
Stephan Kulow
744f3ef721
avoid tons of warnings for empty sizes
...
svn path=/trunk/KDE/kdelibs/; revision=907537
2009-01-08 11:28:58 +00:00
Stephan Kulow
6e8e615e73
don't create "QEventDispatcherUNIX::unregisterTimer: invalid argument"
...
svn path=/trunk/KDE/kdelibs/; revision=907536
2009-01-08 11:27:39 +00:00
Aaron J. Seigo
6156b46110
tell the config loader to write its config as well during calls to save()
...
svn path=/trunk/KDE/kdelibs/; revision=907296
2009-01-07 20:34:34 +00:00
Aaron J. Seigo
b5456b851c
bump the minor version number for 4.3
...
svn path=/trunk/KDE/kdelibs/; revision=907268
2009-01-07 19:15:01 +00:00
Davide Bettio
08104d35ba
Added Plasma::SpinBox.
...
svn path=/trunk/KDE/kdelibs/; revision=907258
2009-01-07 18:54:43 +00:00
Aaron J. Seigo
e009bc7382
protect access to toolbox, when used with containments that don't create one or turn theirs off
...
BUG:179909
svn path=/trunk/KDE/kdelibs/; revision=907205
2009-01-07 16:42:12 +00:00
Aaron J. Seigo
fe0acf8202
clean this up while we still can. not sure how this one slipped by us, but it's been on my list for a week; no actual logic changes, just cleans out the header of crud that doesn't belong.
...
svn path=/trunk/KDE/kdelibs/; revision=906780
2009-01-06 21:11:54 +00:00
Aaron J. Seigo
8620f483d8
always make a layout no matter what
...
svn path=/trunk/KDE/kdelibs/; revision=906713
2009-01-06 18:08:58 +00:00
David Faure
eb686845cb
enable-final and compiler warnings fixed
...
svn path=/trunk/KDE/kdelibs/; revision=906696
2009-01-06 17:06:26 +00:00
Marco Martin
88f9436dbd
don't trust size hints, they lie
...
this makes tooltip sliding a bit more predictable
svn path=/trunk/KDE/kdelibs/; revision=906676
2009-01-06 15:48:54 +00:00
Laurent Montel
eebb6178a5
Fix iterator
...
svn path=/trunk/KDE/kdelibs/; revision=906617
2009-01-06 13:09:05 +00:00
Script Kiddy
0ced881246
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdelibs/; revision=906578
2009-01-06 12:50:41 +00:00
Aaron J. Seigo
8c8e40c194
if parented to an applet and the appet has a package, use it.
...
svn path=/trunk/KDE/kdelibs/; revision=906378
2009-01-06 03:45:44 +00:00
Aaron J. Seigo
a9cc2e29b6
provide access to config needs saving
...
svn path=/trunk/KDE/kdelibs/; revision=906373
2009-01-06 03:02:22 +00:00
Aaron J. Seigo
cf32d4770d
make it easy to get at items and values by name
...
svn path=/trunk/KDE/kdelibs/; revision=906335
2009-01-05 23:27:29 +00:00