Commit Graph

24 Commits

Author SHA1 Message Date
Gilles Chauvin
834003d0dc Make widgets aware of qresources.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816435
2008-06-03 21:08:52 +00:00
Pau Garcia i Quiles
71c0cee2fa MSVC
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814860
2008-05-31 13:58:05 +00:00
Chani Armitage
ec8c013149 add checkbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809581
2008-05-19 06:12:48 +00:00
Aaron J. Seigo
102cd5b748 no longer used
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807767
2008-05-14 17:16:36 +00:00
Dan Meltzer
357656f660 Add a generic tooltip widget to Plasma::Widget and implement it in the tasks applet.
Applets wishing to use this tooltip should Create a Plasma::ToolTipData struct 
(defined in widget.h) and pass it to Widget::setToolTip().  Showing and hiding
the tooltip is all handled automatically.

While the basic idea is found in this patch, the look still definatly needs some
work.  Still a definate work in progress.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=751113
2007-12-21 05:33:17 +00:00
Aaron J. Seigo
a61562ad95 don't change our state unless the mouse was release inside of the widget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735135
2007-11-10 23:58:17 +00:00
Aaron J. Seigo
b9b99b4fd2 updated -> dataUpdated to make it really clear what's going on. there are too many update* methods, esp in applets where there is update() and updated()... a painful change, but it will only get worse if it happens any later.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733314
2007-11-06 07:20:08 +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
Aaron J. Seigo
db4a7ebe61 copyright cleanups:
* Copyright (C) -> Copyright
* add "or later" clause to files that i have the sole copyright on
* add current year (2007) to my copyrights where it was missing

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696946
2007-08-06 11:20:02 +00:00
Matt Broadstone
23fe05689a documented Plasma::CheckBox, removed methods now implemented in Plasma::Widget for this widget.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696084
2007-08-03 19:17:30 +00:00
Matt Broadstone
be3c212374 Make all plasma/widgets inherit Plasma::Widget now. Holding off on committing change for icon as I have a massive patch for the new text drawing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696028
2007-08-03 16:00:10 +00:00
Aaron J. Seigo
bf6fba2b27 * implement checkState and fix const'ness of the method signature
* implement updated
* add setChecked(bool)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693544
2007-07-28 10:06:03 +00:00
Andre Duffeck
6c25a3b98e fix boundingRect.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690596
2007-07-21 14:04:37 +00:00
Aaron J. Seigo
8288d58356 DataVisualization remained anemic: it was only offering a single SLOT, and it was pure virtual at that. to keep the inheritance tree sane, it has been removed.
Widget remains problematic as it uses QGraphicsItem API, but it needs to be subclassed by items that are already QGraphicsItems. ugh.

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668083
2007-05-25 02:27:33 +00:00
Aaron J. Seigo
879e215a43 * make DataSource emit the name of the source along with the data; this makes it possible widgets connected to multiple DataSources to have a chance of doing the right thing
* make DataEngine take a QObject in the connect, making DataVisualization somewhere superfluous. unless it ends up doing something useful soon, DataVisualization as a class will be going away.

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667167
2007-05-22 02:49:54 +00:00
Matt Williams
dfb58b44c1 EBN Fixes
* Include own header file first
* Make d-pointer const
* Use references-to-const

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667001
2007-05-21 14:28:03 +00:00
Aaron J. Seigo
a4505ca37f * data->updated
* implement updated for lineedits; need to decide what to do for the rest

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666854
2007-05-21 04:29:00 +00:00
Aaron J. Seigo
b8cc485705 * split DataSource into its own files
* move DataSource::Data to DataEngine::Data; this means consumers of DataEngine have no need to know about DataSource as a class

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666756
2007-05-20 20:36:59 +00:00
Dirk Mueller
72fa8d7b1b pedantic--
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=644597
2007-03-20 14:21:56 +00:00
Siraj Razick
0445867daa fixed memleak in setText
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=642203
2007-03-13 16:30:48 +00:00
Laurent Montel
2936a021cc Const
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=642049
2007-03-13 07:46:12 +00:00
Siraj Razick
e41598b02a redraw the whole rectangle
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=642010
2007-03-13 01:53:38 +00:00
Siraj Razick
5c9778a4ff Emulated checkbox widget
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=641741
2007-03-12 13:50:30 +00:00