Aaron J. Seigo
b041f44c12
yeah, actually get the layout right. man layouts suck.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732195
2007-11-03 02:52:45 +00:00
Bertjan Broeksema
c9ff90ec0e
- Started woprking on package tests for a PlasmoidPackage.
...
- Fixed behavior of Package::isValid()
Reviewed by aseigo.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732191
2007-11-03 01:50:57 +00:00
Aaron J. Seigo
709136813b
ensure even the "null" containment gets a layout
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732190
2007-11-03 01:36:53 +00:00
Bertjan Broeksema
666bfa93bd
Added more tests for the PacakageMetadata.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732162
2007-11-02 23:48:12 +00:00
Bertjan Broeksema
10802b7bd0
Added tests for PackageMetaData.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732142
2007-11-02 22:17:29 +00:00
Riccardo Iaconelli
b64dc645a9
I didn't figure out how to easily focus the lineedit, so just adding a TODO for now.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732036
2007-11-02 15:31:34 +00:00
Riccardo Iaconelli
e6c37b408e
Use 'plasma' as icon.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732035
2007-11-02 15:31:31 +00:00
Riccardo Iaconelli
44f60908b9
SVN_SILENT
...
Changing email address from ruphy@fsfe.org to riccardo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732026
2007-11-02 15:30:53 +00:00
Aaron J. Seigo
0a6f2af7f3
* move SearchAction and SearchContext to their own files
...
* term -> searchTerm
* add a completion object to SearchContext
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731848
2007-11-02 02:34:46 +00:00
Aaron J. Seigo
045ca46537
i suppose we do want the bottom most left screen ....
...
is it possible to have a 2x2 grid where screen at (0,0) has an x() > 0?
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731847
2007-11-02 02:31:58 +00:00
Aaron J. Seigo
f330f504d7
try to figure out what the top left screen is for the default panel
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731846
2007-11-02 02:21:13 +00:00
Rolf Eike Beer
5027216cd0
compile++
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731636
2007-11-01 09:47:28 +00:00
Dirk Mueller
1a85b92002
header cleanness++
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731620
2007-11-01 08:22:28 +00:00
Aaron J. Seigo
43ea2d708f
workspace -> kworkspace to mirror the library name and install path
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731519
2007-10-31 22:06:41 +00:00
Aaron J. Seigo
82302e817b
actually allow runns to provide their config ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731262
2007-10-31 05:25:07 +00:00
Aaron J. Seigo
e099821b71
massive change to AbstractRunner API, but now at least it is hopefully future proof and we won't have to change it in BIC ways after 4.0
...
introduces two new classes: Plasma::SearchContext and Plasma::SearchAction
benefits include:
- well, future proofing =)
- the ability to eventually allow runners that mutate the search
- multiple exact matches per runner
- 'executing' of informational runners (useful for, e.g., the calculator)
- being able to centralize expensive operations such a KUriFilter actions
- simplifies writing runners *dramatically*
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731253
2007-10-31 04:44:09 +00:00
Aaron J. Seigo
14ce8b1669
we are now refering to them as Widgets
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731239
2007-10-31 01:35:53 +00:00
Aaron J. Seigo
ffcf6bc16b
let's not hold on to our own parent pointer; just too easy to have it fall out of date.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731160
2007-10-30 21:00:01 +00:00
Aaron J. Seigo
fab534cf22
only click on left click
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731159
2007-10-30 20:59:12 +00:00
Aaron J. Seigo
c10ddbe353
the item is already children of us at this point, just make sure to not double add it.
...
i tried to find a way to reliably react to child add events instead of having to call our own method for this, but due to construction order and how itemChanged events are handled, i couldn't find such a thing. =/
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731137
2007-10-30 20:25:12 +00:00
Aaron J. Seigo
6a826c0150
thanks to the persistent and patient test of apaku, plasma is working fairly decently in xinerama now
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730881
2007-10-29 23:32:55 +00:00
Aaron J. Seigo
5b10495cf4
get rid of reparent() as that is completely superceded by addChild, and catch when children items no longer belong to us.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730877
2007-10-29 23:10:45 +00:00
Aaron J. Seigo
f846464288
- use addChild so that the item gets added to the layout
...
- proper coordinates for setLeft
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730874
2007-10-29 22:45:57 +00:00
Aaron J. Seigo
d71b8d5a5a
some useful debug output, which helped me realize just how badly we need PanelLayout ... and perhaps just how broken BoxLayout is? hm.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730535
2007-10-29 05:01:35 +00:00
Aaron J. Seigo
84881131e6
now that we can store QRectF again.... and now to fix bugs on loading. =/
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730531
2007-10-29 04:39:23 +00:00
Aaron J. Seigo
b279428cad
kconfig no longer supports QRectF.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730520
2007-10-29 04:08:58 +00:00
Andrea Diamantini
1c0a23d7d7
Setting right release notes..
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730503
2007-10-28 23:52:29 +00:00
Aaron J. Seigo
d5dc647850
allow creating a plain Containment object by passing in "null" for the plugin name. this still allows us to protect better against broken configurations where the plugin value is no longer readable while getting us back the ability to request a plain Containment on purpose.
...
CCMAIL:frerich@hex.athame.co.uk
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730445
2007-10-28 20:04:38 +00:00
Aaron J. Seigo
4d1cac45c8
only used once, no point in putting in a temp var
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730443
2007-10-28 20:03:04 +00:00
Aaron J. Seigo
e2f8093c2e
SVN_SILENT: dunno why i committed this in the first place, probably just missed it in the import
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730442
2007-10-28 19:59:40 +00:00
Laurent Montel
36877e4e94
Fix mem leak
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729963
2007-10-27 14:27:25 +00:00
Cédric Borgese
3313101e56
Fix applet position when droping it from appletbrowser on a containment that doesn't start at (0,0) on the scene. Typically, the second screen on a dual screen
...
configuration.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729926
2007-10-27 12:37:05 +00:00
Sean Harmer
fb1fe06b79
Refactoring the background painting code into DefaultBackground.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729889
2007-10-27 08:56:42 +00:00
Aaron J. Seigo
733a6071a2
not used anymore
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729788
2007-10-27 03:36:14 +00:00
Aaron J. Seigo
260a040477
* avoid a couple unecessary vars/method calls
...
* don't try and paint on a null pixmap
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729679
2007-10-26 16:35:58 +00:00
Rafael Fernández López
e1868db200
smooth scrolling++
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729565
2007-10-26 07:58:12 +00:00
Aaron J. Seigo
96accbd236
now that it works properly, we probably don't need to be told about it all the time ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729455
2007-10-26 02:31:44 +00:00
Aaron J. Seigo
49914e5a49
a rather horrific hack, passing the mouse event around, but it's the only way i can find to *reliably* get the event passed around which we must have to locate where on screen to pop things up at
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729453
2007-10-26 02:15:04 +00:00
Aaron J. Seigo
c0231730e2
* a more sane init(), by using the default values set in the Private class (or by prior calls to set*()?)
...
* try to give this a hope in hell of working in xinerama; include some debug output for when it fails ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729449
2007-10-26 01:11:27 +00:00
Aaron J. Seigo
147f087d3c
add a NoConstraint enum entry to Constraints
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729448
2007-10-26 01:10:13 +00:00
Aaron J. Seigo
0a73264688
* take advantage of constraint flushing
...
* return the _desktop_ constraint from constraintForScreen
* don't use the arg list to set the location of the panel, use the setLocation method as per usual
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729445
2007-10-26 01:08:19 +00:00
Aaron J. Seigo
7afcb9ffca
slightly less debug output ... plasma is a bit noisy atm.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729443
2007-10-26 01:06:03 +00:00
Aaron J. Seigo
da0e4e39e2
* performance: allow delayed setting of constraints so we get one call per set[Screen|Position..etc] set of calls
...
* save the geometry properly by just using geometry() now that we have that =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729442
2007-10-26 01:04:56 +00:00
Aaron J. Seigo
ee8c24dcad
yeah, moving them left is not what i wanted. hello dyslexia!
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729434
2007-10-25 23:33:23 +00:00
Aaron J. Seigo
91d37cd653
also set the desktop widgets sufficiently apart on the scene
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729433
2007-10-25 23:31:20 +00:00
Aaron J. Seigo
975553bb1e
debug for apaku =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729430
2007-10-25 23:19:49 +00:00
Aaron J. Seigo
576798dd52
set panels properly in setScreen. this will need to be augmented with screen edge stuff eventually as well, but for now this might work better on multiple screens.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729421
2007-10-25 23:09:02 +00:00
Aaron J. Seigo
136363aefe
* don't cache the painting; prevents blowing the pixmap cache and killing performance on large screens. we don't move this around anyways, and we only paint the exposed rect when using a bitmap wallpaper
...
* default to a bitmap wallpaper as we handle those a lot better (e.g. only painting the exposed rect)
the paper painting code really does need to move to DesktopContainment at some point =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729228
2007-10-25 11:20:23 +00:00
Aaron J. Seigo
b93fb635a2
comment out lots of debug that i don't need right now (and hopefully anymore =) so other output is easier to find
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729227
2007-10-25 11:18:04 +00:00
Alexis Ménard
ff958d897a
change number of frame for sliding animation, just to test. I should add
...
a slown effect
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729219
2007-10-25 10:15:06 +00:00