Started a project for a game I play with friends. There is no decent way of keeping track of stats in game, so I decided to make a gui using Qt Creator. Just posting some early code in case it helps other people coding in Qt. I’ll clean it up and add comments later. I’ll also be uploading source files to GitHub at a later date.
main.cpp
widget.h
widget.cpp
epc.h
Custom data type (highly recommend if you want to know how to save and load using QDatastream, look over this file as an example of custom data types)
epc.cpp
incfile.h
It’s my personal preference to have all necessary “#include” in one file loaded first.
Notes.txt
Posted in: Code