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 | <RCC> |
2 | <qresource prefix="/"> | |
3 | <file>flags/en.png</file> | |
4 | <file>flags/fi.png</file> | |
5 | <file>flags/sv.png</file> | |
158 | 6 | <file>icons/renderstyle-bfc.png</file> |
7 | <file>icons/renderstyle-randomcolors.png</file> | |
8 | <file>icons/chatbubble-ellipses-outline.png</file> | |
9 | <file>icons/close.png</file> | |
10 | <file>icons/cube-outline.png</file> | |
11 | <file>icons/document-outline.png</file> | |
12 | <file>icons/folder-open-outline.png</file> | |
13 | <file>icons/linetype-quadrilateral.png</file> | |
14 | <file>icons/linetype-subfile.png</file> | |
15 | <file>icons/linetype-triangle.png</file> | |
16 | <file>icons/save-outline.png</file> | |
17 | <file>icons/settings-outline.png</file> | |
18 | <file>icons/stop-outline.png</file> | |
19 | <file>icons/renderstyle-normal.png</file> | |
20 | <file>icons/renderstyle-wireframe.png</file> | |
21 | <file>icons/save-as-outline.png</file> | |
22 | <file>icons/grid-outline.png</file> | |
23 | <file>icons/linetype-edgeline.png</file> | |
24 | <file>icons/linetype-errorline.png</file> | |
25 | <file>icons/pencil-outline.png</file> | |
26 | <file>icons/warning-outline.png</file> | |
27 | <file>icons/linetype-conditionaledge.png</file> | |
160 | 28 | <file>icons/close-circle-outline.png</file> |
163 | 29 | <file>icons/navigate-outline.png</file> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
163
diff
changeset
|
30 | <file>icons/trash-bin-outline.png</file> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
31 | <file>icons/axes.png</file> |
183
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
170
diff
changeset
|
32 | <file>icons/invert.png</file> |
185 | 33 | <file>icons/polyline.png</file> |
186 | 34 | <file>icons/linetype-circularprimitive.png</file> |
276
17b3212d3045
Add some sort of basic application icon
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
267
diff
changeset
|
35 | <file>icons/appicon.png</file> |
327 | 36 | <file>icons/copy.png</file> |
37 | <file>icons/cut.png</file> | |
38 | <file>icons/paste.png</file> | |
6 | 39 | </qresource> |
40 | </RCC> |