
QStopWatch
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
A very simple stop watch
It always bothered me that KDE did not ship with a simple stop watch I could use to practice presentations or do some rough timings.
Thus I hacked one myself very quickly with PyQt (great tool!). All you need is Python and PyQt installed and you can start it with ./qstopwatch
pejakm
13 years ago
http://pejakm.googlepages.com/qstopwatch-1.0.1-pm2007.0.noarch.rpm
Report
pejakm
13 years ago
Report
google01103
14 years ago
Traceback (most recent call last):
File "qstopwatch.py", line 93, in slotBnStartClicked
print "start "+self.startTime.toString()
TypeError: cannot concatenate 'str' and 'QString' objects
Report
DominicB
14 years ago
Dominic
Report
google01103
14 years ago
couple suggestions:
start button, after it starts could it change to pause, then when paused to restart?
when paused the time changes to show thousands of seconds but only whole seconds when running,
thanks,
Report
DominicB
14 years ago
"start button, after it starts could it change to pause, then when paused to restart?"
As I am not sure whether this is another version problem: The program does more or less what you describe, except that the button gets the labels "Start" and "Stop".
"when paused the time changes to show thousands of seconds but only whole seconds when running,"
That happens on purpose: First, updating the milliseconds frequently (lets say as fast as possible) would consume CPU power and would result in flickering. And second, one cannot read the milliseconds while they change permanently, anyway. I think this looks nicer and provides the same degree of functionality. After all, I just wanted to have a simple stop watch. ;-)
Report