Aaron J. Seigo
d2dbbdae33
reset the content root when it's a dir in case we go from single file to a directory package
...
svn path=/trunk/KDE/kdelibs/; revision=974597
2009-05-29 16:53:48 +00:00
Aaron J. Seigo
af991b4d3d
text/plain is good enough
...
svn path=/trunk/KDE/kdelibs/; revision=969455
2009-05-18 12:16:21 +00:00
Aaron J. Seigo
09e4b24817
make it possible to add custom (e.g. application specific) applet categories
...
CCMAIL:oszkar.ambrus@deri.org
svn path=/trunk/KDE/kdelibs/; revision=969430
2009-05-18 11:15:00 +00:00
Aaron J. Seigo
0b8924ce20
make the add widgets dialog non-modal
...
svn path=/trunk/KDE/kdelibs/; revision=969419
2009-05-18 10:40:30 +00:00
Aaron J. Seigo
13de4f22d5
require the images directory
...
svn path=/trunk/KDE/kdelibs/; revision=967216
2009-05-12 22:09:12 +00:00
Aaron J. Seigo
6755a8f309
now that we use plasmapkg via knewstuff to do the installation, we shouldn't try and repeat the trick ourselves afterwards. it gives the illusion that packages aren't installed when they really are.
...
BUG:187436
svn path=/trunk/KDE/kdelibs/; revision=966843
2009-05-11 23:52:25 +00:00
Aaron J. Seigo
230a162b94
make all calls to scheduleSourcesUpdate async so engines that use that internally don't incure a time penalty for doing so
...
svn path=/trunk/KDE/kdelibs/; revision=965473
2009-05-09 00:32:45 +00:00
Kevin Ottens
a9fe9d1c47
Provide a MetaService convenience class to control jolie's metaservice.
...
svn path=/branches/work/~ervin/qtjolie/; revision=965146
2009-05-08 08:23:59 +00:00
Kevin Ottens
e17822d5c2
Completely get rid of the race condition in ClientThread initialization
...
by posting events directly to the object using invokeMethod (so that
later when exec() creates the event loop it's processed, otherwise with
QTimer it's lost).
svn path=/branches/work/~ervin/qtjolie/; revision=965144
2009-05-08 08:22:45 +00:00
Aaron J. Seigo
cd3a265b5a
no longer exits
...
svn path=/trunk/KDE/kdelibs/; revision=964501
2009-05-06 19:11:26 +00:00
Aaron J. Seigo
ff97539a2e
moved to public api
...
svn path=/trunk/KDE/kdelibs/; revision=964313
2009-05-06 14:21:37 +00:00
Chani Armitage
571367cec2
middle-click pastes data onto containments now :)
...
svn path=/trunk/KDE/kdelibs/; revision=963659
2009-05-05 05:19:35 +00:00
Chani Armitage
c756fd29c4
configurable keyboard shortcuts
...
svn path=/trunk/KDE/kdelibs/; revision=963051
2009-05-03 20:22:14 +00:00
Marco Martin
22ba437095
unbreak scrollbar
...
svn path=/trunk/KDE/kdelibs/; revision=962221
2009-05-01 19:19:06 +00:00
Aaron J. Seigo
20f309487d
add generic script package support for included translations
...
svn path=/trunk/KDE/kdelibs/; revision=962208
2009-05-01 18:31:14 +00:00
Aaron J. Seigo
b8e1aab84d
use the Categories again, but mark the known ones for translation. all unknown categories will get relegated into the misc category
...
svn path=/trunk/KDE/kdelibs/; revision=962198
2009-05-01 18:03:13 +00:00
Marco Martin
7de98d0048
vertically (or horizontally) center sliders
...
svn path=/trunk/KDE/kdelibs/; revision=962180
2009-05-01 17:08:31 +00:00
Aaron J. Seigo
03ee0a6839
revert these changes as they go violate a number of design principles; this has been patiently explained a number of times now.
...
svn path=/trunk/KDE/kdelibs/; revision=962172
2009-05-01 16:28:10 +00:00
David Nolden
42172d0178
Achieve the additional background painting without adding any public API
...
svn path=/trunk/KDE/kdelibs/; revision=962014
2009-05-01 12:17:04 +00:00
David Nolden
347c0caac4
- Allow painting a background color, or a background pattern behind freely floating elements of the theme, to provide a better fallback mechanism for transparent themes when composition is not available.
...
The color/pattern is given through the configuration file, and updating due to changes of the configuration file works perfectly. A simple user-interface to use this will be added to the panel configuration.
If you want to try this out, put into the [Theme] section of your plasmarc file:
frameBackgroundColor=#aacc00 (Your picked color)
frameBackgroundColorAlpha=120 (Alpha value for the color, between 0 and 255, 0=invisible, 255=opaque)
frameBackgroundPattern=/path/to/image
frameBackgroundPatternAlpha=255 (Alpha value for the pattern, as above)
The color is painted first, then the pattern. They are painted into the mask defined by the theme, so this only works nicely with themes that supply proper masks.
svn path=/trunk/KDE/kdelibs/; revision=961915
2009-05-01 00:41:41 +00:00
Rob Scheepmaker
6bb7eb1dee
Fix memory leak on theme changes.
...
svn path=/trunk/KDE/kdelibs/; revision=961369
2009-04-30 00:46:57 +00:00
Rob Scheepmaker
af3c1f881d
Set margins for spacer and empty extender label based on the extender-background margins, and also consider the extender empty if there are only empty groups in it.
...
BUG: 189451
svn path=/trunk/KDE/kdelibs/; revision=961366
2009-04-30 00:34:49 +00:00
Marco Martin
7e98d25210
put a border for each window
...
svn path=/trunk/KDE/kdelibs/; revision=960046
2009-04-27 20:16:22 +00:00
Aaron J. Seigo
d4c7994472
allow loading applets from packages directly
...
svn path=/trunk/KDE/kdelibs/; revision=959317
2009-04-26 00:43:20 +00:00
Kevin Ottens
1ceabde6ea
Add forward headers and use them in the tests.
...
svn path=/branches/work/~ervin/qtjolie/; revision=959038
2009-04-25 14:06:25 +00:00
Kevin Ottens
e3a59c40e2
Kill the public Sodep class prefix. Now use a Jolie namespace.
...
svn path=/branches/work/~ervin/qtjolie/; revision=959030
2009-04-25 13:50:35 +00:00
Kevin Ottens
cac82a3792
First round at renaming to QtJolie and namespacing (also for headers).
...
svn path=/branches/work/~ervin/qtjolie/; revision=959005
2009-04-25 12:26:01 +00:00
Aaron J. Seigo
fc1c740837
get the highlight/unhilight and shown/unshown sorted out.. now it all works on for the spacer in the panel containment :)
...
svn path=/trunk/KDE/kdelibs/; revision=958825
2009-04-24 19:29:16 +00:00
Aaron J. Seigo
043a67fb78
SVN_SILENT: minor ws fix
...
svn path=/trunk/KDE/kdelibs/; revision=958824
2009-04-24 19:28:37 +00:00
Aaron J. Seigo
447ade0a4f
Toolbox -> ToolBox
...
svn path=/trunk/KDE/kdelibs/; revision=958823
2009-04-24 19:28:17 +00:00
Aaron J. Seigo
b5f306b91b
licensing and what not
...
svn path=/trunk/KDE/kdelibs/; revision=958533
2009-04-24 08:55:31 +00:00
Aaron J. Seigo
4171786f21
add the template interface
...
svn path=/trunk/KDE/kdelibs/; revision=958529
2009-04-24 08:44:06 +00:00
Aaron J. Seigo
977464bb65
don't keep threads around forever, let them finish
...
svn path=/trunk/KDE/kdelibs/; revision=958272
2009-04-23 16:40:18 +00:00
Aaron J. Seigo
44502959b8
remove some unecessary code
...
svn path=/trunk/KDE/kdelibs/; revision=958271
2009-04-23 16:38:38 +00:00
Jacopo De Simoi
55169a2fda
Style correction - thanks Dan
...
svn path=/trunk/KDE/kdelibs/; revision=957856
2009-04-23 02:13:54 +00:00
Jacopo De Simoi
745eeeb79a
Optimization: don't bother running the performMatch if the context is already invalid.
...
svn path=/trunk/KDE/kdelibs/; revision=957814
2009-04-22 22:53:48 +00:00
Rob Scheepmaker
70dc8b1c76
Replace hideIfEmpty with autoHide: don't show the group widget unless there are multiple items in that group. With one item we can just display that item.
...
svn path=/trunk/KDE/kdelibs/; revision=955463
2009-04-17 17:58:49 +00:00
Marco Martin
d625d40ecc
gah, no more necessary those two vars
...
svn path=/trunk/KDE/kdelibs/; revision=955450
2009-04-17 16:57:16 +00:00
Marco Martin
3075eb4bd6
fix for the billionth time the tooltip positioning borkage, hopefully
...
this way is a bit more robust
svn path=/trunk/KDE/kdelibs/; revision=955449
2009-04-17 16:55:42 +00:00
Aurélien Gâteau
7ff77020cc
Do not let plasma popup appear over screensaver.
...
BUG: 179924
svn path=/trunk/KDE/kdelibs/; revision=955241
2009-04-17 08:45:46 +00:00
Marco Martin
43af4a45b4
signal void toolBoxVisibilityChanged(bool); that notifies when the
...
toolbox gets open/closed
svn path=/trunk/KDE/kdelibs/; revision=953372
2009-04-13 20:26:17 +00:00
Kevin Ottens
a8068361b0
Big API refactoring in the SODEP binding. Now you can place call
...
(synchronous or asynchronous) like you would do with QtDBUS for
instance.
svn path=/branches/work/~ervin/sodep/; revision=953134
2009-04-13 12:39:26 +00:00
Aaron J. Seigo
83e4844d52
don't bother with the text lozenge here
...
svn path=/trunk/KDE/kdelibs/; revision=952094
2009-04-10 21:56:12 +00:00
Aaron J. Seigo
9f7edec998
expose the caching for wallpapers that don't use render() to use
...
svn path=/trunk/KDE/kdelibs/; revision=952060
2009-04-10 19:49:33 +00:00
Aaron J. Seigo
507a0eb677
clicking on the tabs in the weather widget felt normal. scroll wheeling == nice. but i kept trying to grab the tab thumb and move it around! now i can :)
...
svn path=/trunk/KDE/kdelibs/; revision=951391
2009-04-09 06:41:37 +00:00
Aaron J. Seigo
8620a462f4
moc it up
...
svn path=/trunk/KDE/kdelibs/; revision=951385
2009-04-09 06:07:33 +00:00
Aaron J. Seigo
43e5ee5d15
correct slots
...
svn path=/trunk/KDE/kdelibs/; revision=951381
2009-04-09 05:57:57 +00:00
Aaron J. Seigo
59a6afb815
use a QSet instead of a list since we're doing random access and don't care about order
...
svn path=/trunk/KDE/kdelibs/; revision=950827
2009-04-07 20:57:19 +00:00
Aaron J. Seigo
260973cd9d
SVN_SILENT: don't really need that debug
...
svn path=/trunk/KDE/kdelibs/; revision=950435
2009-04-07 07:31:42 +00:00
Aaron J. Seigo
affc3e90aa
allow setting of rendering hints, follow them in the package
...
svn path=/trunk/KDE/kdelibs/; revision=950429
2009-04-07 07:18:58 +00:00
Aaron J. Seigo
8a527b7b09
* move Wallpaper::Private to its own class
...
* introduce a default ctor for Wallpaper
* allow associating a Wallpaper PackageStructure with a Wallpaper object so that the structure can pull info from the paper
svn path=/trunk/KDE/kdelibs/; revision=950410
2009-04-07 05:45:20 +00:00
Aaron J. Seigo
fa846c54ba
make the wallpaper packages a bit smarter
...
svn path=/trunk/KDE/kdelibs/; revision=950409
2009-04-07 05:43:44 +00:00
Fredrik Höglund
4f0a9c1b2f
Don't start the fade out animation if the applet handle is still under the mouse.
...
svn path=/trunk/KDE/kdelibs/; revision=948317
2009-04-02 19:08:22 +00:00
Aaron J. Seigo
bb5a57bc26
we can't queue signals with our own enum type, but since this is all internal to the lib and doesn't ever escape into the public API, just pass it around as an int.
...
svn path=/trunk/KDE/kdelibs/; revision=948269
2009-04-02 17:21:42 +00:00
Marco Martin
dbc4852624
if a qmenu is open the handle doesn't disappear, make it disappear as
...
soon as the menu closes, this way it doesn't steal anymore the focus to
the applet
BUG:180752
svn path=/trunk/KDE/kdelibs/; revision=948256
2009-04-02 16:43:41 +00:00
Rob Scheepmaker
94dcdc31a4
Expand/collapse group icon responds to theme changes.
...
svn path=/trunk/KDE/kdelibs/; revision=948255
2009-04-02 16:40:28 +00:00
Aaron J. Seigo
1c62ca5b79
introduce wallpaper image rendering into libplasma so it can be shared amongst all wallpaper plugins; most of the plugins are duplicating this code which can't be good. :)
...
next up is to port the Image wallpaper plugin to this and make sure it all still works and then look at bringing the wallpaper listing model/view somewhere all the plugins can share it for their configuration needs
svn path=/trunk/KDE/kdelibs/; revision=948064
2009-04-02 06:31:37 +00:00
Aaron J. Seigo
e309bf2da3
add a wallpaper package definition
...
svn path=/trunk/KDE/kdelibs/; revision=948063
2009-04-02 06:29:46 +00:00
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
Marco Martin
75dcbe9413
initialize this value, that's why toolbox sometimes was going to left in
...
an unpredictable way
BUG:175796
CCMAIL:release-team@kde.org
svn path=/trunk/KDE/kdelibs/; revision=888589
2008-11-24 22:27:42 +00:00
Adriaan de Groot
5959236882
Match up the declaration of setCorner with its definition (missing const)
...
svn path=/trunk/KDE/kdelibs/; revision=888512
2008-11-24 17:39:03 +00:00
Rob Scheepmaker
4fe87fcfea
Avoid screwing up the panel when dropping extenderitems in it: make extenderapplet a popupapplet! And use pinheiro's nice and amazingly weird icon as popupicon. I think I'm gonna call it 'the snowman'.
...
svn path=/trunk/KDE/kdelibs/; revision=887651
2008-11-22 14:32:43 +00:00
Aaron J. Seigo
82ab4794bd
add file
...
svn path=/trunk/KDE/kdelibs/; revision=887091
2008-11-21 03:45:03 +00:00
Aaron J. Seigo
23a7c83164
clear the shortcuts editor pointer only when the dialog is actually dead and gone
...
BUG:175722
svn path=/trunk/KDE/kdelibs/; revision=887090
2008-11-21 03:43:45 +00:00
Rob Scheepmaker
47dcbf47b9
By default, use an empty string as empty extender label, and don't display that label if that string is empty. The idea is that having that label there is weird when the extender is used in a dialog. The case in which the label is useful, is when the extender is embedded in an applet on the desktop, and the applet should only set the label, if this is the case.
...
svn path=/trunk/KDE/kdelibs/; revision=886937
2008-11-20 16:37:30 +00:00
Aaron J. Seigo
ece148395c
make sure screen is valid before asking for i
...
svn path=/trunk/KDE/kdelibs/; revision=886708
2008-11-19 21:18:37 +00:00
Aaron J. Seigo
4f72717a26
cleanups
...
svn path=/trunk/KDE/kdelibs/; revision=886707
2008-11-19 21:18:12 +00:00
Aaron J. Seigo
73a23ddf48
keep the tools in the allowed area
...
svn path=/trunk/KDE/kdelibs/; revision=886384
2008-11-19 05:35:34 +00:00
Aaron J. Seigo
cb4ac7b6ce
proper size
...
BUG:175209
svn path=/trunk/KDE/kdelibs/; revision=886381
2008-11-19 05:08:38 +00:00
Aaron J. Seigo
b4a67cda4b
remove some todos, add some debug ... though now i can't reproduce the problem where my cashew scoots over the left randomly. hum hum hum
...
svn path=/trunk/KDE/kdelibs/; revision=886331
2008-11-19 00:40:38 +00:00
Aaron J. Seigo
c027fb3886
remove some more dead code due to c-n-p from DesktopToolBox
...
svn path=/trunk/KDE/kdelibs/; revision=886220
2008-11-18 20:47:04 +00:00
Marco Martin
2eb6b3ed9c
hide the view on rmb click
...
BUG: 166902
svn path=/trunk/KDE/kdelibs/; revision=886216
2008-11-18 20:39:05 +00:00
Marco Martin
9cfe6246ec
make the tabbar widget stretch also in height (thus umbreaking it in the
...
panel), with a dirty hack on minimum/maximum sizes, but i think it's the
only way for now, since minimumTabSizeHint() and maximumTabSizeHint()
are private in QTabBar and will be protected probably not before Qt5 O.o
svn path=/trunk/KDE/kdelibs/; revision=886098
2008-11-18 15:27:04 +00:00
Aaron J. Seigo
4f36ceb235
we don't need the timer on this one; it's only useful for the desktop toolbox.
...
BUG:167782
svn path=/trunk/KDE/kdelibs/; revision=885897
2008-11-18 03:37:43 +00:00
Aaron J. Seigo
1171ef67d8
deleteLater is unecessary in this case and it just screws up some of our use cases such as the screen saver toolbox
...
svn path=/trunk/KDE/kdelibs/; revision=885859
2008-11-18 00:43:52 +00:00
Aaron J. Seigo
649057791d
clean this up a little bit
...
svn path=/trunk/KDE/kdelibs/; revision=885858
2008-11-18 00:43:11 +00:00
Aaron J. Seigo
1b04d7b8b0
make panel toolboxes position and paint properly; essentially do what i did earlier for the desktop one by caching the colors from the theme and getting rid of the negative coordinates
...
svn path=/trunk/KDE/kdelibs/; revision=885840
2008-11-18 00:12:05 +00:00
Aaron J. Seigo
160e70ccd0
add proper support for virtual desktops, which really requires more than just the View being aware of it; given the default parameters, it's a detail most plasma based apps can ignore (just like screens in general, actually =)
...
svn path=/trunk/KDE/kdelibs/; revision=885330
2008-11-17 04:34:55 +00:00
Aaron J. Seigo
34ab711509
global shortcut configuration for all applets =)
...
svn path=/trunk/KDE/kdelibs/; revision=884810
2008-11-15 21:23:56 +00:00
Aaron J. Seigo
74acdc9534
don't leak the style.
...
svn path=/trunk/KDE/kdelibs/; revision=884504
2008-11-15 07:08:30 +00:00
Aaron J. Seigo
dfa5462c82
mark the header private and do the moc'ing the way we do the rest
...
svn path=/trunk/KDE/kdelibs/; revision=884503
2008-11-15 07:08:08 +00:00
Aaron J. Seigo
9329ce25a2
handle all corners on load
...
svn path=/trunk/KDE/kdelibs/; revision=884088
2008-11-14 08:04:46 +00:00
Aaron J. Seigo
c7cb88677c
draw the toolbox so i can see where it is while working on this stuff
...
svn path=/trunk/KDE/kdelibs/; revision=884083
2008-11-14 07:54:49 +00:00
Aaron J. Seigo
004f5e0276
save move when it's finished; should make reposition() feel less random
...
svn path=/trunk/KDE/kdelibs/; revision=884075
2008-11-14 07:30:35 +00:00
Aaron J. Seigo
d0c7968b18
load and save toolbox position between restarts!
...
still to come:
* don't paint when zoomed, replace with tool strip instead
* respect available area during drag
* smarter positioning (right now it just loads the saved position whenever it needs to reposition)
svn path=/trunk/KDE/kdelibs/; revision=884072
2008-11-14 07:28:02 +00:00
Aaron J. Seigo
18885bd0f0
some tooltip regression fixes from moving to QTextDocument; as an added bonus we don't copy the tooltip content anymore!
...
svn path=/trunk/KDE/kdelibs/; revision=884063
2008-11-14 06:06:15 +00:00
Aaron J. Seigo
2de1e10c67
try and avoid, really hard, to allow constraintsUpdatedEvents before we get the StartupCompelted constraint through
...
svn path=/trunk/KDE/kdelibs/; revision=884053
2008-11-14 04:34:52 +00:00
Aaron J. Seigo
0bc65a788d
allow custom image, html and css resources in tooltips
...
svn path=/trunk/KDE/kdelibs/; revision=884026
2008-11-14 00:52:29 +00:00
Beat Wolf
a387ff3a29
correct import for kmenu
...
svn path=/trunk/KDE/kdelibs/; revision=884024
2008-11-14 00:34:36 +00:00
Beat Wolf
675b4b59b8
add general way to add context menus to containments. Reviewed by aseigo
...
svn path=/trunk/KDE/kdelibs/; revision=884003
2008-11-13 23:08:58 +00:00
Aaron J. Seigo
51c912969b
don't move the tools more than they need to move; makes it possible to hit the buttons agian!
...
i see several issues with this method, however, that already existed and will fix that along with implementing save/hide and available space respect later tonight.
svn path=/trunk/KDE/kdelibs/; revision=883080
2008-11-12 03:57:01 +00:00
Aaron J. Seigo
cdf562df11
simplify toolbox positioining and drawing
...
svn path=/trunk/KDE/kdelibs/; revision=882672
2008-11-11 08:12:20 +00:00
Aaron J. Seigo
0eb079d33b
ensure the toolbox fits in the panel; makes small panels work better
...
svn path=/trunk/KDE/kdelibs/; revision=882654
2008-11-11 05:26:52 +00:00
Aaron J. Seigo
4e964a2ec8
update the hover pos to make the entry point the last hovered location
...
BUG:172075
svn path=/trunk/KDE/kdelibs/; revision=882611
2008-11-11 00:57:08 +00:00
Aaron J. Seigo
e8eb11a3b7
tell the tooltip widget about the source so it can tel it when it disappears and to prompt it for updates appropriately
...
svn path=/trunk/KDE/kdelibs/; revision=882588
2008-11-10 23:30:19 +00:00
Rob Scheepmaker
cfb43a7632
Correct sizehints for extender containing applets on the desktop. Also renamed the private adjustSize() function to adjustSizeHints() to avoid confusion.
...
svn path=/trunk/KDE/kdelibs/; revision=882356
2008-11-10 15:49:31 +00:00
Aaron J. Seigo
7afd2e9d99
first draft of draggable toolbox; doesn't work quite properly yet due to historical oddnesses of the toolbox itself. will finish up in the days to comes; all TODOs are documented
...
svn path=/trunk/KDE/kdelibs/; revision=882217
2008-11-10 03:53:35 +00:00
Aaron J. Seigo
249a44ab8d
don't overload the meaning of hasConfigurationInterface for containments, since that makes things difficult for applets-that-are-containments, e.g. folderview
...
svn path=/trunk/KDE/kdelibs/; revision=882205
2008-11-10 01:26:27 +00:00
Aaron J. Seigo
d6ac15c20f
4->2, makes amarokers more happy too
...
svn path=/trunk/KDE/kdelibs/; revision=882103
2008-11-09 19:51:31 +00:00
Aaron J. Seigo
89f4735cc9
call the right parent class methods
...
svn path=/trunk/KDE/kdelibs/; revision=881295
2008-11-07 18:03:16 +00:00
Aaron J. Seigo
aca23afb4a
a bit of a clean up on the overlay stuff; makes it easy to add overlay messages in the future (planned for 4.3)
...
svn path=/trunk/KDE/kdelibs/; revision=880833
2008-11-06 15:52:13 +00:00