Materials for my seminars. C++, Qt, fun (a little bit).
mainwindow-demo
: creating a simple window in Qtwidgets-demo
: widget examples, signals/slots and event examplelayouts-demo
: layout managementtimers-demo
: different Qt timerspainter-demo
: animation, QPainter, QGraphicsScene
- Writing a simple JSON Parser
- Topics: C++ inheritance (virtual functions, abstract classes, dynamic cast, etc).
- Small funny Qt tasks like a clicker or a run-away button
- Topics: Qt basics, widgets, signals/slots, event handling
- On seminar:
- Clone the repo.
- Solve tasks from
statement
folder insolution
folder. - Commit task solutions to branch
sem-X-solution
. - After seminar, I'll merge
sem-X-solution
intomain
.
- On your own:
- Clone or fork the repo.
- Create folder for your solutions, e. g.
my-solution
. - Solve tasks from
statement
folder inmy-solution
folder. - Check
CMakeLists.txt
for instructions on how to build the project with the solution folder changed (usually there will just be an environment variable you need to set, e. g.SOLUTION_DIR
) - Refer to
solution
folder if you encounter problems when solving the tasks. - Don't push your solution to this repo :)
- If you want to contribute (fix the solution or add a missed test case), open a pull request.