İsmail Dönmez
3ffa8ee720
SVN_SILENT --pedantic
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724810
2007-10-13 14:33:14 +00:00
Ivan Čukić
04f5730e1e
NodeLayout:
...
* initial implementation of sizeHint()
* support for automatic sizing (on one or two dimensions)
* simplified node definition
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724794
2007-10-13 13:29:21 +00:00
Ivan Čukić
f22a71a22d
Changing the licensing to GNU Library/Lesser GPL
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724418
2007-10-12 08:45:12 +00:00
Aaron J. Seigo
22de66fdc0
* fix order of constraints init so that geometry is done before screen affinity
...
* only adjust the size of the containment to the screen size if it is a DesktopContainMent
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724225
2007-10-11 19:16:01 +00:00
Ivan Čukić
c8281cbd05
Code formating
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724124
2007-10-11 13:50:54 +00:00
Aaron J. Seigo
0f66f80fe2
allow widgets to change their size even if there isn't a layout (because that was just silly)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723915
2007-10-11 03:30:50 +00:00
Ivan Čukić
3d0bdf2e42
* fixed bug: misplacing center widget when there is no right or bottom one.
...
* feature: if there is a fixed size for one of the borders, it *will* have that size
even if there is no widget for that border.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723796
2007-10-10 18:27:57 +00:00
Ivan Čukić
80bc0a1d00
Margin support (spacing was added earlier)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723756
2007-10-10 16:34:24 +00:00
Petri Damstén
b5fa2a0936
Calculate available size before perItemSize
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723274
2007-10-09 07:05:37 +00:00
Petri Damstén
82b947252e
Remove debugs
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723007
2007-10-08 12:49:22 +00:00
Thomas Georgiou
fab3611a21
Transparency works now!! Aaron, remember to fill QPixmaps with
...
Qt::transparent.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722710
2007-10-07 23:32:56 +00:00
Petri Damstén
1fce16d307
Add color, font, alignment support for labels.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722537
2007-10-07 14:52:17 +00:00
Petri Damstén
940f7e00fb
Adds toggle support to Plasma::PushButton.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=721138
2007-10-04 17:36:21 +00:00
Rafael Fernández López
5e321b63f5
Update my email address
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=720339
2007-10-03 00:44:18 +00:00
Rafael Fernández López
0f7e4e52ab
Code adaptation because of changes on libraries related to revision 719630
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719642
2007-10-01 15:09:41 +00:00
Aaron J. Seigo
55969fd88b
- make setGeometry virtual so that Applet::setGeometry actually does what Petri Damsten was trying for
...
- erase the rect on the pixmap that is exposed before painting again; this prevents painting over and over and over the pixmap (resulting in darker and darker painting when using transparency)
- some minor whitespace changes made whilst debugging
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719387
2007-10-01 05:06:51 +00:00
Petri Damstén
61fa701fc0
- Add setSize (needed by Applet)
...
- Delete white space from line ends
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718077
2007-09-28 05:45:10 +00:00
Petri Damstén
c4f4f16048
- Use margin at startPos
...
- Delete white space from line ends
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718076
2007-09-28 05:43:15 +00:00
Aaron J. Seigo
8f4ed43ae0
whoops, forgot this other half of the commit
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718011
2007-09-27 22:11:46 +00:00
Aaron J. Seigo
c982fdde3b
fix crash; you can't suppose that you get a Widget in ::paint
...
CCMAIL:tokoe@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718009
2007-09-27 22:05:57 +00:00
Matthew Woehlke
407f13404a
remove superfluous header
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717530
2007-09-27 03:52:50 +00:00
Matías Costa
f4efdfa1f0
Fix infinite loop
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717393
2007-09-26 20:15:42 +00:00
Alex Merry
30b2cd64fc
apidocs fix, and use a better macro name for the include guard
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717224
2007-09-26 10:37:08 +00:00
Petri Damstén
ff7fb9e515
Plasma::Meter from playground to libplasma
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=716909
2007-09-25 15:26:03 +00:00
Petri Damstén
1897eab31b
Plasma::Meter from playground to libplasma
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=716906
2007-09-25 15:24:39 +00:00
Alex Merry
d29805caef
Make drag-n-drop applets work again.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=716003
2007-09-23 18:03:37 +00:00
Laurent Montel
4e4a77901e
Not necessary
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=715616
2007-09-22 15:45:42 +00:00
Tobias Koenig
227dd0842d
warning--
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=714913
2007-09-20 21:44:12 +00:00
Ivan Čukić
cc4da76575
Added spacing() support for BorderLayout
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=714483
2007-09-19 17:31:53 +00:00
Aaron J. Seigo
7fefcf98c7
fix this indentation nightmare (tabs, many levels deep)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=714178
2007-09-18 21:30:30 +00:00
Aaron J. Seigo
fc53b1a7f0
SVN_SILENT suppose we don't need dead code already ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=714172
2007-09-18 21:20:06 +00:00
Aaron J. Seigo
fe13964089
add a contextMenuEvent to Widget so that we get proper context menu propagation by default
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=714171
2007-09-18 21:19:10 +00:00
Laurent Montel
950d256e5d
Fix mem leak
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=713138
2007-09-16 13:18:04 +00:00
Ivan Čukić
63164d2cc0
BorderLayout initial import
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=713071
2007-09-16 09:08:08 +00:00
Robert Knight
7b607e92c9
Fix applets jumping around when they resize. Avoid calling setGeometry() on Applets in a FreeLayout that have not changed their size hint since the last update.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712674
2007-09-15 04:16:11 +00:00
Aaron J. Seigo
329d912f47
SVN_SILENT: more licensing updates ... all done with this now i think =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712581
2007-09-14 20:17:11 +00:00
Aaron J. Seigo
e0f831373c
SVN_SILENT: add "or later" clause. cleared with copyright holders, except for rich moore's ui loader which i need to ask him for permission for first.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712549
2007-09-14 19:06:18 +00:00
Jon de Andres Frias
e726cd04c6
Added to the Plasma widgets library the ProgressBar class. It's included a small program test for the progressbar.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712543
2007-09-14 18:19:42 +00:00
Aaron J. Seigo
0fc83b6e76
prevent crashing on exit; layout must not be deleted before the applets which are managed by it.
...
this is a brittleness in the layout system that really needs to be addressed (and i added a comment and some debug output about this in LayoutItem)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712164
2007-09-13 19:47:14 +00:00
Aaron J. Seigo
d20c9a010f
growing tired of being asked about how to get at the font used in widgets, here's a cute little accessor that provides the answer for now and gives us a way to support font settings in the future much in the way qwidget itself does.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712158
2007-09-13 19:33:44 +00:00
Aaron J. Seigo
e2b9f9df31
SVN_SILENT: style fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712122
2007-09-13 17:04:04 +00:00
Aaron J. Seigo
7d533e3472
- missing license header
...
- fix white space issues
- delete the dptr
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=711899
2007-09-13 05:40:37 +00:00
Aaron J. Seigo
926d039802
SVN_SILENT: why bother with a coding style.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=711898
2007-09-13 05:34:11 +00:00
Andreas Aardal Hanssen
1cf7d7c0f6
Enable DeviceCoordinateCacheMode by default. Overload update() to give
...
it invalidate-like behavior, and remove invalidate(). Revert last change
to analogclock, cached behavior is now enabled for all applets. If you
want to disable caching, call setCachePaintMode(NoCacheMode) from your
applet's constructor.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=710764
2007-09-10 20:44:24 +00:00
Robert Knight
6828d212bb
Add FreeLayout layout, which resizes its children to their sizeHint() whenever it is invalidated. Useful for desktop-like workspaces so that widgets can be agnostic of whether they are being used in a panel or a 'constraint free' area.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=710761
2007-09-10 20:38:59 +00:00
Andreas Aardal Hanssen
55e02ca70a
Add CachePaintMode, as a temporary local back-port of
...
QGraphicsItem::CacheMode, which will appear in 4.4. I've chosen names
that aren't really good, but they're not misleading, and they don't
clash with the API in 4.4.
My first KDE submit :-DDD.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=710738
2007-09-10 19:06:58 +00:00
Robert Knight
37b4ea6334
managingLayout() is a better way to get the layout managing the widget's geometry than parent()->layout() which doesn't work for top-level Widget instances.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=709899
2007-09-08 14:01:03 +00:00
Robert Knight
3dc0a4795f
Correct the layout invalidation logic. As with Qt, when a layout is invalidated it finds its top-level layout and causes that to be updated. Calling Widget::updageGeometry() causes the parent widget's layout to be invalidated.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=709495
2007-09-07 16:15:46 +00:00
Pino Toscano
cec28bebac
use QtModule/QFoo for public headers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=708026
2007-09-03 17:16:40 +00:00
Robert Knight
15fbaba2ac
Move duplicated animation starting code into Layout::startAnimation() which layout subclasses can call at the end of their setGeometry() implementation to start the layout animator's timer.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=707803
2007-09-03 00:52:29 +00:00