Commit graph

285 commits

Author SHA1 Message Date
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
Leonardo Zide
5e8baffcf7 Added shortcut option for Fade Previous Steps. Fixes #420. 2020-04-11 11:16:21 -07:00
Leonardo Zide
90f1336a48 Scoped enums and constexpr. 2020-03-22 13:44:20 -07:00
Leonardo Zide
93ef9e0edc Fixed view size on retina displays. Fixes #447. 2020-02-24 12:58:38 -08:00
Leonardo Zide
e5d06a29a2 Renamed pipette to color picker and fixed indentation. 2020-02-15 11:14:12 -08:00
RenateZwei
aa3ead6504
Added color picker (#446)
Added color picker
2020-02-15 10:59:14 -08:00
Leonardo Zide
fb7f952e98 Fixed a case where drag and drop a submodel didn't do anything. 2020-02-01 11:34:56 -08:00
Leonardo Zide
9b7c7563a2 Added option to insert steps after the current step to avoid confusion. Fixes #373 and #408. 2020-01-26 18:41:31 -08:00
Leonardo Zide
bbc40d5a22 Start new model when closing the last tab. Fixes #422. 2020-01-26 11:31:21 -08:00
Leonardo Zide
8f48b09ae3 Added view sphere toggle. Fixes #284. 2020-01-05 11:38:24 -08:00
Leonardo Zide
636f84ad6c Fixed recent file being removed from menu when cancelling saving the current file. 2020-01-04 11:25:52 -08:00
Leonardo Zide
6891c59d38 Elide status bar text. Fixes #417. 2020-01-04 10:48:17 -08:00
Leonardo Zide
3044bf3972 Fixed compiler warnings. 2020-01-03 17:22:35 -08:00
Leonardo Zide
8309f0bf35 Added print margin. 2019-12-30 16:45:28 -08:00
Leonardo Zide
75839ee6fd Fix for Qt4. 2019-12-30 16:26:29 -08:00
Leonardo Zide
62ff114279 Fixed print font size. 2019-12-30 16:19:46 -08:00
Leonardo Zide
eae50b6836 Print submodels. Fixes #409. 2019-12-30 16:04:58 -08:00
Leonardo Zide
3b80bbabee Fixed projection menu not updating after switching cameras. 2019-08-10 19:26:19 -07:00
Leonardo Zide
d1a80399c8 Check if camera values are nan when loading tab layouts. 2019-07-13 08:58:31 -07:00
Leonardo Zide
1bfa710706 Only close tab if the user clicked and released the mouse on the same tab. 2019-07-01 14:38:10 -07:00
Thomas Cujé
0bae463b71 Close tab with middle mouse click (#363) 2019-07-01 14:11:47 -07:00
Leonardo Zide
6681986517 Delete popup menus after they are shown. 2019-06-23 13:15:12 -07:00
Leonardo Zide
f74b7bc801 Prompt to save ldr files with multiple models as mpd. Fixes #311. 2019-06-01 11:11:36 -07:00
Leonardo Zide
514c1e54ec Moved common includes to precompiled header. 2019-05-30 12:06:54 -07:00
Leonardo Zide
602dfeb8b6 Fixed /w4 warnings. 2019-05-18 11:33:27 -07:00
Leonardo Zide
8ca4831003 Fixed crash running offscreen. 2019-04-02 11:19:23 -07:00
Leonardo Zide
590422a30a Array cleanup. 2019-03-17 13:27:57 -07:00
Tomasz Goliński
e07b9d7ec6 Allow building without QT gamepad module (#331) 2019-03-16 15:49:30 -07:00
Thomas Cujé
764c653252 Move submodels menu entry above models list
Makes it easier to find the menu entry even in models with large number
of submodels.
2019-03-12 12:22:55 -07:00
Thomas Cujé
df73a3569c Update piece info on submodel edit end. Fixes #222 2019-03-12 12:03:32 -07:00
Leonardo Zide
586ae0425f Fixed compiler warning. 2019-03-11 13:04:31 -07:00
Leonardo Zide
590a5bfa97 When creating a new tab, only set it active after a view has been created. Fixes #324. 2019-03-10 16:26:30 -07:00
Leonardo Zide
d084d11b5a Show reason a file couldn't be loaded. 2019-03-10 13:41:21 -07:00
Thomas Cujé
940e464560 Remove double error message box on project load 2019-03-10 20:28:22 +01:00
Thomas Cujé
273cc3d7be Mark project as modified on external file delete 2019-03-10 20:28:22 +01:00
Leonardo Zide
3128a078cb Fixed crash when deleting a submodel being edited in another view. 2019-02-09 16:43:39 -08:00
Leonardo Zide
8f59a67924 Detach camera when diving into a submodel. 2019-02-09 16:30:11 -08:00
Leonardo Zide
378ece224f Fixed compiler warnings. 2019-02-05 16:35:15 -08:00
Leonardo Zide
40ad756348 Added shortcut for closing the current tab. 2019-01-20 16:36:59 -08:00
Leonardo Zide
8f04ccbec7 Fixed small leak merging files. Fixes #276. 2018-10-31 16:16:45 -07:00
Leonardo Zide
58c63982d2 Renamed in-place editing options. 2018-10-14 08:47:28 -07:00
Leonardo Zide
149df626b6 Added option to go back to editing the top submodel. 2018-10-13 16:45:14 -07:00
Leonardo Zide
7be53b5a0d Fixed uninitialized variable. 2018-09-26 14:56:58 -07:00
Leonardo Zide
5e31d6985b Added new files to project. 2018-08-20 11:47:46 -07:00
Leonardo Zide
f6cbbe9636 Moved gamepad Qt check to 5.8. 2018-05-13 17:37:02 -07:00
Leonardo Zide
3276b9b320 Initial gamepad implementation. Closes #237. 2018-05-13 17:09:06 -07:00
Leonardo Zide
c8952c9147 Fixed properties widget during submodel editing. 2018-05-11 16:23:43 -07:00
Leonardo Zide
d408d97fc1 Update timeline when editing a submodel. 2018-05-06 18:26:17 -07:00
Leonardo Zide
152a3cf7b6 Fixed edit/find/select dialogs not working while editing a submodel. 2018-04-16 18:29:42 -07:00
Leonardo Zide
4a9cd5556b Have actions run on the active submodel. 2018-04-07 08:43:54 -07:00
Leonardo Zide
b30ffd1b59 Initial implementation of in place submodel editing. 2018-03-29 10:20:36 -07:00
Leonardo Zide
930492ad24 Replaced http with https. 2018-03-21 16:47:00 -07:00
Leonardo Zide
51bbdb9b97 Added option to remove key frames from selected objects. 2018-02-24 12:47:19 -08:00
Leonardo Zide
10e538efde Fixed static analysis warnings. 2018-02-21 17:27:24 -08:00
Leonardo Zide
172528ac1f Removed calls to foreach. 2018-02-21 16:12:18 -08:00
Leonardo Zide
0c9c743951 Replaced email menu item with a link to the bug report page on github. 2018-02-18 16:17:48 -08:00
Leonardo Zide
dcc7b80ca3 Fixed case where Remove View on nested views was removing more views than it should. 2018-02-17 17:28:53 -08:00
Leonardo Zide
ce8ea6a92e Fixed static analysis warnings. 2018-01-15 17:03:08 -08:00
Leonardo Zide
93c147eeed Make sure there's always a tab open after loading a file. 2018-01-15 16:36:50 -08:00
Leonardo Zide
7ca156b3a7 Added commands for moving the camera relative to its current orientation. 2018-01-15 11:35:15 -08:00
leo
425e68d2a0 Removed tab context menu from Qt4 since it conflicts with the view menu. 2018-01-12 09:10:05 -08:00