Richard Dale
fbe88fb729
* Fix inconsistent naming of the styleSheet property
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842921
2008-08-06 09:17:40 +00:00
Anne-Marie Mahfouf
4ce38c254d
consistency with Qt: stylesheet() -> styleSheet() and setStylesheet() -> setStyleSheet()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833427
2008-07-16 20:07:34 +00:00
Marijn Kruisselbrink
21b148b963
change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Davide Bettio
2f2efc43df
QPushButton, QLineEdit, QTextEdit and QComboBox -> K*
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821270
2008-06-16 23:53:05 +00:00
Pino Toscano
f706960801
QtModule/QClass for Qt includes in public headers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812730
2008-05-26 09:10:11 +00:00
Richard Dale
c3aa6bec48
* Fix the broken guard macros in the widget* headers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810412
2008-05-20 17:29:23 +00:00
Aaron J. Seigo
9abfe2e1d0
export the classes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810061
2008-05-19 23:17:44 +00:00
Aaron J. Seigo
69435a397f
forward signals, no need for image setting
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809574
2008-05-19 05:42:44 +00:00
Aaron J. Seigo
9d619d61c6
add some widgets. it works! no more explicit proxy widget usage, and a nice simplified api that makes the baby jesus happy
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809503
2008-05-19 01:24:12 +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
Chani Armitage
a5ec59b775
-setDefaultText no longer clobbers regular text
...
-fewer string comparisons
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791584
2008-03-29 22:22:44 +00:00
Chani Armitage
7983ed5bb9
comments++
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791229
2008-03-28 19:43:17 +00:00
Dan Meltzer
7f624f85d9
Revert one large git mess
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780657
2008-02-29 17:50:57 +00:00
Dan Meltzer
a081559257
Commit initial progress of work to port to qt4.4
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780654
2008-02-29 17:43:31 +00:00
Aaron J. Seigo
d03a381595
various geometry fixes (though somewhat depends on monday's big layout fix commit)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774336
2008-02-13 01:48:18 +00:00
Aaron J. Seigo
22c8b77b34
this is not a Plasma::Widget. now styling is back. looks as nasty as ever, though.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773813
2008-02-11 20:50:13 +00:00
Aaron J. Seigo
809d20b17a
remove some ancient cruft
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=750317
2007-12-19 07:02:14 +00:00
Aaron J. Seigo
e614df56d0
* consolidate geometry() and setGeometry() from the layouts into Layout
...
* introduce relayout() which does only that
* place guards around relayout() calls in Layout class to prevent recursion
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738923
2007-11-19 23:45:56 +00:00
Alexis Ménard
ff0b3da511
Fix include for layout
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738921
2007-11-19 23:40:03 +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
0e7580b89a
make this ctor like the rest of the widgets
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732529
2007-11-04 05:36:10 +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
Richard J. Moore
4663b82555
- More Q_PROPERTY additions
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=707687
2007-09-02 17:49:34 +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
Aaron Eisenberg
d40669a2d2
Do not paint anything inheriting Widget and do not paint LineEdit when in desktop view. LineEdit is currently just a temporary solution, because it doesn't inherit Widget for some reason.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695323
2007-08-01 20:51:27 +00:00
Laurent Montel
3e1f6c75c1
Allow to use it as multiline (need by notes plasma)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690899
2007-07-22 13:41:34 +00:00
Aaron J. Seigo
af043ca588
too tired to do much of anything else, i figured i could fix some ebn issues
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690173
2007-07-20 08:06:27 +00:00
Lukas Kropatschek
50ee468b54
Added setStyled(bool) function for switching background and border of the widget on or off, to
...
have a transparent text-item for example.
getter is bool styled()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=688835
2007-07-16 23:56:57 +00:00
Aaron J. Seigo
5ff761af6f
* move members to the private class
...
* style guide fixes
* simplify the code in some places
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=678573
2007-06-21 18:47:04 +00:00
Aaron J. Seigo
5f8c6be988
make Applet (and lineedit) usable with qgraphics_item cast. we probably want to do this with all of our QGI subclasses.
...
i introduced a new enum in the Plasma namespace, ItemType, so we can keep track of these id's centrally.
however, the right click mechanism is rather broken in its implementation; we need a way to offer a centralized menu on appets no metter where they are clicked.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=678562
2007-06-21 18:07:39 +00:00
Thomas Georgiou
c37fabf01c
Add "defaultText" functionality: when the lineedit does not have focus
...
and it is empty, the can be "defaultText" that will be displayed. See
dict applet for example.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=678514
2007-06-21 15:42:05 +00:00
Thomas Georgiou
c4ff3b9135
Add textChanged(QString&) signal.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=678161
2007-06-20 20:12:38 +00:00
Thomas Georgiou
40c39333a1
Emit editingFinished() when enter/return is pressed.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=678157
2007-06-20 19:49:31 +00:00
Aaron J. Seigo
bbaebc6b1b
move workspace/plasma/lib to workspace/lib/plasma so that we can do:
...
#include <plasma/foo.h>
in headers in libplasma. this is important so that they can be used post-install by third party plugins, apps, etc.
also, changed Applet::loadDataEngine to just Applet::dataEngine and make it actually return the data engine; move the applets to using it. safer and fewer LoC
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670850
2007-06-02 17:29:39 +00:00
Aaron J. Seigo
429d8fd708
apparently i missed this entire directory when introducing PLASMA_EXPORT. but i got 'em this time! ;)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669395
2007-05-29 08:02:01 +00:00
Aaron J. Seigo
6393ddd3ad
make lineedit a LayoutItem. seems to basically work, though i don't think it is quite perfect yet =)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668932
2007-05-28 05:52:56 +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
Matt Williams
5d1eb7f460
Add missing d-pointers
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668014
2007-05-24 19:36:05 +00:00
Aaron J. Seigo
121699f37d
re-add the missing qobject stuff so that the slot works again
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667526
2007-05-23 03:08:47 +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
Matt Williams
81b392e9ec
Add some skeleton apidox in order to get the EBN building the classes that do have documentation.
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666703
2007-05-20 16:25:07 +00:00
Pino Toscano
d8c17250ce
header cleanup
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=656747
2007-04-22 09:35:04 +00:00
Alexander Wiedenbruch
c360489500
New LineEdit based on QGraphicsTextItem
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639321
2007-03-04 20:35:37 +00:00
Alexander Wiedenbruch
1cdd84cc85
Remove LineEdit due to licensing issues
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638673
2007-03-02 21:23:14 +00:00
Alexander Wiedenbruch
239e2afb87
Bring DataVisualization and widget together
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638571
2007-03-02 14:34:41 +00:00
Alexander Wiedenbruch
b321a91d3d
Don't misuse the boundingRect for positioning the item
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638558
2007-03-02 13:33:12 +00:00