Commit Graph

13 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
04f01a17dd center the icon vertically
BUG:163213

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816767
2008-06-04 19:35:17 +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
Aaron J. Seigo
e36acd4151 remove a couple of tricks used prior to the selection rect that now look over the top
* don't bold on hover for a calmer look
 * don't scale down the icons (made them blurry anyways)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=793687
2008-04-04 20:17:49 +00:00
Rafael Fernández López
b1a56982ad Kickoff changes asked on panel-devel. As voted, the background painting did not get in
- Strict mouse hover
    - Leaving an item will unselect that item
    - Leaving the viewport will unselect the selected item if was any
- Better keyboard navigation
    - If no item selected, Up will select the last item, Down will select the first item
- Search improvements
    - The first result becomes the selected index, if exists
    - The bottom tabbar is hidden for ease of use, intuitivity and letting more room for search results

CCMAIL: panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=792562
2008-04-01 15:53:52 +00:00
Aaron J. Seigo
bd671a7c8a explain why we don't show subtitles on hover since people keep trying to change that
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791989
2008-03-30 21:38:17 +00:00
Andre Duffeck
47f56bd824 Use KColorScheme::InactiveText role for the sub-titles
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791134
2008-03-28 13:40:41 +00:00
Adriaan de Groot
b70a5c53bb floor() is c99, need math.h for it as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=790776
2008-03-27 12:53:48 +00:00
Marco Martin
92dd45a555 Porting Kickoff item delegate to Plasma::Delegate
this removes a lot of duplication

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=788915
2008-03-22 20:26:46 +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