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
Riccardo Iaconelli
349e57629d
Let's use the right cursor on the lineedit
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=686047
2007-07-10 13:16:33 +00:00
Tim Beaulen
2e78ff6e5e
From EBN:
...
Check for QString compares to ""... OOPS! 1 issue found!
./libs/plasma/widgets/lineedit.cpp: line#178 (1)
Do not compare a QString to "". Instead use the .isEmpty() method. For example, if(str == "") becomes if(str.isEmpty())
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679628
2007-06-24 12:50:58 +00:00
Thomas Georgiou
40d9432574
Revert HTML too when defaultText is removed.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679088
2007-06-22 23:36:38 +00:00
Thomas Georgiou
35b86c492e
Add defaultText graying.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=678576
2007-06-21 19:18:08 +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
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
32a450bb4d
Fix coding style.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=678168
2007-06-20 20:28:55 +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
58277a7608
plug a bunch of memory leaks
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672687
2007-06-07 20:57:18 +00:00
Aaron J. Seigo
0df727c4d0
this seems to make it works a wee bit better ;) still not perfect
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669392
2007-05-29 07:58:05 +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
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
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
Aaron J. Seigo
2bfbce6618
use the plasma namespace consistently
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638473
2007-03-02 05:27:33 +00:00
Alexander Wiedenbruch
585852a0de
Move the InputBox from SuperKaramba to Plasma.
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638393
2007-03-01 19:58:19 +00:00