Aaron J. Seigo
3a411a1230
HelperMatch: in expectation of the return of SearchRunner and it's merry band of mischief makers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786836
2008-03-18 01:39:52 +00:00
Aaron J. Seigo
abf654c5c5
have the tooltip inform the widget that it's about to tip so last second updates can be made, particularly nice for expensive tooltips
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786834
2008-03-18 01:39:28 +00:00
Chani Armitage
124f1da013
activity (desktop containment) switching
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786809
2008-03-17 23:49:01 +00:00
Aaron J. Seigo
ac473c1b7e
we need to specifically call update in case the geometry doesn't change, and therefore the cached painting isn't invalidated.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786447
2008-03-17 00:26:35 +00:00
Chani Armitage
1f6956398d
don't create the toolbox unnecessarily
...
there's really no point trying to mess with specific tools when the toolbox itself isn't there.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786440
2008-03-16 23:58:12 +00:00
Aaron J. Seigo
863e0f7797
various fixes for xinerama and non-isContainment() containments (e.g. applets which are Containment subclasses)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786175
2008-03-16 07:20:42 +00:00
Aaron J. Seigo
9c638f076d
* remove the screen based ctor. now we always require a containment.
...
* move some code into setContainment that was always needed, not just in setScreen
* fix a boolean logic error
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786174
2008-03-16 07:19:27 +00:00
Aaron J. Seigo
6b53321428
* new containment layout strategy for non-PanelContainments: lay them out in a lose gridish manner; not strictly a grid, and not strictly a packing-for-efficiency system, though it should be ok in that respect.
...
* allow containments to define what the layout should be
* a few less assumptions about panels and other containment types in the layout seting in addApplet
these are steps towards:
* more friendly for arbitray containments on the desktop
* multiple containments
* ignoring braindamage that may eminate from the direction of x.org regarding screen geometries
we can now add and remove containments on the fly as well as lay them out nicely. next: UI! and that's one more 4.1 task DONE.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785673
2008-03-14 17:05:37 +00:00
Aaron J. Seigo
dbcdee64f5
don't install these headers twice
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785671
2008-03-14 17:00:23 +00:00
Aaron J. Seigo
25476574a3
only remove it implicitly from our layout if the item is actually being removed from us (not just being stuffed into a child); in the case of a child becoming a grandchild, it will need to be explicitly added to a new layout or removed from an existing one.
...
prevents applethandle from causing applets to be removed from the FreeLayout in the DefaultDesktopp containment, as seen by Ivan
CCMAIL:panel-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785670
2008-03-14 16:59:10 +00:00
Pino Toscano
c9dd0f1dd6
use the KDE/KFoo form for KDE CamelCase includes in public headers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785412
2008-03-13 23:35:06 +00:00
Aaron J. Seigo
fcbc0fc0b7
--deadCode;
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785276
2008-03-13 17:15:14 +00:00
Dmitry Suzdalev
a2919ba41f
Fix double-clicking behaviour of appletbrowser - don't emit double click event
...
if clicked on "favicon" or "remove" column
reviewed by aseigo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785253
2008-03-13 16:10:11 +00:00
Aaron J. Seigo
eb0bf064ab
instead of announcing new screens and not announcing new containments, announce new containments as well as screen affinity changes and let the host app worry about what to do from there
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784941
2008-03-12 20:41:03 +00:00
Aaron J. Seigo
6dc52aaa65
a bit more containment safety, so a view can have no containment and still function
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784939
2008-03-12 20:40:02 +00:00
Aaron J. Seigo
ff54447acf
make the casts a bit more sensible
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784938
2008-03-12 20:39:23 +00:00
Fredrik Höglund
f17c8c6676
- Use the widget style to draw the item background in the delegate.
...
- Enable alternating row colors in the view instead of drawing a divider line.
Reviewed by Chani.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784857
2008-03-12 17:14:15 +00:00
Aaron J. Seigo
e702ebca9a
new panel containment positioning strategy: stacking horiz and non-horiz panels together vertically and horizontally, respectively
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784842
2008-03-12 15:23:33 +00:00
Aaron J. Seigo
f118a132f1
this param is used
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784841
2008-03-12 15:22:08 +00:00
Andrew Lake
4626ee4e45
Allow tiled svg center element.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783642
2008-03-09 00:15:32 +00:00
Script Kiddy
674d90f382
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783465
2008-03-08 03:19:54 +00:00
Stephan Binner
30595bb415
seperate applet and panel options in context menu
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783210
2008-03-07 12:43:17 +00:00
Aaron J. Seigo
5ea3cb88e1
give us a bit more of a border so faster mouse movements work too, without ruining the whole effect
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783029
2008-03-06 20:24:59 +00:00
Aaron J. Seigo
ef5ce1b506
slightly less BOLD
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783028
2008-03-06 20:23:37 +00:00
Aaron J. Seigo
ff5d238e73
tile a background
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783023
2008-03-06 19:50:25 +00:00
Aaron J. Seigo
a234d1b6c3
move the call to init() out of ctor and call it immediately after construction; that way the vtable can be set up and we'll get the virtual called in the subclass
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782820
2008-03-06 05:18:36 +00:00
Aaron J. Seigo
5c2a3635f4
use our mimetype
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782796
2008-03-06 01:54:01 +00:00
Sebastian Sauer
33b65cd58e
pass the init() call on to the applet which in turn is able to redirect it to an optional ScriptEngine
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782791
2008-03-06 00:40:09 +00:00
Sebastian Sauer
41af9cf69b
testcase-- SVN_SILENT
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782733
2008-03-05 21:20:56 +00:00
Sebastian Sauer
71c660cb29
*uarg* ... seems the additional ! slipped in between without any logical reason. SVN_SILENT
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782731
2008-03-05 21:19:48 +00:00
Sebastian Sauer
1420d4ba60
Enables ScriptEngine's like Apple's Dashboard Widgets or SuperKaramba's to implement containments too. Right, that means you are now able to write your own Panel or even Desktop using a scripting language :)
...
FEATURE
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782729
2008-03-05 21:12:33 +00:00
Marco Martin
afdb5e84a0
reworked how shaped windows with svg backgrounds are obtained:
...
there is a new function PanelSvg::mask() that returns a qbitmap of the areas of the svg with alpha=0 that can be used to create the mask of the window, at the moment used in tooltip and dialog (krunner still to come).
so now windows that uses svg backgrounds should always set PanelSvg::mask() as their own mask, regardless if composite is active or not.
In this commit there are also two (identical) svgs for opaque tooltips and dialogs with pixelated rounded borders that looks good without antialiasing (and unlike the previous version they are vector based now).
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782727
2008-03-05 21:03:27 +00:00
Marijn Kruisselbrink
d9706ec25a
make this compile on non-X11 platforms all the code that uses X11 is already ifdef-ed out, just the include wasn't yet.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782684
2008-03-05 19:06:03 +00:00
Script Kiddy
75cab4cd36
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782608
2008-03-05 13:19:01 +00:00
Aaron J. Seigo
8c4cfbca60
keep the toolbox in the workArea (e.g. out from underneath panels and other strut reservers)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782438
2008-03-05 07:08:32 +00:00
Aaron J. Seigo
05a8c2c56c
sprinkle with some custom containment; this code hadn't been adapted since the addition of custom
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782434
2008-03-05 05:56:43 +00:00
Aaron J. Seigo
a68747bd1d
* for now MediaCenter gets a FreeLayout
...
* emit geometryChanged when our location changes in a way that won't trigger an actual geometry adjustment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782390
2008-03-05 00:06:22 +00:00
Aaron J. Seigo
9089d89b12
signals for when the view is about to adjust its scene rect in response to the containment changing so that geometry changes made in view subclasses can be properly coordinated
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782388
2008-03-05 00:02:37 +00:00
Aaron J. Seigo
56eda6927e
LocationConstraint isn't about pos(), but Plasma::Location
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782307
2008-03-04 20:24:42 +00:00
Aaron J. Seigo
7a107c9425
emit geometryChanged when the location or screen changes for a panel, since the actual scene geometry may not change, but from the perspective of a view it does
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782258
2008-03-04 17:48:28 +00:00
Stephan Binner
7c3cf27433
i18n interface style guide fixes
...
.oO( Why don't people notice those bugs when blogging? )
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782147
2008-03-04 12:03:34 +00:00
Aaron J. Seigo
ddc2f0e6e5
don't expand unless we actually cross the threshold; this prevents, e.g. expanding when closing a window or moving from a window title bar to the canvas when the title bar overlaps the toolbox
...
CCMAIL:panel-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781885
2008-03-03 19:53:13 +00:00
Aaron J. Seigo
c1e480f20c
numerous horizontal icon layout issues fixed
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781876
2008-03-03 19:35:24 +00:00
Script Kiddy
0bc0cfaa5c
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781860
2008-03-03 19:29:18 +00:00
Sebastian Kügler
9d6ce15f54
typos--
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781856
2008-03-03 19:27:52 +00:00
Aaron J. Seigo
3fd5752be8
some minor fixes to immutability checking and comments
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781771
2008-03-03 18:15:49 +00:00
Aaron J. Seigo
bb3b40349a
activate the lock widgets toolbox button
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781768
2008-03-03 18:14:07 +00:00
Aaron J. Seigo
6fc81a860f
take corona immutability into consideration as well
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781758
2008-03-03 18:03:27 +00:00
Chani Armitage
054f4bd2f9
remove unnecesary line
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781695
2008-03-03 14:40:02 +00:00
Chani Armitage
34ae05a9b2
move toggleDesktopImmutability() from defaultdesktop to containment
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781623
2008-03-03 11:44:40 +00:00