Tutorial 3 - Stopwatch using threading
Threading is the main concept which every programmer needs to know to write a good program so in this tutorial we will build a stopwatch using threading. Please remember that this tutorial is meant to teach you the concept of threading and not how to build the stopwatch. Actual watches are made in a more efficient way than this.
Overview of task: The stopwatch will display hour, minutes and seconds. It will have a start and a stop push button. Once the clock is stopped and started again it will count from the beginning.
Prerequisites: Basic knowledge of QT class QThread
Steps: Due to the limitation on words, you can find steps here.
Submission:
- Link to your repository
- Video of your working stopwatch.
Try some experiment: See what happens if we change sleep() method with wait().
If you can not understand any part or solve any problem contact mentor they are always happy to help.