Marco Martin
e67e058087
remove the parentitem, so the widgets will stay still.
...
give it a parent, so they will be deleted
svn path=/trunk/KDE/kdelibs/; revision=1033105
2009-10-09 13:39:41 +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
Script Kiddy
633d51612c
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1033020
2009-10-09 09:27:45 +00:00
Script Kiddy
34fbf4ae50
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdelibs/; revision=1033019
2009-10-09 09:26:43 +00:00
Laurent Montel
677f98b7cd
Add missing i18n
...
svn path=/trunk/KDE/kdelibs/; revision=1032993
2009-10-09 07:08:48 +00:00
Aaron J. Seigo
d8d346822e
some light weight locking around the speed member
...
svn path=/trunk/KDE/kdelibs/; revision=1032959
2009-10-08 23:32:25 +00:00
Aaron J. Seigo
fad3e0814b
move the elapsed time object into the performMatch method; this prevents access by multiple threads by putting a unique QTime object in each thread. thanks Hellgrind (and maelcum for running it)
...
svn path=/trunk/KDE/kdelibs/; revision=1032955
2009-10-08 23:23:52 +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
Script Kiddy
2ea0319b74
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdelibs/; revision=1032689
2009-10-08 09:19:00 +00:00
Giulio Camuffo
86cffbab45
suppress some runtime complaints of QGraphicsGridLayout
...
svn path=/trunk/KDE/kdelibs/; revision=1032423
2009-10-07 19:27:01 +00:00
Aaron J. Seigo
154f7d0e38
use the ThemeGlobal kconfigxt class in Theme
...
svn path=/trunk/KDE/kdelibs/; revision=1032413
2009-10-07 18:44:33 +00:00
Aaron J. Seigo
ca63e9647b
we'll need another file for the app specific values, so make these -global
...
svn path=/trunk/KDE/kdelibs/; revision=1032412
2009-10-07 18:44:07 +00:00
Aaron J. Seigo
403293b7c6
allow the config file to be specified by argument
...
svn path=/trunk/KDE/kdelibs/; revision=1032395
2009-10-07 18:39:12 +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
3037b9823d
more consistent naming for containments
...
svn path=/trunk/KDE/kdelibs/; revision=1032391
2009-10-07 18:31:14 +00:00
Aaron J. Seigo
d3b0d566b1
add kconfigxt files to make this a bit more sys admin friendly
...
svn path=/trunk/KDE/kdelibs/; revision=1032390
2009-10-07 18:18:38 +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
Marco Martin
d8e084c77e
be based also on the widget parent applet location for removing the proper borders
...
svn path=/trunk/KDE/kdelibs/; revision=1032273
2009-10-07 13:04:09 +00:00
Marco Martin
155bfdc62a
reparenting them to zero means they won't get destroyed when the parent
...
widget/applet will be destroyed
svn path=/trunk/KDE/kdelibs/; revision=1032271
2009-10-07 12:59:43 +00:00
Aaron J. Seigo
947e2cd632
show() causes an implicit animation which will emit target[Item]Reached signals; this makes the first show smoother in the device notifier
...
svn path=/trunk/KDE/kdelibs/; revision=1032154
2009-10-07 04:16:39 +00:00
Adenilson Cavalcanti Da Silva
e749331979
Using the viewport/content size ratio to inform the geometry.
...
It ensures that at least the page will scroll correctly (i.e. advancing
just 1 page down) in webpages that are too long (e.g. kdeplanet).
svn path=/trunk/KDE/kdelibs/; revision=1032052
2009-10-06 18:31:47 +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
Aaron J. Seigo
bd5359ca8f
setTarget -> targetReached, setTargetItem -> targetItemReached
...
svn path=/trunk/KDE/kdelibs/; revision=1032017
2009-10-06 16:44:23 +00:00
Aaron J. Seigo
70b3847210
make moving between items with different parents work a bit better ;)
...
svn path=/trunk/KDE/kdelibs/; revision=1031762
2009-10-05 22:44:08 +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
Aaron J. Seigo
6ccaa814b3
* add getter for targetItem
...
* add property for targetItem
svn path=/trunk/KDE/kdelibs/; revision=1031688
2009-10-05 18:59:21 +00:00
Christoph Feck
1a94dec4e2
Fix color aware themes
...
BUG: 208841
svn path=/trunk/KDE/kdelibs/; revision=1031687
2009-10-05 18:57:06 +00:00
Marco Martin
0e59e70583
move correctly the pages at the first animation
...
svn path=/trunk/KDE/kdelibs/; revision=1031682
2009-10-05 18:40:58 +00:00
Aaron J. Seigo
c61ec3e94e
assign, not compare :)
...
svn path=/trunk/KDE/kdelibs/; revision=1031675
2009-10-05 18:26:25 +00:00
Aaron J. Seigo
e9dd015ebf
copy the applet configs over when merging one config into another
...
svn path=/trunk/KDE/kdelibs/; revision=1031674
2009-10-05 18:25:52 +00:00
Aaron J. Seigo
f00b9a7466
SVN_SILENT: ws
...
svn path=/trunk/KDE/kdelibs/; revision=1031673
2009-10-05 18:21:24 +00:00
Aaron J. Seigo
e4f20fdba8
* add a targetReached(QRectF) signal for completeness
...
* emit the targetReached signals in all cases that the target is reached, not just when there is an animation
* only emit targetReached(QGrahpicsItem*) when there is a target item
* provide a getter for the target rect
* register setTarget as a property
svn path=/trunk/KDE/kdelibs/; revision=1031661
2009-10-05 18:00:06 +00:00
Marco Martin
8587a9dd47
forward pressed
...
svn path=/trunk/KDE/kdelibs/; revision=1031647
2009-10-05 17:20:05 +00:00
Marco Martin
3db6d84c03
provide isDown as well
...
svn path=/trunk/KDE/kdelibs/; revision=1031646
2009-10-05 17:16:09 +00:00
Aaron J. Seigo
23d1402a5d
--compile_warnings;
...
svn path=/trunk/KDE/kdelibs/; revision=1031625
2009-10-05 16:08:31 +00:00
Giulio Camuffo
81b39250cb
added ensureItemVisible(QGraphicsItem*)
...
svn path=/trunk/KDE/kdelibs/; revision=1031380
2009-10-04 20:08:37 +00:00
Igor Trindade Oliveira
2147d8e090
put return return d->widget->boundingRect(); in ScrollWidget::viewport() and everything starts to work -perfectly-
...
notmart
svn path=/trunk/KDE/kdelibs/; revision=1030979
2009-10-03 16:51:52 +00:00
Marco Martin
c47fdfefbe
set the disabled color as a transparent version of the text color
...
svn path=/trunk/KDE/kdelibs/; revision=1030948
2009-10-03 15:20:56 +00:00
Igor Trindade Oliveira
a7ac1feaf2
add support for kinetic scrolling
...
svn path=/trunk/KDE/kdelibs/; revision=1030944
2009-10-03 15:06:41 +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
Jacopo De Simoi
e90a75ec51
Unbreak the fadeIn animation, add a temporary workaround until trunk depends on 4.6
...
svn path=/trunk/KDE/kdelibs/; revision=1030871
2009-10-03 11:37:19 +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
Marco Martin
faa91ca8e5
don't make borders appear and disappear each resize
...
svn path=/trunk/KDE/kdelibs/; revision=1030637
2009-10-02 20:17:45 +00:00
Marco Martin
8c1408f179
apparently if the label is hidden it doesn't receive font change events,
...
so at show event i have to check if the font is different from
QApplication::font() :/
now: is this the intended behaviour of qt or is a bug?
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1030634
2009-10-02 20:14:40 +00:00
Jacopo De Simoi
9a1a247591
postpone refreshing of the currently selected item
...
svn path=/trunk/KDE/kdelibs/; revision=1030620
2009-10-02 19:08:36 +00:00
Jacopo De Simoi
b8d35a709c
Add signals targetReached and animationStep
...
svn path=/trunk/KDE/kdelibs/; revision=1030619
2009-10-02 19:06:14 +00:00
Marco Martin
7387d79cbd
give d->widget the focus when the focus arrives on us
...
svn path=/trunk/KDE/kdelibs/; revision=1030582
2009-10-02 16:07:06 +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