[Panel-devel] playground/base/plasma/applets

Daniel Laidig d.laidig at gmx.de
Sun Sep 9 18:37:46 CEST 2007


SVN commit 710327 by laidig:

Initial commit of a pager applet.

The pager works in my setup and provides me with everything I use in KDE 3, including drag and drop of windows. I'm away next week and don't know how much time I'll have afterwards, so I'm just committing this now.

Issues:
* The pager doesn't use a DataEngine at the moment and I don't know if it's a good idea. I may make sense to extend the Tasks engine to provide the needed data, but the pager relies on different data like the stacking order.
* Updating and redrawing could be done in a better and more intelligent way.
* The colors are hardcoded and more or less random as I'm not an artist.
* More optional features like showing the window icons and different background modes could be implemented.
* I don't know if it works correctly in different setups (Beryl, Xinerama, ...).
* The applet "jumps" sometimes when changing the constraints or moving it.

This is the first thing I ever did with Plasma and just a couple of hours hacking, so I don't know if it's actually good enough. ;)

CCMAIL: panel-devel at kde.org


 M  +1 -0      CMakeLists.txt  
 A             pager (directory)  
 A             pager/CMakeLists.txt  
 AM            pager/Messages.sh  
 A             pager/pager.cpp   [License: GPL (v2+)]
 A             pager/pager.h   [License: GPL (v2+)]
 A             pager/pagerConfig.ui  
 A             pager/plasma-pager-default.desktop  


--- trunk/playground/base/plasma/applets/CMakeLists.txt #710326:710327
@@ -39,3 +39,4 @@
 add_subdirectory(test)
 add_subdirectory(kolourpicker)
 #add_subdirectory(timetracker)
+add_subdirectory(pager)
** trunk/playground/base/plasma/applets/pager/Messages.sh #property svn:executable
   + *


More information about the Panel-devel mailing list