Commit Graph

66 Commits

Author SHA1 Message Date
Marco Martin
53658a106e style with FrameSvg all the lineedits, spinboxes and comboboxes, use
Plasma::Style to achieve that, since it's a kinda repetitive thing and
comboboxes and spinboxes are complex controls
the svg used will probably change

svn path=/trunk/KDE/kdelibs/; revision=912567
2009-01-17 18:00:33 +00:00
Aaron J. Seigo
df73771a1b ++compile
svn path=/trunk/KDE/kdelibs/; revision=879801
2008-11-04 02:55:37 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Allen Winter
eae853582b coding style fixes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870205
2008-10-12 01:31:54 +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
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
5c7589a741 call the parent class' resizeEvent as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809571
2008-05-19 05:25:33 +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
Alexis Ménard
4467261c95 Merge woc branch to trunk, say good bye to old plasma, there is a lot of stuff to port
applets, 
please update to another revision to use the version that works

green flag from aaron


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796368
2008-04-13 13:23:39 +00:00
Chani Armitage
be10ede60a save space
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=795838
2008-04-11 14:57:48 +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
fb7a84644d compare default text correctly
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791246
2008-03-28 21:11:57 +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
ee26284ec3 fix maximum size in lieu of the WoC porting
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778192
2008-02-22 19:40:46 +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
Marco Martin
d3b203777c use a text color from plasma color scheme when the lineedit is not styled
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764029
2008-01-20 20:59:34 +00:00
Aaron J. Seigo
ee32d3c996 remove the use of 1209 explicitly now that i have Winter's Magic Formula for default debug space. makes backporting way easier; sorry for the noise of the earlier commit. suppose i should read planetkde.org more closely ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758498
2008-01-08 01:25:09 +00:00
Aaron J. Seigo
12ef6308cb use the plasma debug area (1209); i considered wrapping this in Plasma::debug() but that seems overkill ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758415
2008-01-07 20:50:31 +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
Seb Ruiz
d6001be92a warning fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739904
2007-11-22 07:19:43 +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
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
Andre Duffeck
ed1430faa4 be less noisy
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=726279
2007-10-17 12:40:06 +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
Thomas Georgiou
d65ab52dd6 Lineedits should display when zoomed out.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705867
2007-08-28 19:02:38 +00:00
Robert Knight
1f99ac776a Fix LineEdit::geometry(). Returned ectangle should be in parent coordinates.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=699255
2007-08-12 13:13:06 +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 J. Seigo
ecad916f0a set the pos of the lineedit. really, this should become a Widget with a
QGrahpicsTextItem as a child item

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696366
2007-08-04 14:59:21 +00:00
Aaron J. Seigo
ac918ad4bf kdebug fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695587
2007-08-02 13:12:59 +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
cf70eb1f86 Allow to select text into lineedit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691055
2007-07-22 20:46:23 +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
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