Difference between revisions of "Projects/Plasma/NewSystemTray"

Jump to: navigation, search
(New page: = New System Tray Design = System tray icons generally fall into four categories: * Indicators of application status * Communications * System services * Hardware A System Tray Icon wil...)
 
(New System Tray Design)
Line 1: Line 1:
 
= New System Tray Design =
 
= New System Tray Design =
 +
 +
== Categories ==
  
 
System tray icons generally fall into four categories:
 
System tray icons generally fall into four categories:
Line 8: Line 10:
 
* Hardware
 
* Hardware
  
A System Tray Icon will Have the following attributes
+
== Properties ==
 +
 
 +
A System Tray Icon will Have the following properties.
  
 
* Icon
 
* Icon

Revision as of 01:10, 19 February 2009

Contents

New System Tray Design

Categories

System tray icons generally fall into four categories:

  • Indicators of application status
  • Communications
  • System services
  • Hardware

Properties

A System Tray Icon will Have the following properties.

  • Icon
 - name
 - pixmap (possible size variants)
  • Tooltip
 - Headline
 - Subtext
 - Pixmap
  • Status
 - Passive (normal)
 - Active
 - Needs Attention
  • Interaction
 - Context menu
 - Activate
 - Wheel up/down

Interactions

The interactions can be considered in terms of the 'Client' ie the icon itself, and the 'Host' eg. the system tray.

Client

Signals

- i have a new pixmap

- i have a new status

the host will react to these, but with no guarantee of when - expect 500ms.

Slots

- activated

Properties

- tooltip data

- name

- pixmap


KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal