Aaron J. Seigo
de4602c113
pull over render thread in the lib so it can be shared
...
svn path=/trunk/KDE/kdelibs/; revision=948059
2009-04-02 05:43:20 +00:00
Aaron J. Seigo
593b2f111f
pull render thread into the library so it can be share
...
svn path=/trunk/KDE/kdelibs/; revision=948058
2009-04-02 05:42:52 +00:00
Aaron J. Seigo
89b70374c3
abstract the bit of data engine management code out into a small class that the private classes can then subclass, and add dataEngine(const QString &) to Wallpaper
...
svn path=/trunk/KDE/kdelibs/; revision=947636
2009-03-31 23:51:52 +00:00
Aaron J. Seigo
183d79adb2
SVN_SILENT: conform to naming conventions
...
svn path=/trunk/KDE/kdelibs/; revision=946697
2009-03-30 03:45:30 +00:00
Kevin Ottens
113d703984
Auto-allocate ids.
...
svn path=/branches/work/~ervin/sodep/; revision=945432
2009-03-27 13:49:17 +00:00
Aaron J. Seigo
d2d756f3fd
avoid putting empty text or unhelpful html elements in the tip text
...
svn path=/trunk/KDE/kdelibs/; revision=945121
2009-03-26 22:08:36 +00:00
Aaron J. Seigo
599fcdd138
ignore timer id's that aren't ours
...
svn path=/trunk/KDE/kdelibs/; revision=944581
2009-03-25 19:10:02 +00:00
Rob Scheepmaker
0bfbed06ae
Move ExtenderGroupPrivate to a seperate header file, so we can call addItemToGroup in setGroup.
...
svn path=/trunk/KDE/kdelibs/; revision=944336
2009-03-25 13:03:04 +00:00
Marco Martin
4f20cfe5a6
try again to show the toolbox as a circle in the corners, but more
...
important fix the dragging quirkiness (by not changing the
boundingRect(), only paint it as if it had a different geometry)
svn path=/trunk/KDE/kdelibs/; revision=944004
2009-03-24 20:37:28 +00:00
Marco Martin
1427ff946c
leak--
...
svn path=/trunk/KDE/kdelibs/; revision=943740
2009-03-24 11:45:53 +00:00
Rob Scheepmaker
c47d34bcba
Yay! Add support for grouping in extenders. Expect this feature used for grouping jobs in systemtray soon: I'll commit that as soon as I figured out the last problem that patch has (an atm seemingly random crash that happens incidentally).
...
svn path=/trunk/KDE/kdelibs/; revision=943303
2009-03-23 16:30:32 +00:00
André Wöbbeking
7479e79f40
-pedantic
...
CCMAIL:notmart@gmail.com
svn path=/trunk/KDE/kdelibs/; revision=941672
2009-03-20 10:27:31 +00:00
Chani Armitage
73073b7a54
deleteLater is safer. doh.
...
svn path=/trunk/KDE/kdelibs/; revision=941579
2009-03-20 00:23:21 +00:00
Marco Martin
13ddc52057
support for multiple windows thumbnails in a tooltip
...
svn path=/trunk/KDE/kdelibs/; revision=941541
2009-03-19 22:15:29 +00:00
Aaron J. Seigo
a96782cd4b
if we have no more jobs, delete ourselves later
...
svn path=/trunk/KDE/kdelibs/; revision=938755
2009-03-12 22:02:31 +00:00
Aaron J. Seigo
8c30031635
* let the weaver own the jobs, so we can cean up successfully without crashing when the manager is deleted
...
* listen to jobDone's in the clean up class
svn path=/trunk/KDE/kdelibs/; revision=938752
2009-03-12 22:01:22 +00:00
Aaron J. Seigo
3ecfa9f6d5
if the RunnerManager is deleted but jobs are still processing, create a helper object to wait it out and clean them up when possible
...
svn path=/trunk/KDE/kdelibs/; revision=938728
2009-03-12 20:25:52 +00:00
Aaron J. Seigo
592ddc4e6e
* emit a signal when our jobs are done but we have no matches
...
* use QSets instead of QLists where we are doing lots of random access and no sequential
* get rid of the stale marking as all items in the oldMatches list are, by definition, stale
svn path=/trunk/KDE/kdelibs/; revision=938708
2009-03-12 18:53:22 +00:00
Jacopo De Simoi
25a80b322c
Create local copy of runnerContext in the runnerjob ctor
...
svn path=/trunk/KDE/kdelibs/; revision=938690
2009-03-12 17:25:13 +00:00
Marco Martin
ddc3a4b978
snap in the center of the screen
...
svn path=/trunk/KDE/kdelibs/; revision=938474
2009-03-11 22:33:46 +00:00
Marco Martin
2236b76ee4
ability to have different vertical and horizontal background
...
svn path=/trunk/KDE/kdelibs/; revision=938426
2009-03-11 21:03:50 +00:00
Marco Martin
893093b85c
initialize a value
...
svn path=/trunk/KDE/kdelibs/; revision=937990
2009-03-10 22:44:46 +00:00
Chani Armitage
aa34398a80
give corona its own action collection.
...
this is a place for things which shouldn't be duplicated over every single containment, like "lock" and "new activity".
for now we still add the lock action to every containment, so that none of the code lower down notices the change - but we only have one action behind it all :)
svn path=/trunk/KDE/kdelibs/; revision=937923
2009-03-10 19:52:50 +00:00
Marco Martin
919796da14
0 opacity with the busywidget
...
busywidget always on the icon rather in the popup
svn path=/trunk/KDE/kdelibs/; revision=936025
2009-03-06 18:21:59 +00:00
Marco Martin
61a1ba4c92
add a bit of extra space
...
svn path=/trunk/KDE/kdelibs/; revision=935859
2009-03-06 12:52:21 +00:00
Marco Martin
8fd655c54b
desktop toolbox is more tiny and shows the activity name if any is set
...
an experiment, let's see how it goes
svn path=/trunk/KDE/kdelibs/; revision=935674
2009-03-05 22:15:06 +00:00
Marco Martin
754b8d34c3
paint the busy widget always square
...
use overlay widget to show the busy widget, duplication--
svn path=/trunk/KDE/kdelibs/; revision=935520
2009-03-05 13:05:12 +00:00
Jacopo De Simoi
0d12d6b3b8
Uff, I guess we will live with duplicates for some more time. My previous commit breaks krunner as it *only* runs stuff which is autocompleted. Will backrevert -
...
svn path=/trunk/KDE/kdelibs/; revision=935428
2009-03-05 06:02:11 +00:00
Jacopo De Simoi
8aa4045953
"...and they lived happily ever after with no more duplicate matches =)"
...
A local copy of the context is now created in the FindMatchesJob ctor, not anymore in AbstractRunner, this prevents old queries to be run with a valid dptr
svn path=/trunk/KDE/kdelibs/; revision=935342
2009-03-04 21:03:33 +00:00
Marco Martin
5a2a47f473
now message overlays are in popup of popupapplets :)
...
duplication with spinner code still has to be merged
svn path=/trunk/KDE/kdelibs/; revision=934846
2009-03-03 22:23:42 +00:00
Jacopo De Simoi
235f81fa36
Added a stale flag to searchJobs; less pollution from old queries; fixed a misplaced brace in previous commit that made krunner unable to run any command :(
...
svn path=/trunk/KDE/kdelibs/; revision=934467
2009-03-03 08:02:13 +00:00
Marco Martin
4419fa0336
set ignoretransfprms only when in toolbar mode, this works around a qt
...
bug where the input gets killed on widgets with clipchildrentoshape when
there is an ignoretransformations one and makes the thing look better
when there is another view zoomed out (like magnifique plasmoid)
svn path=/trunk/KDE/kdelibs/; revision=934137
2009-03-02 13:14:58 +00:00
Artur Duque de Souza
d0205d92b3
Changes inside Plasma::Applet to test if we have a popup
...
and if this is true, if we should use widget() or graphicsWidget()
to show the BusyWidget.
svn path=/trunk/KDE/kdelibs/; revision=933444
2009-02-28 22:52:17 +00:00
Andrew Coles
256acaada3
Replaced an exclamation point with a period. The fine line between
...
indicating that the program is shocked, or suggesting that it is
shouting at the user....
svn path=/trunk/KDE/kdelibs/; revision=932743
2009-02-27 11:24:55 +00:00
Marco Martin
00f6d85a35
set the proper margins
...
svn path=/trunk/KDE/kdelibs/; revision=932540
2009-02-26 21:21:05 +00:00
Sebastian Kügler
57162f188d
Don't crash here.
...
It does crash there for me when I click onto an applet's handle which has been added from another applet. I'm not sure why this happens. I've been running with this patch for a couple of days and didn't notice any sideeffects, besides plasma not crashing.
svn path=/trunk/KDE/kdelibs/; revision=931935
2009-02-26 00:11:41 +00:00
Aaron J. Seigo
a88f2d8247
FEATURE: allow themes to state that they should use the native widgets
...
svn path=/trunk/KDE/kdelibs/; revision=931193
2009-02-24 22:42:06 +00:00
Aaron J. Seigo
04824f48c7
streamlining made while hunting for the panel changing bug. at least i have something to show for my pain.
...
svn path=/trunk/KDE/kdelibs/; revision=930729
2009-02-24 04:54:57 +00:00
Aaron J. Seigo
830a1d19dd
give access to the standard config dialog to script engines that care to use it
...
svn path=/trunk/KDE/kdelibs/; revision=930708
2009-02-24 02:32:48 +00:00
Marco Martin
8fe01d477c
unbreak toolbox on zoomed out view
...
svn path=/trunk/KDE/kdelibs/; revision=930197
2009-02-22 20:18:08 +00:00
Ambroz Bizjak
205a1700b2
Fix handle possibly moving to the other side if the cursor exist for a short time.
...
Remove the handle if the cursor goes away before we even appear, previously the handle
was kept invisible until the cursor next entered.
svn path=/trunk/KDE/kdelibs/; revision=929233
2009-02-20 23:23:55 +00:00
Marco Martin
8fbb555bbd
-now the size takes borders into account
...
-correctly resize the rooltip window when the winid to preview changes
-experiment with a little border/shadow around the thumbnail
svn path=/trunk/KDE/kdelibs/; revision=929211
2009-02-20 22:12:59 +00:00
Alexis Ménard
7f18ee0afa
Revert "Avoid too much updates, remove old codes since 4.5 manage the opacity."
...
Revert it since it cause some problems, i will investigate
svn path=/trunk/KDE/kdelibs/; revision=929192
2009-02-20 21:30:05 +00:00
Alexis Ménard
6afbdb4870
Avoid too much updates, remove old codes since 4.5 manage the opacity.
...
svn path=/trunk/KDE/kdelibs/; revision=929188
2009-02-20 21:22:34 +00:00
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
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
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
f9ab759b8e
set WA_TranslucentBackground to top level windows
...
svn path=/trunk/KDE/kdelibs/; revision=927085
2009-02-16 19:24:05 +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
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
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
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
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
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
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
Ambroz Bizjak
32e0e2ed35
Rewrite resize and rotate logic.
...
Fixes inconsistent resize behaviour, e.g. if mouse was moved more
than the applet could be shrunk, and then moved back a small amount,
the applet would immediately start expanding, instead of starting to
expand where it stopped shrinking.
svn path=/trunk/KDE/kdelibs/; revision=901173
2008-12-24 15:13:09 +00:00
Aaron J. Seigo
4d38cc53b6
make tooltips orientation aware; fixes problems with panel autohiding as well as avoids some unecessary painting in vertical panels
...
BUG:178552
svn path=/trunk/KDE/kdelibs/; revision=900840
2008-12-23 19:38:52 +00:00
Marco Martin
1b7bf8cdb9
use plasma font in some more widgets
...
svn path=/trunk/KDE/kdelibs/; revision=899830
2008-12-21 17:17:35 +00:00
Urs Wolfer
f320d2e700
* typos--
...
* optimize QString operations
* fix include guard
svn path=/trunk/KDE/kdelibs/; revision=899600
2008-12-21 11:56:01 +00:00
Marco Martin
03733b6b9d
check harder if the tooltip has the proper size
...
svn path=/trunk/KDE/kdelibs/; revision=898694
2008-12-18 19:11:54 +00:00
Aaron J. Seigo
4b034eacae
don't animate the moves of tool items when it's a toolbar; it looks a bit odd and when zoomed out it's excruciately slow thanks to the software based scaling
...
svn path=/trunk/KDE/kdelibs/; revision=898648
2008-12-18 15:48:01 +00:00
Marco Martin
5e421239c9
always keep toold hidden when their enabled/disabled status changes
...
unhide all the enabled ones when the toolbox is opened
BUG:178014
svn path=/trunk/KDE/kdelibs/; revision=898560
2008-12-18 12:32:06 +00:00
Aaron J. Seigo
97869ca7c7
z value related cleanups, including one fixme
...
svn path=/trunk/KDE/kdelibs/; revision=897861
2008-12-17 00:51:30 +00:00
Aaron J. Seigo
9c25aa59a5
share one style amongst all the widgets
...
svn path=/trunk/KDE/kdelibs/; revision=897366
2008-12-15 21:17:43 +00:00
Aaron J. Seigo
a029c8396f
put the common code (repeated in two places) into a shared method in the private class and document it a bit; also, move the change triggering on startup compmlete to the end of the constraints event
...
svn path=/trunk/KDE/kdelibs/; revision=897304
2008-12-15 17:41:37 +00:00
Aaron J. Seigo
5c2927870d
* consolidate the remove action enabling check into one method
...
* check the remove action on immutability changes (prevents "Remove" from showing up erroniously when locking then unlocking)
svn path=/trunk/KDE/kdelibs/; revision=897290
2008-12-15 16:54:09 +00:00
Aaron J. Seigo
e9411c577e
add tooltips to items, makes it easier to figure out what they do when zoomed out
...
BUG:177835
svn path=/trunk/KDE/kdelibs/; revision=897284
2008-12-15 16:42:29 +00:00
Beat Wolf
22bd89da08
fixed jumpy resizing when resize starts
...
svn path=/trunk/KDE/kdelibs/; revision=896906
2008-12-14 17:57:50 +00:00
Beat Wolf
073c56b8de
removed some dead code after recent code change
...
svn path=/trunk/KDE/kdelibs/; revision=896893
2008-12-14 17:19:02 +00:00
Marco Martin
eee1671b3c
re-set the window preview when the size changes, since its behaviour
...
depends from the tooltip size
BUG:177378
svn path=/trunk/KDE/kdelibs/; revision=896526
2008-12-13 18:17:36 +00:00
Beat Wolf
26c61a6205
resizing of applets is less jumpy now, there is still a problem at big applet sizes though
...
svn path=/trunk/KDE/kdelibs/; revision=896200
2008-12-12 20:20:07 +00:00
Aaron J. Seigo
47866f417b
List->Set, and try and make the even filter a little more efficient
...
svn path=/trunk/KDE/kdelibs/; revision=895578
2008-12-11 03:10:36 +00:00
Rob Scheepmaker
c51d9d7d9b
Yeah, finally! Fixed a crash that occurs when moving an extenderitem back to its source from an extender that was also the last one to have a spacer inserted because the same item was hovering over it. Phew, that was a mouthfull... With this fix we monitor if previousTargetExtender get's destoryed so we don't accidently try to remove it's spacer.
...
BUG: 171498
svn path=/trunk/KDE/kdelibs/; revision=895405
2008-12-10 17:29:40 +00:00
Rob Scheepmaker
72eaf8c5f7
No longer use a QGraphicsGridLayout to manage offscreen widgets in corona. Instead position them manually and give each one a spot where they can grow up to QWIDGETSIZEMAX. This has the advantage of not requiring hacks to work around QGL problems, and it avoids having to move all views when one item resizes. It feels snappier and the code looks cleaner.
...
svn path=/trunk/KDE/kdelibs/; revision=895118
2008-12-10 00:57:42 +00:00
Aaron J. Seigo
a6140d5a27
use isEmpty; a couple minor, minor changes that crept in while debugging things elsewhere
...
svn path=/trunk/KDE/kdelibs/; revision=895022
2008-12-09 20:37:41 +00:00
Rob Scheepmaker
b321b2f033
Performance optimization: only change the icon if it's actually a different icon. Mainly affects uiserver widgets atm.
...
Oh, and warning--.
svn path=/trunk/KDE/kdelibs/; revision=894878
2008-12-09 14:04:33 +00:00
Aaron J. Seigo
e42452e847
* update the direction on location changes
...
* update the dialog, if it exists, when checking the border of the extender
BUG:177113
svn path=/trunk/KDE/kdelibs/; revision=894469
2008-12-08 18:03:23 +00:00
Marco Martin
ba43ebdd06
corrected sizing problem
...
animation jumps a bit less randomly
BUG: 176672
svn path=/trunk/KDE/kdelibs/; revision=893099
2008-12-05 22:48:58 +00:00
Marco Martin
b47c32869f
use elements dimensions to resize the scrollbar
...
svn path=/trunk/KDE/kdelibs/; revision=893050
2008-12-05 21:04:33 +00:00
Marco Martin
98b833977b
correct some last toolbox annoyances...
...
svn path=/trunk/KDE/kdelibs/; revision=893011
2008-12-05 18:16:30 +00:00
Marco Martin
e22429867b
int with a frameSvg when it's not in a corner
...
svn path=/trunk/KDE/kdelibs/; revision=892649
2008-12-04 20:36:35 +00:00
Marco Martin
c64d38b551
waay more reliable toolbox->toolbar switching, killed the weird
...
d->needsToolbarBehaviour()
svn path=/trunk/KDE/kdelibs/; revision=892273
2008-12-03 22:44:16 +00:00
Beat Wolf
8eeb660cdd
fixing typo. Resolves toolbox that is drawn outside screen
...
svn path=/trunk/KDE/kdelibs/; revision=891521
2008-12-02 12:44:39 +00:00
Aaron J. Seigo
f8acdb1861
apparently the documentation isn't right and you shouldn't delete the entries
...
to the report of the bug: please check that this fixes it for you whenever you can get an updated build (e.g. next build, or sooner if using svn); if not, please comment on the report and reopen it. thanks.
BUG:176661
svn path=/trunk/KDE/kdelibs/; revision=891424
2008-12-02 00:08:09 +00:00
Rob Scheepmaker
ab56a3a388
Couple of fixes:
...
* Close empty extender when clicking in it.
BUG:176545
* Saner size policy for Plasma::Meter. (the height should never be able to be smaller then svg's height because labels could otherwise overlap, actually, the whole current approach doesn't consider font size, I think we should think of a better approach for 4.3)
* Use the same spacer as used in the panel for extenders. I think we would want some svg themable shared spacer widget for 4.3, but at least this adds some consistency.
svn path=/trunk/KDE/kdelibs/; revision=891328
2008-12-01 18:30:42 +00:00
Marco Martin
9fd8a3298d
correctly position new activity when adding one
...
never show text on wider zoom level
svn path=/trunk/KDE/kdelibs/; revision=891258
2008-12-01 13:17:27 +00:00
Marco Martin
d9c14c87ba
show the toolbox as an external solid-background toolbar under the
...
containment, don't show text on icons except add windgets and add
activity
show the remove activity button in the toolbox for non active ones
svn path=/trunk/KDE/kdelibs/; revision=891209
2008-12-01 12:40:08 +00:00
Jesse Lee Zamora
629a3b3789
Polish the rough edges out of the gradient painting code.
...
svn path=/trunk/KDE/kdelibs/; revision=891051
2008-12-01 01:54:07 +00:00
Aaron J. Seigo
7fca1acbb6
if the applet is destroyed, then returnToSource() the extenders. perhaps we should be watching for extenders being deleted at random (QObject::destroyed signal?). also, seems that returnToSource is broken in general atm, but only for items in the panel, though that seems to be a separate issue. i wonder if that's a PopupApplet bug? will need to investigate.
...
CCMAIL:r.scheepmaker@student.utwente.nl
BUG:176411
svn path=/trunk/KDE/kdelibs/; revision=891037
2008-12-01 01:08:43 +00:00
Rob Scheepmaker
e1bb614999
Fixed crash when clicking an extenders dragger without actually dragging, and fixed the 'hand problem'.
...
svn path=/trunk/KDE/kdelibs/; revision=890806
2008-11-30 11:45:23 +00:00
Marco Martin
f4cf4b189b
avoid an endless repaint loop
...
condition is still very convoluted but at least a lot faster
svn path=/trunk/KDE/kdelibs/; revision=890462
2008-11-29 13:06:12 +00:00
Aaron J. Seigo
4a7699ce82
since it leads to confusion for users, breaks occassionally in svn due to its complexity, incurs overhead on every applet paint but especially when dragging, doesn't look nice at all without composite ... just kill the top level view thing and when you drag something it just "pops" into the right containment.
...
BUG:176298
svn path=/trunk/KDE/kdelibs/; revision=890331
2008-11-28 22:39:29 +00:00
Aaron J. Seigo
766dc8ab60
patch by Andrew Lake to free-resize applets from the corner rather than the center; need to do some work on applet handle right now and i don't want this patch going sideways and he's not online right now, so ...
...
svn path=/trunk/KDE/kdelibs/; revision=890316
2008-11-28 22:01:39 +00:00
Marco Martin
827876bab0
when the view is zoomed out show all desktop toolboxes as toolbars,
...
makes the thing way more usable
prettier background
and disable the text on maximum zoom out level
svn path=/trunk/KDE/kdelibs/; revision=890259
2008-11-28 17:32:21 +00:00
Rob Scheepmaker
2d4971eb46
Extender Polishing time! The following problems have been adressed:
...
* Far more correct spacer implementation. This avoids the spacer jumping around while dragging an item. Also adjustSizeHints is now only called once/spacer move.
* Avoid spacer related memleak.
* Only load extenderItems that are actually detached. This way, attached items won't linger around in case of a plasma crash.
* Use utilities-desktop-extra as icon for items with no saved icon (e.g. items where the icon is set using setIcon(QIcon) instead of setIcon(QString)). Sure beats the questionmark.
* Update mask when offscreen extender items are resized when being dragged to avoid screwed up masks (white borders).
* Start the drag only aften being moved a minimum of QApplication::startDragDistance().
* Correct transformation for calls to showDropZone.
* Use the mouse position for positioning items in extenders or panels, the topleft corner for positioning in a desktop containment. This feels the most natural.
* Move items back to the extender they came from when they're dropped into nowhere.
* Some small code style fixes.
svn path=/trunk/KDE/kdelibs/; revision=890249
2008-11-28 17:06:00 +00:00
Marco Martin
4d962352a9
respect drawBase()
...
svn path=/trunk/KDE/kdelibs/; revision=889814
2008-11-27 18:36:42 +00:00
Aaron J. Seigo
057d7693fe
sshhhh
...
svn path=/trunk/KDE/kdelibs/; revision=889813
2008-11-27 18:33:11 +00:00
Aaron J. Seigo
4659724790
don't create an unused button
...
svn path=/trunk/KDE/kdelibs/; revision=889542
2008-11-27 06:03:53 +00:00
Aaron J. Seigo
7b4de980b8
clarify this code a wee bit more and call positionContainments() in all necessary cases
...
svn path=/trunk/KDE/kdelibs/; revision=888637
2008-11-25 00:23:43 +00:00