Revision 682748

Go back to digest for 8th July 2007

Features in KDE Base

John Tapsell committed changes in /trunk/KDE/kdebase/workspace/ksysguard:

I've been hacking during akademy but unable to reach an internet connection. So sorry for the long commit.

User visible changes:
* Remove check box for showing totals
* Move kill button to next to the search line
* Do not pad the name column with a blank icon when in tree mode.
* Limit drawing the cpu usage to 100%. I'm not sure whether to show larger than 100% in some way. (E.g. using 2 cpus )

Developer-user visible changes:
* Add showTotals property to the KSysGuardWidget so that it's modifiable from designer
* Add updateIntervalMSecs property to the KSysGuardWidget
* Add setState property to the KSysGuardWidget

Internal changes:
* Document the classes better
* Keep track of when a process was sent a kill signal. This is useful for pretty animations etc, but also useful for asking the user whether to kill -9 after some period of time, if the app refuses to die nicely.
* Remove various unused member variables. Stupid leftover cruft :(
* Use an enum for the process filter state, not #defines
* Expose the enum as a Q_PROPS and make it setable from qt designer
* Rename the function killProcess to killSelectedProcesses and killProcess(QList) to killProcesses. Same for reniceProcess.
* Make updateIntervalMSecs settable, instead of hard coded.

File Changes

Modified 9 files
  • /trunk/KDE/kdebase/workspace/ksysguard
  •   /gui/SensorDisplayLib/ProcessController.cc
  •   /libksysguard/processcore/process.h
  •   /libksysguard/processui/ksysguardprocesslist.cpp
  •   /libksysguard/processui/ksysguardprocesslist.h
  •   /libksysguard/processui/ProcessFilter.cc
  •   /libksysguard/processui/ProcessFilter.h
  •   /libksysguard/processui/ProcessModel.cc
  •   /libksysguard/processui/ProcessModel.h
  •   /libksysguard/processui/ProcessWidgetUI.ui
9 files changed in total