Commit Graph

17 Commits

Author SHA1 Message Date
Dmitry Suzdalev
d21f690651 Improve subitle showing in Plasma::Delegate.
Automatically show subtitle for adjasent items with the same content
only when model doesn't provide explicit data for SubTitleMandatoryRole,
otherwise respect what model says and set visibility of subtitle accordingly

Review: http://reviewboard.kde.org/r/1357/

svn path=/trunk/KDE/kdelibs/; revision=1014442
2009-08-22 20:47:15 +00:00
Aaron J. Seigo
3d4ccc37c2 constify and build
svn path=/trunk/KDE/kdelibs/; revision=898199
2008-12-17 17:45:24 +00:00
Jesse Lee Zamora
629a3b3789 Polish the rough edges out of the gradient painting code.
svn path=/trunk/KDE/kdelibs/; revision=891051
2008-12-01 01:54:07 +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
e88e2faa63 first batch of small coding style fixes.
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Alex Merry
e293d7d785 Specify includes in apidocs, so we get
#include <Plasma/Foo>
at the top of the apidocs pages.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Richard Dale
dc878d9033 * Make the multiple inclusion header guard macros all start with PLASMA_
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842922
2008-08-06 09:19:29 +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
Richard Dale
d6b4396d7a * The paint() method in QAbstractItemDelegate is public, so make the implementation of it in
Plasma::Delegate public too.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821071
2008-06-16 09:51:33 +00:00
Marco Martin
7b8860b462 API reviews:
static constants now in pimpl
also, don't make assumptions on icon size

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801766
2008-04-27 17:09:48 +00:00
Marco Martin
3a6281aa6a API review:
setRole()->setRoleMapping()
+ roleMapping() getter

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800985
2008-04-25 11:35:20 +00:00
Marco Martin
4e92155f7d API reviews:
Plasma::Delegate has a parent argument in the constructor

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800960
2008-04-25 10:16:49 +00:00
Stephan Binner
7ee81565fb unbreak build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791357
2008-03-29 08:37:44 +00:00
Richard J. Moore
b5425f16b3 - Fix missing Q_OBJECT
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791316
2008-03-28 23:48:31 +00:00
Marco Martin
13efb56562 fix the empty space calculation in Plasma::Delegate
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=787721
2008-03-19 18:09:15 +00:00
Marco Martin
750094f6bf Add a new Plasma class: Plasma::Delegate
it will draw all the listviews used in Plasma that acts like a menu, like Kickoff or Devicenotifier.
at the moment only devicenotifier uses that, (so now it looks like kickoff) a port of the kickoff delegate is planned.
if you want to draw additional data you must
can subclass it
call paint of the father and then use  onr of the function the functions rectAfterTitle, rectAfterSubTitle and emptyRect to get the blank space
paint in the rect obtained with the above functions

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786973
2008-03-18 11:09:39 +00:00