Commit Graph

238 Commits

Author SHA1 Message Date
Kevin Ottens
dab7dc3f1c Improve readability.
svn path=/branches/work/~ervin/sodep/; revision=923759
2009-02-09 11:28:34 +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
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
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
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
Marco Martin
05577817bf make a new constructor with arguments to make possible for non-plugin
scripted applet to have arguments and a new accessor to have the applet
arguments at any moment

svn path=/trunk/KDE/kdelibs/; revision=923308
2009-02-08 15:24:56 +00:00
Marco Martin
99d3b2d603 save to normal QSize, hopefully would make easier to fix rendering
problems 

svn path=/trunk/KDE/kdelibs/; revision=922930
2009-02-07 20:44:08 +00:00
Aaron J. Seigo
3dad77734e correct name
svn path=/trunk/KDE/kdelibs/; revision=922912
2009-02-07 19:23:03 +00:00
Aaron J. Seigo
b59302b92f support the standard package types
svn path=/trunk/KDE/kdelibs/; revision=922898
2009-02-07 18:48:11 +00:00
Kevin Ottens
54e28db2cd Provide a more complete automated test which basically does the
following:
 - starts metaservice
 - loads two services
 - call them and check the replies
 - unloads the services
 - stop metaservice

CCMAIL: aseigo@kde.org

svn path=/branches/work/~ervin/sodep/; revision=922830
2009-02-07 16:30:58 +00:00
Kevin Ottens
c232abcc72 Provide a PrinterService which actually send a reply.
svn path=/branches/work/~ervin/sodep/; revision=922828
2009-02-07 16:27:59 +00:00
Kevin Ottens
819c88ebaa Also display the reply.
svn path=/branches/work/~ervin/sodep/; revision=922827
2009-02-07 16:27:29 +00:00
Rob Scheepmaker
4278e03a25 Two fixes:
* Monitor for sizechanges of the widgets contained inside an ExtenderItem, so the ExtenderItem 
size get's adjusted when the widget size is.
* Check the desired icon size only after themeUpdated is called, with the svg on it's native 
size. Avoids the problem of an occasion giant titlebar.

I will backport both when I've had the time to test with Qt4.4


svn path=/trunk/KDE/kdelibs/; revision=922762
2009-02-07 15:08:17 +00:00
Rob Scheepmaker
1eb7e181bc Qt4.5 hit qt-copy, and layouts behave properly now! Let's remove the layout bug workaround
hacks from extenders. This improves behavior a lot. :)


svn path=/trunk/KDE/kdelibs/; revision=922575
2009-02-07 09:52:49 +00:00
Kevin Ottens
82f10bbf0d Ok, let's provide a small Jolie script to go with the sodepprintertest
app.

svn path=/branches/work/~ervin/sodep/; revision=922138
2009-02-06 14:28:49 +00:00
Marco Martin
9a905cd11b appear and disappear animation for the message overlay
svn path=/trunk/KDE/kdelibs/; revision=921039
2009-02-04 11:39:22 +00:00
David Faure
38133da2db Fix connect() warning - nobody reads the plasma startup warnings, apparently ;)
svn path=/trunk/KDE/kdelibs/; revision=918303
2009-01-29 19:11:15 +00:00
Marco Martin
83bfa46f88 use svg again to draw the toolbox background
svn path=/trunk/KDE/kdelibs/; revision=917956
2009-01-28 21:07:38 +00:00
Aaron J. Seigo
ff2402b48b some small tweaks to the desktop toolbox to make it work with the cashew-triggers-dashboard change
svn path=/trunk/KDE/kdelibs/; revision=917728
2009-01-28 13:38:57 +00:00
Alexis Ménard
ef4b6c7187 Add an appletDestroyed signal instead of catching the destruction in containments with qobject destroyed signal.
THis fix errors because we give an invalid pointer to public appletRemoved signal.

svn path=/trunk/KDE/kdelibs/; revision=917619
2009-01-28 07:58:17 +00:00
Ambroz Bizjak
5e46bcc2ef Don't wait for startup complete, it makes the applet obtain
proper geometry too late, which causes the desktop applet positioning
algorithm to calculate a wrong initial position.
CCBUG: 181854


svn path=/trunk/KDE/kdelibs/; revision=916941
2009-01-26 14:29:55 +00:00
Marco Martin
0aefb02462 fix resizing in the panel.... again
svn path=/trunk/KDE/kdelibs/; revision=916933
2009-01-26 13:58:39 +00:00
Marco Martin
21144164ff no camelcase includes, fixes build, sooory
svn path=/trunk/KDE/kdelibs/; revision=916620
2009-01-25 17:08:54 +00:00
Marco Martin
e720a24966 paint close buttons if asked to
svn path=/trunk/KDE/kdelibs/; revision=916527
2009-01-25 13:26:53 +00:00
Marco Martin
b743c9fa35 applets Z orders can be negative too
svn path=/trunk/KDE/kdelibs/; revision=915762
2009-01-23 18:07:20 +00:00
Aaron J. Seigo
65268e77d4 by default, applet scripts get the generic config dialog
svn path=/trunk/KDE/kdelibs/; revision=913900
2009-01-20 02:11:01 +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
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
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
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
e3745c680a plasmoids -> widgets in this case
svn path=/trunk/KDE/kdelibs/; revision=908605
2009-01-10 00:10:33 +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
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
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
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
Aaron J. Seigo
be4c8c2c5e if an applet overrode configChanged (it is virtual), the keyboard shortcuts wouldn't get picked up; so move that all to a private slot and now configChangedcan be safely used instead of connecting up to the dialog signals yourself as an added bonus
svn path=/trunk/KDE/kdelibs/; revision=906175
2009-01-05 18:08:14 +00:00
Aaron J. Seigo
a2ea13a973 bring back ctrl-overrides-aspect-ratio-mode
svn path=/trunk/KDE/kdelibs/; revision=905774
2009-01-05 01:08:40 +00:00
Marco Martin
47c511c86c build on arm
svn path=/trunk/KDE/kdelibs/; revision=904274
2009-01-01 19:17:53 +00:00
Marco Martin
84685506af one more tiny size fix
svn path=/trunk/KDE/kdelibs/; revision=903507
2008-12-30 18:00:59 +00:00
Marco Martin
1417e507f3 get size hints of tabs a bit better, in the panel is way better now
svn path=/trunk/KDE/kdelibs/; revision=903488
2008-12-30 16:41:15 +00:00
Aaron J. Seigo
7c7218cf89 having two methods named the same thing was a bit insane.. WHICH togglePopup? =)
svn path=/trunk/KDE/kdelibs/; revision=903159
2008-12-30 02:06:06 +00:00
Aaron J. Seigo
ea41519c3c this is much clearer, does the same thing and has the benefit of being able to pre-emptively hide the tip in toolTipAboutToShow!
svn path=/trunk/KDE/kdelibs/; revision=903158
2008-12-30 02:04:35 +00:00
Adriaan de Groot
968c6a0d68 Disambiguate promoting the qreal values to integers
svn path=/trunk/KDE/kdelibs/; revision=901944
2008-12-27 00:31:24 +00:00
Chani Armitage
a98e4c82b2 tooltips don't need an offset if the panel is on the top or left side
svn path=/trunk/KDE/kdelibs/; revision=901879
2008-12-26 20:38:59 +00:00
Aaron J. Seigo
d2baf76321 toolbox drag improvement by Lukas Dolezal
BUG:178707

svn path=/trunk/KDE/kdelibs/; revision=901337
2008-12-25 08:29:03 +00:00
Ambroz Bizjak
69eccb04ce Make sure aspect ratio is preserved when size limits are hit, minor
cleanup

svn path=/trunk/KDE/kdelibs/; revision=901264
2008-12-24 21:23:27 +00:00