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