Adenilson Cavalcanti Da Silva
1049afdab6
First step to improve new animations memory model.
...
Now the QAbstractAnimations will be cached when running an animation
(instead of creating and destroying them everytime the animation runs).
The next step is to cache *also* the configuration parameters (as aseigo suggested,
by having an event filter to detect changes in the animated widgets and reseting
the animation parameters as needed).
svn path=/trunk/KDE/kdelibs/; revision=1039531
2009-10-23 18:39:57 +00:00
Petri Damstén
042ed56b39
* Add support to load PopupApplet and Containment from path
...
* AppletScript::addStandardConfigurationPages adds also publish page
* AppletScript::standardConfigurationDialog does not add standard pages (there is addStandardConfigurationPages)
svn path=/trunk/KDE/kdelibs/; revision=1039471
2009-10-23 13:48:29 +00:00
Marco Martin
d9de800d36
SVN_SILENT: less awfully long line
...
svn path=/trunk/KDE/kdelibs/; revision=1039434
2009-10-23 12:07:48 +00:00
Aaron J. Seigo
c765e808a7
* the drop position is always relative to the containment; don't need to do store the scene pos. this fixes drops on panels
...
* allow drops on the toolbox, this gives is a place to drop things on the panel at all times, similar to the context menu on toolbox
* small delay on showing the drop zone indicator so that when dragging into the tasks widget, for example, we don't end up flickering as it crosses the panel containment edge
svn path=/trunk/KDE/kdelibs/; revision=1039186
2009-10-22 22:14:22 +00:00
Andrew Coles
242868a972
Fixed minor typo: don't use exclamation points in messages.
...
SVN_SILENT
svn path=/trunk/KDE/kdelibs/; revision=1039153
2009-10-22 20:48:59 +00:00
Marco Martin
2f7ba10bfc
return the proper shape
...
svn path=/trunk/KDE/kdelibs/; revision=1039146
2009-10-22 20:38:32 +00:00
Marco Martin
a45a20c32c
return the proper boundingRect()
...
svn path=/trunk/KDE/kdelibs/; revision=1039144
2009-10-22 20:32:36 +00:00
Marco Martin
82177676af
better gradient when the handle is at left
...
svn path=/trunk/KDE/kdelibs/; revision=1039135
2009-10-22 20:01:19 +00:00
Aaron J. Seigo
be914e1196
SVN_SILENT: tabs to spaces
...
svn path=/trunk/KDE/kdelibs/; revision=1039130
2009-10-22 19:36:29 +00:00
Marco Martin
03bb063c62
migrate focusindicator to the new api
...
change the api of fade to be abe to set a start and an end taget
opacities
svn path=/trunk/KDE/kdelibs/; revision=1039087
2009-10-22 17:39:43 +00:00
Adenilson Cavalcanti Da Silva
8a930cbaca
Moving rotation related only parameters back to RotationAnimation.
...
The idea is to keep in AbstractAnimationPrivate only what is shared by all
(or at least most) of animations.
svn path=/trunk/KDE/kdelibs/; revision=1039035
2009-10-22 15:35:08 +00:00
Adenilson Cavalcanti Da Silva
d82ac07001
Adding missing documentation.
...
svn path=/trunk/KDE/kdelibs/; revision=1039029
2009-10-22 15:20:17 +00:00
Igor Trindade Oliveira
67ffbf7ff3
janitor job: make it works
...
svn path=/trunk/KDE/kdelibs/; revision=1039010
2009-10-22 13:58:35 +00:00
Igor Trindade Oliveira
fd62504373
fix: make animation works again, add fowards attribute
...
svn path=/trunk/KDE/kdelibs/; revision=1039003
2009-10-22 13:40:30 +00:00
Marco Martin
a7573ce263
clean up a bit of old wronghish code and no more jumping behaviour
...
svn path=/trunk/KDE/kdelibs/; revision=1038795
2009-10-21 21:04:03 +00:00
Adenilson Cavalcanti Da Silva
a1bf0fd085
Moving rotation related parameters to common location (now it should
...
be possible to use AbstractAnimation properties to use rotation
animation).
svn path=/trunk/KDE/kdelibs/; revision=1038337
2009-10-21 05:32:04 +00:00
Aaron J. Seigo
73b60b9a55
* keep the non-deprecated stuff out of deprecated/, such as the new animator factory method
...
* don't be lazy with the names (Anim->Animation)
svn path=/trunk/KDE/kdelibs/; revision=1038307
2009-10-21 01:51:31 +00:00
Aaron J. Seigo
353c7d9aca
one more API shift
...
svn path=/trunk/KDE/kdelibs/; revision=1038236
2009-10-20 21:21:40 +00:00
Aaron J. Seigo
8b9830dc2b
API cleanups
...
svn path=/trunk/KDE/kdelibs/; revision=1038232
2009-10-20 21:14:46 +00:00
Aaron J. Seigo
b29d0a79aa
sort out the API a bit and don't have private classes that are named the same
...
svn path=/trunk/KDE/kdelibs/; revision=1038220
2009-10-20 21:04:49 +00:00
Aaron J. Seigo
30dc3caf9b
* move remotedataengine.h to remotedataengine_p.h as it's private
...
* allow queueing for un-ready remote services
* always double check that the RemoteServiceJob is really Ok to send; things like operation being ready may have changed, for instance
svn path=/trunk/KDE/kdelibs/; revision=1038181
2009-10-20 19:15:32 +00:00
Aaron J. Seigo
979d295565
* queue the job in the service if the service isn't ready
...
* check the validity of a job before executing; things may have changed!
svn path=/trunk/KDE/kdelibs/; revision=1038158
2009-10-20 18:23:32 +00:00
Aaron J. Seigo
8df22fd9b1
* always create a job (it'll just queue itself)
...
* provide getters for the busy/ready states
* check the queue when we become ready
svn path=/trunk/KDE/kdelibs/; revision=1038156
2009-10-20 18:22:38 +00:00
Marco Martin
6b0a4590d2
Export a really simple AbstractToolBox
...
add a setToolBox function
svn path=/trunk/KDE/kdelibs/; revision=1038024
2009-10-20 14:14:53 +00:00
Igor Trindade Oliveira
cbc0f99d2a
add Easing Curve Type Property
...
svn path=/trunk/KDE/kdelibs/; revision=1038000
2009-10-20 13:08:23 +00:00
Aaron J. Seigo
dd2b126960
* when sources and services are called too early, add them to "pending" lists and clear them as soon as we are set up properly to do so
...
* always call setData in sourceRequestEvent otherwise DataEngine will think nothing has been set up
svn path=/trunk/KDE/kdelibs/; revision=1037795
2009-10-20 02:57:26 +00:00
Aaron J. Seigo
9500388d8d
don't crash when serviceForSource is called "too early" on a remote data engine
...
svn path=/trunk/KDE/kdelibs/; revision=1037790
2009-10-20 01:28:02 +00:00
Marco Martin
ed950edc24
correctly sync with parent geometry
...
svn path=/trunk/KDE/kdelibs/; revision=1037755
2009-10-19 22:19:04 +00:00
Marco Martin
b2bb69732a
provide the Animator::registerScrollingManager(qgraphicsidget) function.
...
the animator creates a kineticscroll and associates it with the widget.
in this way we can use kineticscroll outside of libplasma with a single
call.
svn path=/trunk/KDE/kdelibs/; revision=1037751
2009-10-19 22:10:25 +00:00
Marco Martin
89e73cecd2
animate the highlight with the new animation framework. we got a glow
...
item called FocusIndicaotr, it's private for now and probably it should
remain so
svn path=/trunk/KDE/kdelibs/; revision=1037733
2009-10-19 21:13:54 +00:00
Artur Duque de Souza
e9f98cd0d8
Use "Share" instead of "Publish" in remote widgets UI.
...
It's more user friendly and avoids misconceptions like "Publish"
being a way to publish to kde-apps for example.
svn path=/trunk/KDE/kdelibs/; revision=1037544
2009-10-19 13:29:29 +00:00
Adenilson Cavalcanti Da Silva
10d9afacb4
SlideAnimation is done now.
...
svn path=/trunk/KDE/kdelibs/; revision=1036795
2009-10-17 19:40:44 +00:00
Adenilson Cavalcanti Da Silva
6142e913f6
Moving AnimationPrivate to private directory and removing
...
privat members in GrowAnimation.
Next: do the same with other animations.
svn path=/trunk/KDE/kdelibs/; revision=1036737
2009-10-17 17:35:02 +00:00
Marco Martin
342489ea62
ignore the scroll event if the widget is totally scrolled
...
svn path=/trunk/KDE/kdelibs/; revision=1035777
2009-10-15 20:46:07 +00:00
Marco Martin
c4b42df8e8
use an eventfilter instead to have to manually forward each event,
...
should be less error prone and require less api
svn path=/trunk/KDE/kdelibs/; revision=1035740
2009-10-15 19:11:34 +00:00
Marco Martin
7fb7eefa8b
use weakpointer, hopefully a crash less
...
svn path=/trunk/KDE/kdelibs/; revision=1035683
2009-10-15 16:42:41 +00:00
Aaron J. Seigo
c5833d1939
handles are now children of the applet, so we don't need to destroy them ourselves; we do need to clear the applet pointer in the handle before it is destroyed, however.
...
BUG:209058
svn path=/trunk/KDE/kdelibs/; revision=1035446
2009-10-15 03:25:07 +00:00
Aaron J. Seigo
5a36b63df8
use QGraphicsObject, another nicety in Qt 4.6
...
svn path=/trunk/KDE/kdelibs/; revision=1035320
2009-10-14 18:59:44 +00:00
Aaron J. Seigo
ee461e739e
activity naming consistency, take 2
...
svn path=/trunk/KDE/kdelibs/; revision=1034920
2009-10-13 23:07:35 +00:00
Aaron J. Seigo
c27ddab67e
QPointer -> QWeakPointer
...
svn path=/trunk/KDE/kdelibs/; revision=1034904
2009-10-13 21:43:35 +00:00
Darío Andrés Rodríguez
59296fb520
- Fix several minor issues reported by Krazy2
...
(http://reviewboard.kde.org/r/1837/ )
svn path=/trunk/KDE/kdelibs/; revision=1034756
2009-10-13 12:40:13 +00:00
Marco Martin
2822ce65cd
include wheelevent too
...
svn path=/trunk/KDE/kdelibs/; revision=1034755
2009-10-13 12:36:48 +00:00
Marco Martin
354f560a9d
this shouldn't be there
...
svn path=/trunk/KDE/kdelibs/; revision=1034754
2009-10-13 12:31:21 +00:00
Marco Martin
3eb6730abf
include QPointF
...
svn path=/trunk/KDE/kdelibs/; revision=1034752
2009-10-13 12:29:55 +00:00
Marco Martin
b3c08d7c3f
style
...
svn path=/trunk/KDE/kdelibs/; revision=1034731
2009-10-13 10:47:41 +00:00
Marco Martin
75b7874569
use a frame called mask-overlay if available for the mask used for
...
overlay: it can be independent from the window opacity mask
svn path=/trunk/KDE/kdelibs/; revision=1033726
2009-10-10 21:34:51 +00:00
Andrew Coles
ffcb8b6e62
Proof-reading.
...
svn path=/trunk/KDE/kdelibs/; revision=1033253
2009-10-09 20:07:44 +00:00
Marco Martin
660082707f
move the windows thumbnail code in WindowEffects, still to be decided if
...
windowsizes(geometries?) will be in KWindowsystem
svn path=/trunk/KDE/kdelibs/; revision=1033125
2009-10-09 14:40:03 +00:00
Andreas Hartmetz
d0ecf4ae88
This hopefully fixes a double delete bug. I don't see what would prevent both
...
RunnerManager::jobDone() and DelayedJobCleaner::jobDone() from being invoked
if the JobDone() signal is emitted just at the right (wrong) time.
Both jobDone() slots delete (as in delete operator) the job.
CCMAIL:aseigo@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1033035
2009-10-09 09:33:20 +00:00
Marco Martin
38884ccd1a
now the api is similar to what webkit offers and horizontal and vertical
...
scroll is done in pixels and in a single pass.
we have 3 properties in widgets that wants to support scroll:
scrollPosition
viewportGeometry
constentsSize
svn path=/trunk/KDE/kdelibs/; revision=1032821
2009-10-08 16:04:56 +00:00
Aaron J. Seigo
0d3fdb718a
add a tooltip
...
svn path=/trunk/KDE/kdelibs/; revision=1032393
2009-10-07 18:32:15 +00:00
Aaron J. Seigo
f55ece10b0
add a tooltip to the panel toolbox. hooray for discoverability.
...
svn path=/trunk/KDE/kdelibs/; revision=1032380
2009-10-07 17:11:03 +00:00
Aaron J. Seigo
4fc13d171a
* make a QGrahpicsWidget
...
* provide access to the containment pointer
svn path=/trunk/KDE/kdelibs/; revision=1032379
2009-10-07 17:08:44 +00:00
Adenilson Cavalcanti Da Silva
3d33d3f28f
Factoring the ratio of widget/viewport size when doing the
...
kinetic scrolling.
This will help to have a proper scrolling in cases that the
viewport is several times smaller than the widget size.
svn path=/trunk/KDE/kdelibs/; revision=1032023
2009-10-06 16:58:42 +00:00
Chani Armitage
cfd8409432
make a class to hold a map of default containmentactions plugins
...
svn path=/trunk/KDE/kdelibs/; revision=1031735
2009-10-05 20:50:57 +00:00
Marco Martin
17b6cf0974
qvariant doean't have toReal, build++
...
svn path=/trunk/KDE/kdelibs/; revision=1030886
2009-10-03 12:30:00 +00:00
Igor Trindade Oliveira
cab81476e3
fix: rounded-off errors
...
svn path=/trunk/KDE/kdelibs/; revision=1030709
2009-10-03 03:27:52 +00:00
Igor Trindade Oliveira
a73a22d713
SVN_SILENT: timer--, remove one timer
...
svn path=/trunk/KDE/kdelibs/; revision=1030290
2009-10-02 04:05:21 +00:00
Adenilson Cavalcanti Da Silva
0373ff836d
Tweaking kinetic scrolling parameters to slow down a bit.
...
It also started to use QRectF to improve precision (should make
movement smoother).
svn path=/trunk/KDE/kdelibs/; revision=1030203
2009-10-01 20:44:40 +00:00
Adenilson Cavalcanti Da Silva
99cdc241c3
Making kinetic scrolling class generic.
...
The current design uses 3 properties to calculate movement (horizontal/vertical
position and the viewport size) being up to the client class (e.g. ScrollWidget)
move its widgets when the position property changed.
It will allow to reuse the kinetic scrolling class with other plasmoids.
svn path=/trunk/KDE/kdelibs/; revision=1030136
2009-10-01 16:47:19 +00:00
Chani Armitage
cd65144478
rightclick on popupapplet's dialog behaves like
...
rightclick on the applet itself
svn path=/trunk/KDE/kdelibs/; revision=1029866
2009-09-30 23:07:42 +00:00
Aaron J. Seigo
4cd5189513
in case of job failure, be sure we don't leave the context menu just hanging around there
...
svn path=/trunk/KDE/kdelibs/; revision=1029846
2009-09-30 21:42:05 +00:00
Aaron J. Seigo
326a6a4b18
proper caching, and only caching when we need to
...
svn path=/trunk/KDE/kdelibs/; revision=1029074
2009-09-28 21:54:00 +00:00
Aaron J. Seigo
79a826e17c
don't hang on to the overlay in FrameSvg, rely on the pixmap cache for that
...
svn path=/trunk/KDE/kdelibs/; revision=1029052
2009-09-28 21:02:24 +00:00
Marco Martin
65a85e7a3d
fade out the tabs text at the edges of the tabbar if the tabs are too
...
many for the space
svn path=/trunk/KDE/kdelibs/; revision=1028649
2009-09-27 20:23:13 +00:00
Marco Martin
d9d71fcb93
use the toolbox background svg for the toolbox background
...
svn path=/trunk/KDE/kdelibs/; revision=1028014
2009-09-25 13:30:30 +00:00
Laurent Montel
b3b520f1aa
Fix crash when urlLists is empty (for example when frame applet is not configuring)
...
svn path=/trunk/KDE/kdelibs/; revision=1027917
2009-09-25 06:58:32 +00:00
Albert Astals Cid
376e23e095
const & in foreach variables
...
svn path=/trunk/KDE/kdelibs/; revision=1027710
2009-09-24 14:24:46 +00:00
Marco Martin
d733458a0d
be sure be sure we're using the !base" prefix
...
svn path=/trunk/KDE/kdelibs/; revision=1027242
2009-09-23 16:37:47 +00:00
Marco Martin
6c4ec4f091
use the lineedit element
...
svn path=/trunk/KDE/kdelibs/; revision=1027232
2009-09-23 16:18:38 +00:00
Rob Scheepmaker
5b56a34dfa
Support drag & drop of plasma:// and plasma+zeroconf:// urls onto plasma containments.
...
svn path=/trunk/KDE/kdelibs/; revision=1026777
2009-09-22 15:29:08 +00:00
Aaron J. Seigo
19f55f804b
packages can now generate a hash of their contents; inc unit test
...
svn path=/trunk/KDE/kdelibs/; revision=1026489
2009-09-21 21:37:44 +00:00
Adenilson Cavalcanti Da Silva
da3ece21e8
Fixing kinetic scrolling with thinkpad 'scrollwheel'
...
Since it generates lots of wheel events, it was re-triggering the bouncer
animation before it was completed. The result was a 'jittering' (d)effect.
I also increased the friction factor to make it scroll slower.
svn path=/trunk/KDE/kdelibs/; revision=1026404
2009-09-21 18:38:53 +00:00
Igor Trindade Oliveira
03dbe67aae
fix horizontal kinetic scrolling
...
svn path=/trunk/KDE/kdelibs/; revision=1026072
2009-09-20 18:21:41 +00:00
Laurent Montel
ce0cb1e916
Fix "Warning: Class ToolBox implements the interface QGraphicsItem but does not list it in Q_INTERFACES. qobject_cast to QGraphicsItem will not work!" with qt-4.6
...
svn path=/trunk/KDE/kdelibs/; revision=1025997
2009-09-20 12:53:16 +00:00
Igor Trindade Oliveira
03ab1a611a
horizontal kinetic scrolling working right now
...
svn path=/trunk/KDE/kdelibs/; revision=1025781
2009-09-19 17:07:56 +00:00
Laurent Montel
1a8d9c1030
const'ify
...
svn path=/trunk/KDE/kdelibs/; revision=1025302
2009-09-18 10:26:43 +00:00
Igor Trindade Oliveira
770791bcaa
SVN_SILENT: remove repeated code
...
svn path=/trunk/KDE/kdelibs/; revision=1025262
2009-09-18 09:27:04 +00:00
Igor Trindade Oliveira
f4b99c99d7
change name: from overshut to overshoot
...
svn path=/trunk/KDE/kdelibs/; revision=1025203
2009-09-18 08:56:09 +00:00
Adenilson Cavalcanti Da Silva
974df6773a
Adding a kinetic scrolling class and using it in plasma::ScrollWidget.
...
ATM, it uses timers to do the animation, the idea is to use factory pattern
and implement the animation with QProperyAnimation too (using Qt 4.6).
svn path=/trunk/KDE/kdelibs/; revision=1024929
2009-09-17 16:24:19 +00:00
Marco Martin
08d49e6fd0
introducing the concept of associated application:
...
an an application and/or an url list can be associated with an aplet
and a context menu entry and an applet handle button will be added to
launch that application.
the applet will be considered a preview of something, where the
application its full view, for example the picture frame can open
gwenview
svn path=/trunk/KDE/kdelibs/; revision=1024487
2009-09-16 17:08:45 +00:00
Aaron J. Seigo
6a9a5ec1a8
make sure we get images in the format we need them to be in; fixes issues on 16bit displays
...
svn path=/trunk/KDE/kdelibs/; revision=1023999
2009-09-15 19:21:17 +00:00
Laurent Montel
b37aeeeaa8
not necessary
...
svn path=/trunk/KDE/kdelibs/; revision=1023837
2009-09-15 11:36:39 +00:00
Rob Scheepmaker
413f8da6b3
And port to the new api, and rename the copy.
...
svn path=/trunk/KDE/kdelibs/; revision=1023814
2009-09-15 11:12:45 +00:00
Rob Scheepmaker
baa782e764
Remove the old qtjolie fork, and copy in the current qtjolie, since that one now has all the features remote widgets require.
...
svn path=/trunk/KDE/kdelibs/; revision=1023804
2009-09-15 11:04:17 +00:00
Aaron J. Seigo
432ad10dbe
clean up after a drop
...
svn path=/trunk/KDE/kdelibs/; revision=1022560
2009-09-12 02:38:10 +00:00
Sebastian Kügler
36b30b8751
Don't special-case local files for dropped content
...
Now all (local and remote) file drops use KIO to retrieve the mimetype.
svn path=/trunk/KDE/kdelibs/; revision=1022557
2009-09-12 01:44:01 +00:00
Aaron J. Seigo
229deb1d29
if the applet is a popup applet and is in the panel and has a dialog then show messages in a popup as well
...
svn path=/trunk/KDE/kdelibs/; revision=1022543
2009-09-12 00:19:42 +00:00
Marco Martin
01d626b7f4
toggle toolbox only if it was visible
...
svn path=/trunk/KDE/kdelibs/; revision=1022111
2009-09-10 20:31:45 +00:00
Marco Martin
fb365bfbf1
when an action is triggered really close the toolbox, don't just hide it
...
svn path=/trunk/KDE/kdelibs/; revision=1022109
2009-09-10 20:23:07 +00:00
Marco Martin
ae59b63602
resize of rotated applets -almost- correct.. almost..
...
svn path=/trunk/KDE/kdelibs/; revision=1021737
2009-09-09 22:24:49 +00:00
André Wöbbeking
e1c7e86bcf
compile without QCA
...
CCMAIL:r.scheepmaker@student.utwente.nl
svn path=/trunk/KDE/kdelibs/; revision=1021723
2009-09-09 21:54:31 +00:00
Marco Martin
f56a174cd3
map the movement to the rotation transform
...
svn path=/trunk/KDE/kdelibs/; revision=1021647
2009-09-09 18:08:00 +00:00
Aaron J. Seigo
85defb5470
start of making the applet handle a child of the applet, stacked behind. a lot less code, preserves the geometry caches in the scene. also removes a ton of update() calls that aren't necessary these days. result -> a lot snappier/smoother. still some positioning bugs due to the change in parenting in the code, but definitely the direction we need to be going in.
...
svn path=/trunk/KDE/kdelibs/; revision=1021595
2009-09-09 16:14:20 +00:00
Kevin Ottens
4f8e3e3333
Merging in relevant changes from the libplasma private fork. Porting
...
tests as required.
CCMAIL: r.scheepmaker@student.utwente.nl
CCMAIL: aseigo@kde.org
svn path=/branches/work/~ervin/qtjolie/; revision=1020942
2009-09-07 17:01:03 +00:00
Olivier Goffart
705b930ca3
Optimize the drawning of blur text.
...
Drawing the blur text takes 65% of the time while changing desktop on my desktop
(40 opened windows)
QImage::width() and QImage::height() are not inline, do not call them on a tight
loop or they consume 10% of the time.
Reviewed by Alexis
svn path=/trunk/KDE/kdelibs/; revision=1020918
2009-09-07 15:27:36 +00:00
Aaron J. Seigo
b32e268e15
meh; can't move these files into a subdir as-is; need to think of a more clever strategy
...
svn path=/trunk/KDE/kdelibs/; revision=1019657
2009-09-04 08:58:34 +00:00
Rob Scheepmaker
c69e570b68
Add "freely accessable for everybody" checkbox to the publish page in
...
the applet config.
svn path=/trunk/KDE/kdelibs/; revision=1019593
2009-09-04 00:08:26 +00:00
Rob Scheepmaker
fb14be1caa
Add a checkbox to the publication ui.
...
svn path=/trunk/KDE/kdelibs/; revision=1019592
2009-09-04 00:08:22 +00:00
Rob Scheepmaker
9e165484bc
No more crashy crashy on timeouty timeouty.
...
svn path=/trunk/KDE/kdelibs/; revision=1019582
2009-09-03 23:04:10 +00:00
Aaron J. Seigo
1e6aaec27f
extenders into a subdir
...
svn path=/trunk/KDE/kdelibs/; revision=1019570
2009-09-03 21:53:56 +00:00
Aaron J. Seigo
b711b96ee0
runner infra into a subdir
...
svn path=/trunk/KDE/kdelibs/; revision=1019561
2009-09-03 21:21:27 +00:00
Aaron J. Seigo
01ec8984e2
more remote code into a subdir
...
svn path=/trunk/KDE/kdelibs/; revision=1019555
2009-09-03 21:10:33 +00:00
Aaron J. Seigo
2d9352d7b8
this is private code
...
svn path=/trunk/KDE/kdelibs/; revision=1019546
2009-09-03 20:38:18 +00:00
Rob Scheepmaker
a2206eddda
Fix the mutliple inheritence from QObject issue... people having this
...
problem: rejoice!
svn path=/trunk/KDE/kdelibs/; revision=1019153
2009-09-03 00:12:57 +00:00
Rob Scheepmaker
5b160ac802
Make policykit stuff 'work' (well, it doesn't, I'll still have to figure
...
out why, but the basic code is there), and delay the starting of the
jolie service and unlocking of the keyring for your credentials to when
it's actually needed.
svn path=/trunk/KDE/kdelibs/; revision=1019142
2009-09-02 23:49:58 +00:00
Rob Scheepmaker
b809967eb3
APIDOX and code style++, plus policykit integration.
...
svn path=/trunk/KDE/kdelibs/; revision=1019141
2009-09-02 23:49:46 +00:00
Aaron J. Seigo
6e221c92a4
this is private stuff
...
svn path=/trunk/KDE/kdelibs/; revision=1019046
2009-09-02 17:35:52 +00:00
Laurent Montel
f8949919b2
Fixuifiles
...
svn path=/trunk/KDE/kdelibs/; revision=1018956
2009-09-02 11:32:57 +00:00
Laurent Montel
083c419616
install as component devel
...
svn path=/branches/work/~ervin/qtjolie/; revision=1018785
2009-09-02 07:50:40 +00:00
Laurent Montel
677240d7b4
Backport:
...
fix mem leak
svn path=/branches/work/~ervin/qtjolie/; revision=1018784
2009-09-02 07:49:47 +00:00
Laurent Montel
a5f8b8b6b5
Fix mem leak
...
svn path=/trunk/KDE/kdelibs/; revision=1018782
2009-09-02 07:44:26 +00:00
Laurent Montel
117ed60de6
Remove it
...
svn path=/trunk/KDE/kdelibs/; revision=1018762
2009-09-02 06:33:34 +00:00
Laurent Montel
1ea1aef8b2
Fix pedantic
...
svn path=/trunk/KDE/kdelibs/; revision=1018761
2009-09-02 06:30:51 +00:00
Kevin Ottens
9e88e6122e
Make it build from within kdelibs.
...
svn path=/trunk/KDE/kdelibs/; revision=1018759
2009-09-02 06:28:32 +00:00
Laurent Montel
8bbcbb618e
Fix include
...
svn path=/trunk/KDE/kdelibs/; revision=1018758
2009-09-02 06:27:04 +00:00
Laurent Montel
b2baaa2364
Fix include
...
svn path=/trunk/KDE/kdelibs/; revision=1018756
2009-09-02 06:22:26 +00:00
Laurent Montel
1423d3e38b
Pedantic fix include
...
(someone tested compile ???)
svn path=/trunk/KDE/kdelibs/; revision=1018754
2009-09-02 06:17:35 +00:00
Laurent Montel
9e3debb423
Fix include
...
svn path=/trunk/KDE/kdelibs/; revision=1018748
2009-09-02 06:07:09 +00:00
Laurent Montel
9d3b20b0e5
Pedantic
...
svn path=/trunk/KDE/kdelibs/; revision=1018746
2009-09-02 06:04:55 +00:00
Dario Freddi
ecae08ad20
Fix the build
...
svn path=/trunk/KDE/kdelibs/; revision=1018657
2009-09-02 02:36:12 +00:00
Rob Scheepmaker
9cb9cfe65e
Push in remote widgets
...
svn path=/trunk/KDE/kdelibs/; revision=1018655
2009-09-02 02:27:16 +00:00
Rob Scheepmaker
c5e2a61a65
non compiling skeleton code
...
svn path=/trunk/KDE/kdelibs/; revision=1018653
2009-09-02 02:21:41 +00:00
Aaron J. Seigo
88faa0813f
only toggle on left click and let other click go through
...
svn path=/trunk/KDE/kdelibs/; revision=1017716
2009-08-31 09:30:13 +00:00
Chani Armitage
024d23a07f
for contextmenu events triggered by the mouse on the containment, fall
...
through to the mouse events. it's easier to handle that way
svn path=/trunk/KDE/kdelibs/; revision=1017492
2009-08-30 18:52:10 +00:00
Chani Armitage
93aead97a1
allow click-throughs for the containment's graphicsitems
...
this makes folderview happier, yay
svn path=/trunk/KDE/kdelibs/; revision=1017491
2009-08-30 18:52:05 +00:00
Aaron J. Seigo
37f65858dc
prevent duplicate actions in the toolbox
...
BUG:200981
svn path=/trunk/KDE/kdelibs/; revision=1016829
2009-08-29 00:33:27 +00:00
Marco Martin
f21674ae8b
uuh, whi that code was commented out?
...
svn path=/trunk/KDE/kdelibs/; revision=1015529
2009-08-25 18:54:42 +00:00
Chani Armitage
d2cf2d781c
replace hasConfig functions with a .desktop entry
...
svn path=/trunk/KDE/kdelibs/; revision=1015267
2009-08-25 03:22:15 +00:00
Reza Shah
9ad7c00c23
This fixed drawing problem for scollbar's slider at horizontal orientation.
...
For smallest size, the slider not will not drawn properly (cut on the right side).
svn path=/trunk/KDE/kdelibs/; revision=1015241
2009-08-25 00:39:53 +00:00
Aaron J. Seigo
7890d0c816
* unify the code that positions the message overlay
...
* always use contentsRect(), never geometry or boundingRect; this prevents how it sometimes overlaps the borders of applets
* always make sure that the zOrder is set, not just in the non-popup case
svn path=/trunk/KDE/kdelibs/; revision=1015154
2009-08-24 17:27:24 +00:00
Chani Armitage
f9317c11e6
no more d->containment
...
svn path=/trunk/KDE/kdelibs/; revision=1014483
2009-08-23 01:13:25 +00:00
Marco Martin
70f4e5aee6
oops, that 1|| was bogus of course
...
svn path=/trunk/KDE/kdelibs/; revision=1014445
2009-08-22 20:52:03 +00:00
Marco Martin
195e3a709d
also check the size hint as minimum size
...
boundingrect-boundingrect=0, what we want is contentsrect
svn path=/trunk/KDE/kdelibs/; revision=1014443
2009-08-22 20:49:12 +00:00
Chani Armitage
2ab601f945
various bits of cleanup:
...
load requires a containment
fix @since (I could've sworn I did this already..)
rename ContextAction->ContainmentActions
misc. improvements from aaron
no more warnings
qDeleteAll
don't iterate with keys()
svn path=/trunk/KDE/kdelibs/; revision=1012647
2009-08-17 22:31:32 +00:00
Chani Armitage
ae2378a8da
some code cleanup
...
fix copyright
always init a contextaction before trying to use it
no more unexpected click-throughs
contextAction() returns the plugin name instead of a pointer
svn path=/trunk/KDE/kdelibs/; revision=1012645
2009-08-17 22:31:18 +00:00
Chani Armitage
5070e300f5
API changes needed for configurable contextmenu.
...
-setContainment, so that we don't have to try and use the parent any
more.
-hasConfigurationInterface; this should've already been there.
-default values for a couple of functions that I think make sense
svn path=/trunk/KDE/kdelibs/; revision=1012644
2009-08-17 22:31:08 +00:00
Chani Armitage
69365ddada
paste is triggered by a plugin now.
...
also, clean up the drop/paste handling a bit
svn path=/trunk/KDE/kdelibs/; revision=1012643
2009-08-17 22:31:03 +00:00
Chani Armitage
493196dff3
use contextaction plugins.
...
there are a few defaults, only one real plugin exists so far
rightclicks are still overridden by the contextmenu event.
the user is warned about plugins that need configuring.
svn path=/trunk/KDE/kdelibs/; revision=1012636
2009-08-17 22:30:34 +00:00
Chani Armitage
9d452dc2ea
a basic plugin skeleton
...
this is based off the wallpaper plugin. lots of copy&paste happened. the
dataengine code is still in there, just in case some plugin wants it
someday...
svn path=/trunk/KDE/kdelibs/; revision=1012635
2009-08-17 22:30:29 +00:00
Sebastian Kügler
5ea600487a
Make dropping remote content onto Plasma work
...
The idea is that you drop a file from a webpage, or basically a URL onto Plasma and Plasma creates a suitable applet to display this URL. For example an image frame for picture, or a previewer for pdf files. Downloading the data itself (and possibly saving it) is left to the applets. The mimetype needs to be retrieved as it cannot be determined from the URL.
The code pathes I've changed or added are, roughly:
- "something" is dropped onto Plasma
- if it's a remote URL, we don't know the mimetype of the object behind the URL yet
- a KIO::TransferJob is used to retrieve the mimetype asynchronously, and will call back
- we open a QMenu that says "Fetching file type..."
- If the user closes the menu while the mimetype is being retrieved, we will open a new one
- When the TransferJob calls back, and we have our mimetype, we offer a list of applets suitable for this kind of content
- If the user chooses to create an applet, we put the transfer job on hold to make it available for recycling by the applet
- If the user dismisses the offering, we kill the job
Thanks to marco for reviewing and everybody else for the input :)
Next steps are making some more applets work with this.
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1009004
2009-08-08 22:01:16 +00:00
Aaron J. Seigo
959e54961e
QDebug is not marked as re-entrant or thread safe and seems to cause crashses for some when used from the wallpaper rendering threads, so let's just remove those lines :)
...
BUG:202538
svn path=/trunk/KDE/kdelibs/; revision=1007067
2009-08-05 04:48:33 +00:00
Marco Martin
90d2021f8c
actually do something with the cached overlays, instead of using them
...
just to waste cycles
svn path=/trunk/KDE/kdelibs/; revision=1007004
2009-08-04 21:19:20 +00:00
Aaron J. Seigo
54ef35a107
limit to 4 windows for now; need to improve the layout so it doesn't suck
...
svn path=/trunk/KDE/kdelibs/; revision=1005998
2009-08-02 19:12:20 +00:00
Aaron J. Seigo
b684273624
return a dummy group when we have no description set up; prevents crashes when the operations file is not available
...
BUG:200475
svn path=/trunk/KDE/kdelibs/; revision=1005964
2009-08-02 18:24:20 +00:00
Aaron J. Seigo
68d9558843
fix desktop toolbox dragging once and for all; i should have implemented dragging like this in the first place. also fixes misplacement of the toolbox on the bottom or right edge of the screen. there's some room for optimization here as cornerSize, fullHeight and fullWidth do a -lot- of manip on the background svg that really is only needed once per drag. in practice, it's not so bad and i'd like to keep the diff as small as possible (it's already huge) so i can backport it without feeling tooo guilty ;)
...
BUG:201672
svn path=/trunk/KDE/kdelibs/; revision=1003346
2009-07-28 03:19:33 +00:00
Marco Martin
85cb69d28f
save the background hints in two vars when they are set, use the second
...
to restore the ones that were decided before the formfactor change. i.e.
no more need to set again and again the hints in formFactorConstraints
svn path=/trunk/KDE/kdelibs/; revision=1003180
2009-07-27 20:14:38 +00:00
David Jarvie
2b543937ab
Minor APIDOX fixes (spelling etc.)
...
svn path=/trunk/KDE/kdelibs/; revision=1002622
2009-07-26 15:22:59 +00:00
Aaron J. Seigo
9fb9ee1b0e
SVN_SILENT: fix style
...
svn path=/trunk/KDE/kdelibs/; revision=1002137
2009-07-25 05:47:12 +00:00
Richard Dale
695168a4bd
Add getters and setters for PopupApplet::widget() and PopupApplet::graphicsWidget()
...
for use in scripting languages. Add a initScriptingExtenderItem() signal for script
engines to connect to and call their versions of Applet::initExtenderItem()
svn path=/trunk/KDE/kdelibs/; revision=998323
2009-07-17 12:31:08 +00:00
Alexis Ménard
d4ca38b20f
This almost fix the performance issue when zooming out on plasma-desktop.
...
We don't need to call prepareGeometryChange if the geometry will not
change, this mistake end up with a new paint event that will paint for
nothing.
This should be backported into 4.3
svn path=/trunk/KDE/kdelibs/; revision=997763
2009-07-16 13:09:19 +00:00
Marco Martin
2a0e957d14
move the status stuff into Applet, constify and also put a bit of apidox
...
svn path=/trunk/KDE/kdelibs/; revision=993895
2009-07-09 16:35:11 +00:00
Marco Martin
1300eea396
api to show/hide plasmoids from the systray, like NotificationItems
...
this REALLY needs api review
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=993364
2009-07-08 14:55:59 +00:00
Peter Pan
c201a16450
make the positions of previews, icon and text on plasma tooltip consistent.
...
BUG:198890
svn path=/trunk/KDE/kdelibs/; revision=993317
2009-07-08 13:17:55 +00:00
Michael Leupold
7b8c380ea5
Unbreak the build by defining an empty method - avoids linkage error introduced by r990700.
...
CCMAIL: aseigo@kde.org
svn path=/trunk/KDE/kdelibs/; revision=990759
2009-07-03 08:54:29 +00:00
Aaron J. Seigo
baee782e6f
prep this for fixing the memory leak; at least it doesn't crash anymore, along with my changes to KNS that are upcoming
...
svn path=/trunk/KDE/kdelibs/; revision=990700
2009-07-03 02:17:25 +00:00
Kevin Ottens
775bbe63d9
Add a small control app for the Vision proof of concept provided with
...
JOLIE. Suitable for use on handhelds.
svn path=/branches/work/~ervin/qtjolie/; revision=990152
2009-07-01 20:36:01 +00:00
Kevin Ottens
32a979e7de
Add missing meta type.
...
svn path=/branches/work/~ervin/qtjolie/; revision=990150
2009-07-01 20:35:19 +00:00
Kevin Ottens
f639993c8b
Add a Yahoo! web service client example.
...
svn path=/branches/work/~ervin/qtjolie/; revision=989179
2009-06-29 17:00:33 +00:00
Kevin Ottens
379085039b
Provide Jolie::Value::List typedef.
...
svn path=/branches/work/~ervin/qtjolie/; revision=989177
2009-06-29 16:57:58 +00:00
Kevin Ottens
09a0e07c39
addRedirection() now uses Values for the protocols parameters as advised
...
by fmontesi.
svn path=/branches/work/~ervin/qtjolie/; revision=989152
2009-06-29 15:31:25 +00:00
Kevin Ottens
c0228210c4
Forgot to adjust the unit tests.
...
svn path=/branches/work/~ervin/qtjolie/; revision=989150
2009-06-29 15:29:52 +00:00
Aaron J. Seigo
a179a16a9e
only close the desktop toolbox if the action is non-repeatable, which implies it's a fire-and-forget type of action such as something that triggers a dialog
...
BUG:198229
svn path=/trunk/KDE/kdelibs/; revision=988884
2009-06-29 01:22:58 +00:00
Aaron J. Seigo
5bdb436709
allow kicking all visualizations immediately rather than wait for their timeouts in the case of changes that _must_ be reflected immediatley, e.g. time changes or network availability causing first fetch of data
...
svn path=/trunk/KDE/kdelibs/; revision=987939
2009-06-27 01:26:33 +00:00
Aaron J. Seigo
9aa367047c
clickable tooltips; plasma-devel@ people: please review API one more time
...
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=987462
2009-06-26 06:40:15 +00:00
Marco Martin
a5f83c0e2b
if a custom config file is specified for the layout restore of the
...
corona, try to restore correctly the cashews positions too
svn path=/trunk/KDE/kdelibs/; revision=980468
2009-06-11 20:04:10 +00:00
Marco Martin
41deec416d
should be correctly positioned in case of top panels
...
svn path=/trunk/KDE/kdelibs/; revision=979968
2009-06-10 20:25:15 +00:00
Aaron J. Seigo
1e4a7ee457
sort these out so we can look at them later for possible streamlining
...
svn path=/trunk/KDE/kdelibs/; revision=979909
2009-06-10 18:28:17 +00:00
Aaron J. Seigo
5cbc9e157d
build
...
svn path=/trunk/KDE/kdelibs/; revision=979903
2009-06-10 18:18:10 +00:00
Rob Scheepmaker
6cb4ade6d6
Add .prf for the win32 users out there.
...
svn path=/branches/work/~ervin/qtjolie/; revision=978898
2009-06-08 13:34:54 +00:00
Rob Scheepmaker
da489685b0
Add and install .pc file for QtJolie.
...
svn path=/branches/work/~ervin/qtjolie/; revision=978884
2009-06-08 12:49:17 +00:00
Kevin Ottens
d99e623ae9
Allow to export services thanks to the Server and AbstractAdaptor
...
classes. Also introduce a small calculatorservice example showing that,
with a quick client written using jolie.
svn path=/branches/work/~ervin/qtjolie/; revision=978075
2009-06-05 22:51:08 +00:00
Kevin Ottens
3f553aafe3
Try to correctly convert back to ints or floats when the protocol was
...
purely string based and killed the typing (like SOAP).
svn path=/branches/work/~ervin/qtjolie/; revision=978073
2009-06-05 22:44:43 +00:00
Kevin Ottens
4df21c1b83
Share some more test helpers.
...
svn path=/branches/work/~ervin/qtjolie/; revision=978070
2009-06-05 22:28:35 +00:00
Kevin Ottens
266376639d
Expose the addRedirection method.
...
svn path=/branches/work/~ervin/qtjolie/; revision=977871
2009-06-05 15:05:39 +00:00
Kevin Ottens
c379e586bb
Declare the meta types in the library itself.
...
svn path=/branches/work/~ervin/qtjolie/; revision=977803
2009-06-05 14:11:02 +00:00
Kevin Ottens
d3a90c5fee
Introduce a separate PendingReply class.
...
svn path=/branches/work/~ervin/qtjolie/; revision=976863
2009-06-02 20:52:56 +00:00
Kevin Ottens
c106afee83
Split PendingCall into PendingCall and PendingCallWatcher.
...
svn path=/branches/work/~ervin/qtjolie/; revision=976816
2009-06-02 18:02:06 +00:00
Aaron J. Seigo
9e50b9b61e
* use the to-disk-cache-delay in Theme rather than do it per-FrameSvg object
...
* be a bit more careful to use value() instead of [] in places as we sometimes check the hash for existence of an entry, and [] creates an entry while value() is more kind in that way
svn path=/trunk/KDE/kdelibs/; revision=975773
2009-05-31 05:38:42 +00:00
Kevin Ottens
177be5f6af
I really wonder what I had in mind when I put QStrings everywhere...
...
Of course SODEP says nothing about encoding so it's really byte arrays
that we send/receive.
MetaService being higher level I'll assume UTF8 encoding though (it's
apparently what it's using.
svn path=/branches/work/~ervin/qtjolie/; revision=975435
2009-05-30 08:44:34 +00:00
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