Sun, 09 Apr 2023 15:59:08 +0300
Extracted the state of the program into a MainState structure, and extracted local functions of main() into static functions.
I was planning to make the core logic and state of the program into a Main class, which would be a QObject that would
have lots of signals and slots, but it looks like this works even without it
6 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <svg xmlns="http://www.w3.org/2000/svg" width="1800" height="1100"> | |
3 | <rect width="1800" height="1100" fill="#fff"/> | |
4 | <rect width="1800" height="300" y="400" fill="#003580"/> | |
5 | <rect width="300" height="1100" x="500" fill="#003580"/> | |
6 | </svg> |