Commit Graph

92 Commits

Author SHA1 Message Date
Marco Martin
17c0805063 ask for on screen keyboard hiding on focus lost 2011-02-17 15:23:06 +01:00
Aaron J. Seigo
ca4e345c15 use button text for normal text, preserves theme compatibility with prior releases
svn path=/trunk/KDE/kdelibs/; revision=1191136
2010-10-29 17:25:24 +00:00
David Faure
a48ae5b0d8 Fix compilation with gcc < 4.5
svn path=/trunk/KDE/kdelibs/; revision=1188570
2010-10-22 16:55:46 +00:00
Marco Martin
4dd1c28b6d fix the wreckage caused by last commit
bad Aaron, no cookie :)
can you check if those changes make sense upon what your patch ws supposed to be?
CCMAIL:aseigo@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1188445
2010-10-22 12:29:35 +00:00
Aaron J. Seigo
a793185b21 consolidate all the theming (palette, fonts) code for widgets into a private interface: ThemeWidgetInterface. have the relevant *Private classes inherit from it and all the tricky logic is now in one place and consistent.
svn path=/trunk/KDE/kdelibs/; revision=1188314
2010-10-22 00:25:17 +00:00
Aaron J. Seigo
021d8e4823 * don't set the font on the native widget in change events
* don't set the palette on the native widget in change events
* reset the value of customFont when it is set specifically because !customFont (allowing future theme changes to take effect as a result)

svn path=/trunk/KDE/kdelibs/; revision=1187721
2010-10-20 10:07:40 +00:00
Aaron J. Seigo
4c5f141992 don't set the native widget's palette. since this now works in QGraphicsProxyWidget, it now causes new problems: setting the palette on the widget (not the nativeWidget()) doesn't work for users of Plasma::* widgets. love it when work arounds to bugs cause new bugs once the original bugs are fixed upstream. ;)
svn path=/trunk/KDE/kdelibs/; revision=1185467
2010-10-13 13:16:35 +00:00
Aaron J. Seigo
938880140b share the FrameSvg with the focus indicator
svn path=/trunk/KDE/kdelibs/; revision=1178172
2010-09-22 09:03:41 +00:00
Aaron J. Seigo
9300be394e setting it directly works as well, and doesn't require dipping into QCoreApplication's API
svn path=/trunk/KDE/kdelibs/; revision=1175312
2010-09-14 17:41:10 +00:00
Aaron J. Seigo
e4c6d2e92b work around a bug in QGraphicsProxyWidget where, for whatever reason, the line edit isn't getting a focusInEvent when the QGraphicsProxyWidget does. normally i don't like working around bugs like this, but QGraphicsView seems to be bitrotting.
CCMAIL:menard@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1175309
2010-09-14 17:33:26 +00:00
Marco Martin
748d85362c set null icons on the widgets after been put in a proxy.
would hopefully cause a bit less pixmap usage

svn path=/trunk/KDE/kdelibs/; revision=1149631
2010-07-13 21:32:07 +00:00
Aaron J. Seigo
6db772c0db --compilerWarnings;
svn path=/trunk/KDE/kdelibs/; revision=1130580
2010-05-25 18:18:26 +00:00
Marco Martin
7dc106086c export the clickmessage property
svn path=/trunk/KDE/kdelibs/; revision=1130077
2010-05-24 11:45:46 +00:00
Marco Martin
913d891b8a the widgets that accept input sets their applet status as accepting input as well.
it pretty ugly and duplicated code but doing it at this level is the only way to reliably set the proper status

svn path=/trunk/KDE/kdelibs/; revision=1128660
2010-05-19 21:45:08 +00:00
Marco Martin
cbabd3b5cf set the flag in the proper place
svn path=/trunk/KDE/kdelibs/; revision=1123756
2010-05-06 20:48:10 +00:00
Marco Martin
b917c7d14d don't proxy the popup
svn path=/trunk/KDE/kdelibs/; revision=1123754
2010-05-06 20:31:18 +00:00
Marco Martin
ebbb89e543 their textcolor are buttontext now
svn path=/trunk/KDE/kdelibs/; revision=1054737
2009-11-26 16:56:46 +00:00
Marco Martin
03bb063c62 migrate focusindicator to the new api
change the api of fade to be abe to set a start and an end taget
opacities

svn path=/trunk/KDE/kdelibs/; revision=1039087
2009-10-22 17:39:43 +00:00
Marco Martin
89e73cecd2 animate the highlight with the new animation framework. we got a glow
item called FocusIndicaotr, it's private for now and probably it should
remain so

svn path=/trunk/KDE/kdelibs/; revision=1037733
2009-10-19 21:13:54 +00:00
Michał Dutkiewicz
034e5a4a62 Support for using custom native widgets with ComboBox, LineEdit and TextEdit
svn path=/trunk/KDE/kdelibs/; revision=1027285
2009-09-23 18:42:19 +00:00
Marco Martin
56ac584338 use the focus and over glows for editable mode
svn path=/trunk/KDE/kdelibs/; revision=1027264
2009-09-23 17:25:53 +00:00
Marco Martin
e17155505a use the lineedit element
have a glow on mouseover 
and a stronger one for focus

svn path=/trunk/KDE/kdelibs/; revision=1027174
2009-09-23 13:23:03 +00:00
Aaron J. Seigo
1b05349652 textchanged signal
svn path=/trunk/KDE/kdelibs/; revision=1025553
2009-09-19 03:27:56 +00:00
Marco Martin
67515c758a always use plasma::theme font, unless somebody call setFont on the
widget                                                                                
round two: sync the native widgets fonts with the plasma::theme font,                 
unless setFont was called

svn path=/trunk/KDE/kdelibs/; revision=1023050
2009-09-13 19:18:29 +00:00
Aaron J. Seigo
55a8682576 constify
svn path=/trunk/KDE/kdelibs/; revision=982723
2009-06-16 17:49:27 +00:00
Marco Martin
46f6571eea export isClearButtonShown
svn path=/trunk/KDE/kdelibs/; revision=982630
2009-06-16 13:45:11 +00:00
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