Commit graph

245 commits

Author SHA1 Message Date
Leonardo Zide
9f6c0abf23 Set MSAA from application. 2020-12-30 16:43:23 -08:00
Leonardo Zide
12089cca33 Removed properties widget margins. 2020-12-30 10:48:51 -08:00
Leonardo Zide
7ec71d8602 Reorganized view sphere and preview options. Fixes #584. 2020-12-30 10:39:04 -08:00
Leonardo Zide
855ca66018 Removed margins. 2020-12-29 19:27:40 -08:00
Leonardo Zide
58981f9580 Added option to paint selected pieces. Fixes #561. 2020-12-29 19:20:03 -08:00
Leonardo Zide
80adb54acf Always keep 1 context valid. 2020-12-29 14:42:59 -08:00
Leonardo Zide
4e6cbca31c Switch to QOpenGLWidget. 2020-12-27 13:05:55 -08:00
Leonardo Zide
2ccdc85f00 Workaround for what looks like a Qt crash when closing the app with a floating preview. 2020-12-26 18:16:01 -08:00
Leonardo Zide
81817ac4ad Merged duplicate preview view sphere settings. 2020-12-26 16:00:51 -08:00
Leonardo Zide
c26b52ea5e Fixed preview axis. Fixes #571. 2020-12-26 11:44:41 -08:00
Leonardo Zide
7de5d4eb22 Renamed view class. 2020-12-25 10:54:33 -08:00
Leonardo Zide
939e80ab4b Renamed view files. 2020-12-25 10:43:22 -08:00
Leonardo Zide
620ac457e5 Merged View and lcGLWidget. 2020-12-25 10:37:59 -08:00
Leonardo Zide
56daed4182 Removed OnInitialUpdate. 2020-12-24 17:14:36 -08:00
Leonardo Zide
e27b235936 Derive preview from view. 2020-12-24 11:32:56 -08:00
Leonardo Zide
72bb41e8aa Added shortcut to toggle the grid. 2020-12-23 19:10:54 -08:00
Leonardo Zide
b77210db22 Use a regular View for the Minifig Wizard. 2020-12-19 16:05:29 -08:00
Leonardo Zide
1925c476d6 Show more models in the menu. Fixes #558. 2020-12-18 16:34:11 -08:00
Leonardo Zide
baa0a70de2 Refactored duplicate code. 2020-12-18 12:15:35 -08:00
Leonardo Zide
dcf8ddfd95 Crash fix restoring layout. 2020-12-18 11:04:16 -08:00
Leonardo
a492a935b6 Renamed lcQGLWidget to lcViewWidget. 2020-12-17 17:59:11 -08:00
Leonardo Zide
25d3bd63cd Merge branch 'master' of https://github.com/leozide/leocad 2020-12-16 15:16:17 -08:00
Leonardo
6c6c5c8f6d Update focus view correctly. 2020-12-16 10:28:43 -08:00
Leonardo Zide
dac9b599a5 Replaced includes with forward declares. 2020-12-15 18:47:58 -08:00
Leonardo Zide
c2d1b5ce7c Use events for view focus changes. 2020-12-15 18:27:54 -08:00
Leonardo Zide
de29c49608 Reorganized redraw. 2020-12-15 17:19:32 -08:00
Leonardo Zide
a0385a3783 Merged menu update functions. 2020-12-15 10:20:14 -08:00
Leonardo Zide
71ea45f085 Updated deprecated functions. 2020-12-14 15:08:43 -08:00
Leonardo Zide
2d7aba8895 Use QString for object names. 2020-12-13 16:27:21 -08:00
Leonardo Zide
1012fc20cd Cleanup. 2020-12-13 12:05:54 -08:00
Leonardo Zide
1ce80b8c2c Have the view use signals to pass camera changes to the main window. 2020-12-13 10:33:42 -08:00
Leonardo Zide
fd8aca92df Scoped enum lcViewpoint. 2020-12-12 16:58:40 -08:00
Leonardo Zide
70d5daaac4 New command line options. 2020-12-12 11:27:06 -08:00
Leonardo Zide
e52ea0ab63 Added LC_ARRAY_SIZE_CHECK for static array checks. 2020-12-06 11:26:55 -08:00
Leonardo Zide
a9fac6110b Inlined lcInputState. 2020-12-05 08:45:29 -08:00
Leonardo
366018ee8c Scoped lcTool. 2020-12-04 15:38:49 -08:00
Leonardo
256d3792b1 Widget cleanup. 2020-12-04 12:49:01 -08:00
Leonardo Zide
e2fb7b2ed9 Widget cleanup. 2020-11-14 12:47:55 -08:00
Trevor SANDY
a9912cc28c 3D Preview - add to toolbars menu and popup. Treats #514 2020-10-13 01:26:39 +02:00
Leonardo Zide
8dad9dd269 Fixed AA not being applied to the preview widget. 2020-10-11 17:22:18 -07:00
Trevor SANDY
b4e376a90d 3D Preview - treat object management and add missed call 2020-10-07 16:56:49 +02:00
Trevor SANDY
a239e504ec 3D Preview
3D Preview - restore doc format
2020-10-03 16:20:59 +02:00
Leonardo Zide
33679e4f70 Added shortcut to toggle axis display. Fixes #498. 2020-09-13 10:04:34 -07:00
Leonardo Zide
3903e905fe Dark color theme. 2020-07-25 13:21:22 -07:00
Leonardo Zide
92d75c4963 Support assigning shortcuts to toolbars. Fixes #463. 2020-07-11 12:22:01 -07:00
Leonardo Zide
44fa79ecb6 Instructions Dialog mockup. 2020-05-31 18:46:36 -07:00
Leonardo Zide
9fa660313a Use scoped enum. 2020-05-03 13:04:40 -07:00
Leonardo Zide
b94b401b06 Save files with OMR style header. 2020-05-03 12:11:51 -07:00
Leonardo Zide
53ed56e60f Added option to rotate pieces around their local center. Closes #430. 2020-04-26 20:01:35 -07:00
Leonardo Zide
acd7dd3f9a Allow highlight color to be set by the user. 2020-04-25 11:36:28 -07:00