Commit graph

528 commits

Author SHA1 Message Date
Leonardo Zide
b77210db22 Use a regular View for the Minifig Wizard. 2020-12-19 16:05:29 -08:00
Leonardo Zide
fe15bc03dd Minifig dialog cleanup. 2020-12-19 11:50:44 -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
a492a935b6 Renamed lcQGLWidget to lcViewWidget. 2020-12-17 17:59:11 -08:00
Leonardo Zide
71ea45f085 Updated deprecated functions. 2020-12-14 15:08:43 -08:00
Leonardo Zide
65ef0d3b77 Compile fix. 2020-12-13 16:53:49 -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
0e9581efb4 Compile fix. 2020-12-12 16:07:56 -08:00
Leonardo Zide
1bef9e001e Prevent the color popup from being shown across multiple monitors. Fixes #509. 2020-12-12 15:40:53 -08:00
Leonardo Zide
ea99066465 Disable stud logo options from preferences when unofficial parts are missing. 2020-12-12 15:21:30 -08:00
Leonardo Zide
63ff07783c Configurable inactive view color. 2020-12-11 18:37:16 -08:00
Leonardo Zide
096cc1238d Added Color page in Preferences. 2020-12-11 18:27:03 -08:00
Leonardo Zide
489f5e6f7e Merged DrawViewport(). 2020-12-11 18:01:04 -08:00
Leonardo Zide
c758ef2910 Qt deprecated cleanup. 2020-12-11 15:49:32 -08:00
Leonardo
6ae6fbade7 Removed deprecated functions. 2020-12-11 14:51:46 -08:00
Leonardo
caed332b3f Warn when assigning a keyboard shortcut that is already assigned to something else. Fixes #517. 2020-12-10 14:59:13 -08:00
Leonardo Zide
db7259b7a5 Fixed ugly border in the Minifig Wizard. 2020-12-06 19:33:15 -08:00
Leonardo Zide
28ccd8f681 Widget merge. 2020-12-05 12:17:09 -08:00
Leonardo Zide
8d09f90c54 Compile fix. 2020-12-05 11:19:11 -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 Zide
9e12b480ce Moved DrawBackground to lcGLWidget. 2020-11-26 12:07:41 -08:00
Leonardo Zide
ef2220ffdc Moved background color to global options. 2020-11-26 11:51:50 -08:00
Leonardo Zide
8d4a9644b5 Compile fix. 2020-11-14 12:53:58 -08:00
Leonardo Zide
e2fb7b2ed9 Widget cleanup. 2020-11-14 12:47:55 -08:00
Leonardo Zide
0d155dd971 Don't call updateGL directly. 2020-11-14 10:53:02 -08:00
Leonardo Zide
0902c18426 GLES fixes. 2020-11-06 19:01:21 -08:00
Trevor SANDY
b4e376a90d 3D Preview - treat object management and add missed call 2020-10-07 16:56:49 +02:00
Trevor SANDY
11966ca428 3D Preview - refactor and enable on property tree 2020-10-07 15:44:14 +02:00
Trevor SANDY
a239e504ec 3D Preview
3D Preview - restore doc format
2020-10-03 16:20:59 +02:00
Leonardo Zide
546eaf47cd Added option to duplicate submodels. Closes #502. 2020-09-07 11:29:37 -07:00
Leonardo Zide
8958e822a0 Added option to import/export mouse shortcuts. Fixes #490. 2020-08-22 18:47:03 -07:00
Leonardo Zide
0828fd1e2c Added mesh LOD distance option. 2020-08-15 16:16:26 -07:00
Leonardo Zide
c8acaeb2f0 Warning fix. 2020-08-15 15:23:44 -07:00
Leonardo Zide
2f94f2db68 Qt4 fix. 2020-07-25 17:58:17 -07:00
Leonardo Zide
3903e905fe Dark color theme. 2020-07-25 13:21:22 -07:00
Leonardo Zide
0cead36c7f Added option to select the overlay and axis colors. Fixes #464. 2020-07-11 10:47:52 -07:00
Leonardo Zide
7ca69e37b7 Fixed crash on exit with Qt 5.15. 2020-07-11 09:17:43 -07:00
Leonardo Zide
6f7dc6f1bb Remove minifig accessories that are not set in a template. Fixes #483. 2020-06-13 20:03:03 -07:00
Leonardo Zide
8932469470 Added a slider to set line width. 2020-06-06 11:16:01 -07:00
CansecoGPC
6e710185a1
Added Spanish translation and modified config files (#471) 2020-05-09 12:42:55 -07:00
Leonardo Zide
b94b401b06 Save files with OMR style header. 2020-05-03 12:11:51 -07:00
Leonardo Zide
a5fde91ee9 Configurable fade color. 2020-04-25 12:16:37 -07:00
Leonardo Zide
acd7dd3f9a Allow highlight color to be set by the user. 2020-04-25 11:36:28 -07:00
Leonardo Zide
592c91df72 Added czech translation. 2020-04-24 17:16:53 -07:00
Leonardo Zide
5a76f4c870 Scoped enums. 2020-04-18 19:45:21 -07:00
Leonardo Zide
cde5db25fe Auto generate Windows rc file. 2020-04-18 10:20:20 -07:00
Leonardo Zide
b27ef52025 Replaced Set Active button with a checkbox. Fixes #459. 2020-04-18 08:49:11 -07:00
Leonardo Zide
7c9773f228 Fixed override and virtual function qualifiers. 2020-03-22 15:44:41 -07:00
Leonardo Zide
90f1336a48 Scoped enums and constexpr. 2020-03-22 13:44:20 -07:00
Leonardo Zide
ade7334fa1 Support up to 10 control points and prevent the user from adding more. 2020-03-22 11:12:15 -07:00
Leonardo Zide
85a9b19b2c Warning fixes. 2020-02-24 14:31:08 -08:00
Leonardo Zide
93ef9e0edc Fixed view size on retina displays. Fixes #447. 2020-02-24 12:58:38 -08:00
Leonardo Zide
e9c38e4f39 Added scoped enums. 2020-02-15 11:36:06 -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
858bb73778 Warning fix. 2020-01-27 12:01:52 -08:00
Leonardo Zide
59098436b7 Use menu names for the keyboard preferences. Fixes #411. 2020-01-26 11:03:41 -08:00
Leonardo Zide
3e3e7135f8 Made visibility property more user friendly. Fixes #423. 2020-01-25 18:07:33 -08:00
Leonardo Zide
51fe5416b4 Replaced HTML parts list with BOM style image. 2020-01-14 12:48:18 -08:00
Leonardo Zide
6d818d48d2 Fixed HTML export not including submodels. Fixes #429. 2020-01-11 12:45:36 -08:00
Leonardo Zide
b43675f323 Array cleanup. 2020-01-10 17:40:14 -08:00
Leonardo Zide
9bc99235ef Fixed compiler warnings. 2020-01-05 15:19:50 -08:00
Leonardo Zide
8f48b09ae3 Added view sphere toggle. Fixes #284. 2020-01-05 11:38:24 -08:00
Leonardo Zide
7425c41673 Allow multiple selection in the Model List Dialog. Fixes #419. 2020-01-04 13:00:31 -08:00
Leonardo Zide
cbf534fcdf Added option to fade previous steps. 2020-01-01 17:06:17 -08:00
Leonardo Zide
c0734d49ef Always show part totals at the bottom. 2019-12-22 12:42:02 -08:00
Leonardo Zide
67d2c5b334 Fixed typo. 2019-12-09 11:47:43 -08:00
Leonardo Zide
24890ecebd Added array count macro. 2019-12-09 11:43:54 -08:00
Leonardo Zide
41b89de83f Added language option. Closes #336. 2019-11-28 13:52:06 -08:00
Leonardo Zide
0ecc4b5966 Added option to disable mesh LOD. Closes #400. 2019-11-28 12:47:19 -08:00
Leonardo Zide
5854cfce89 Added wrapper for glDepthMask. 2019-11-09 18:11:25 -08:00
Leonardo Zide
fa06a83704 Add stud logo setting to cache check. 2019-09-23 17:06:16 -07:00
Trevor SANDY
5adcfb4027 Add stud logo preference and command line option (#387)
* Add stud logo preference and command line option

* Support add stud logo when using disk library
2019-09-21 09:47:33 -07:00
Leonardo Zide
23eb88df4f Added minifig template import/export. 2019-09-14 17:05:13 -07:00
Leonardo Zide
1c5fb8dd2d Better render dialog resizing. Fixes #386. 2019-09-14 12:05:30 -07:00
Leonardo Zide
132a62e6a8 Fixed POV-Ray rendering not working when the user's temp folder has spaces. 2019-09-08 18:01:01 -07:00
Leonardo Zide
c425b01ecb Fixed render log not saving all lines. 2019-09-08 12:19:00 -07:00
Leonardo Zide
6c7291b919 Updated version. 2019-07-14 18:22:57 -07:00
Leonardo Zide
bcffeb3727 Removed horizontal lines from dialogs. 2019-07-14 18:17:58 -07:00
Leonardo Zide
d496e4ad0b Fixed view sphere options being disabled incorrectly. 2019-07-14 12:58:20 -07:00
Leonardo Zide
1457dde9e5 Updated version number. 2019-07-14 10:07:54 -07:00
Leonardo Zide
9d7fdf0b82 Fixed warning. 2019-07-09 14:03:19 -07:00
Leonardo Zide
4493c3f6f2 Array cleanup. 2019-07-04 17:06:26 -07:00
Leonardo Zide
5a3abf18e0 Allow custom color and minifig settings files. Fixes #359. 2019-06-20 18:52:33 -07:00
Leonardo Zide
617a667521 Array cleanup. 2019-06-04 18:45:22 -07:00
Leonardo Zide
a464606507 Fixed compiler warnings. 2019-06-03 13:23:04 -07:00
Leonardo Zide
8f8a93e835 Fix for Qt4. 2019-05-30 12:54:51 -07:00
Leonardo Zide
35ce03dd05 Fix for Qt4. 2019-05-30 12:38:51 -07:00
Leonardo Zide
4885bb59f1 Fix for Qt4. 2019-05-30 12:35:25 -07:00
Leonardo Zide
cf135bcbc5 Fixed compiler warnings. 2019-05-27 16:22:49 -07:00
Leonardo Zide
207d1158a7 Fixed compiler warnings. 2019-05-21 14:17:51 -07:00
Leonardo Zide
602dfeb8b6 Fixed /w4 warnings. 2019-05-18 11:33:27 -07:00
Leonardo Zide
46f58a4aaa Added keyboard shortcut filter. Fixes #338. 2019-05-11 16:46:37 -07:00
Leonardo Zide
2f102c2274 Array cleanup. 2019-03-28 17:59:58 -07:00
Leonardo Zide
acdc65584e Don't try to save render log files if the project hasn't been saved. 2019-03-19 15:22:47 -07:00
Trevor SANDY
56fbb2ce18 Update to improved render dialog (#335) 2019-03-19 15:08:03 -07:00
Leonardo Zide
fb0bcc48ec Also print continuous build on the command line. 2019-03-17 12:29:02 -07:00
Leonardo Zide
c68ce5fff8 Use short hash for continuous version. 2019-03-17 12:21:33 -07:00
Leonardo Zide
7c267c91d3 Show continuous build in the About Dialog. 2019-03-17 12:10:08 -07:00
Leonardo Zide
8497f07dea Load Qt translation files from the app folder. 2019-03-16 16:18:10 -07:00
Thomas Cujé
8a89cc4920 Make colors table fully auto resizing 2019-03-13 12:11:46 -07:00
Leonardo Zide
ee050177df Fixed double click to activate model from the Model List Dialog. 2019-03-12 13:10:33 -07:00
Leonardo Zide
9b7b17f45d Added button to select the active model on the Model List Dialog. 2019-03-12 13:08:43 -07:00
Leonardo Zide
0867ba48df Added line between Qt and OpenGL versions. 2019-03-12 12:44:31 -07:00
Thomas Cujé
d83c06100d Do not set active model from model list dialog
It's confusing and non-intuitive that saving the changes made to submodels opens the last
selected one. Furthermore we have the menu entries to open submodels.
2019-03-12 12:23:08 -07:00
Thomas Cujé
acbe0846d4 Add German comment translation to leocad.desktop
ari #320
2019-03-12 12:16:50 -07:00
Thomas Cujé
0bc3728620 Add Qt version and compile version to about dialog 2019-03-12 12:16:14 -07:00
Leonardo Zide
f99e6d7583 Fixed warnings. 2019-03-11 18:29:19 -07:00
Leonardo Zide
1d8988fbb4 Removed .svg extension from desktop file per @probonopd. 2019-03-10 14:06:01 -07:00
Leonardo Zide
6d24cc1e08 Formatting fixes. 2019-03-09 16:38:54 -08:00
Thomas Cujé
94d4e49ed4 Minor improvements
- Fix gcc fallthrough warnings
- Replace deprecated QT QStyleOptionViewItemV3
- Improve translator usage
- Use QString instead of QByteArray
2019-03-10 01:17:24 +01:00
Thomas Cujé
477dc1c616 Improve render dialog. Fixes #160
- improved layout
- shows errors correctly
- shows rendering progress
2019-03-10 01:17:24 +01:00
Thomas Cujé
3b92aea559 Add auto-load for most recent file. Relates #216 2019-03-10 01:17:24 +01:00
Thomas Cujé
d9f995b3a2 Add separate button to select archive library. Fixes #239 2019-03-10 01:17:24 +01:00
Thomas Cujé
0524192658 Show full tile description as tooltip. Fixes #166 2019-03-06 17:42:10 +01:00
Thomas Cujé
fd29f37d11 Let QT translate keyboard shortcuts. Fixes #308
This way QT also translates default UI buttons like yes, no, ok, cancel,
ect...
2019-03-03 11:32:27 +01:00
Thomas Cujé
465ef49a54 Replace http with https links 2019-03-01 20:29:49 +01:00
Thomas Cujé
de995b260d Mark leocad.org URL in about as non-translateable 2019-03-01 20:29:49 +01:00
Leonardo Zide
0abc4a258a Enabled polygon offset (with a smaller offset) for opaque triangles so they don't z fight with lines. 2019-02-23 11:33:39 -08:00
Johannes Sixt
31703618c3 Reduce z-fighting when translucent walls are touching opaque walls. (#303)
* Move GL calls around drawing of translucent meshes to lcContext.

* Reduce z-fighting when translucent walls are touching opaque walls.

This fixes issue #301.
2019-02-23 10:56:38 -08:00
Leonardo Zide
2ddb955306 Prompt before overwriting a minifig template. Closes #294. 2019-02-19 13:00:52 -08:00
Leonardo Zide
8f7f3984a7 Prompt before deleting minifig templates. Fixes #286. 2019-02-14 17:18:27 -08:00
Leonardo Zide
ee6ef69ede Confgurable view sphere colors. 2019-01-20 11:59:18 -08:00
Leonardo Zide
a10d1c1727 Create a static vertex buffer for the view sphere. 2018-11-03 17:54:32 -07:00
Leonardo Zide
b77b9aac5c Replaced view cube with a sphere. 2018-10-28 17:59:01 -07:00
Leonardo Zide
75ed98b88d Added string cache. 2018-09-23 19:31:33 -07:00
Leonardo Zide
15d5e89cee Added view cube preferences. 2018-09-02 11:23:49 -07:00
Leonardo Zide
b09439d97d Fixed alpha value of translucent parts in PNG files. Fixes #241. 2018-07-04 11:19:15 -07:00
Leonardo Zide
c8952c9147 Fixed properties widget during submodel editing. 2018-05-11 16:23:43 -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
aaa33d55e5 Save images to the documents folder if a folder is not specified. Fixes #224. 2018-04-14 18:27:16 -07:00
Leonardo Zide
900456ca31 Refactored http download code. 2018-04-14 11:44:39 -07:00
Leonardo Zide
930492ad24 Replaced http with https. 2018-03-21 16:47:00 -07:00
Leonardo Zide
45d9c7a2f1 Fixed Qt4. 2018-03-12 14:34:28 -07:00
Leonardo Zide
b07631d4a9 Added minifig wizard templates. Closes #212. 2018-03-11 20:35:04 -07:00
Leonardo Zide
6d7423efb4 Fixed LGEO path browse button. 2018-03-10 11:41:23 -08:00
Leonardo Zide
9862d5c59e Fixed wrong buffer size. 2018-02-22 12:06:32 -08:00
Leonardo Zide
10e538efde Fixed static analysis warnings. 2018-02-21 17:27:24 -08:00
Leonardo Zide
d7cc03eb41 Fixed clang warning. 2018-02-17 18:42:25 -08:00
Leonardo Zide
769b80b22d Support dragging colors from the color palette to paint pieces. Closes #177. 2018-01-12 10:50:25 -08:00
Leonardo Zide
a4a97db568 Save minidumps to the temp folder. Fixes #186. 2018-02-10 14:23:23 -08:00
Leonardo Zide
146c3ea897 Updated version number. 2018-02-09 18:19:20 -08:00
Leonardo Zide
959dcca186 Fixed Windows compiler error. 2018-01-19 11:41:26 -08:00
Leonardo Zide
a3995efa36 Fixed connecting to rebrickable on Linux. 2018-01-19 11:17:21 -08:00
Leonardo Zide
db7c0f8edf Changed default Linux POV-Ray output to png. 2018-01-12 09:40:32 -08:00
Leonardo Zide
aefb034be7 Fixed POV-Ray path. 2018-01-15 18:08:16 -08:00
Leonardo Zide
ce8ea6a92e Fixed static analysis warnings. 2018-01-15 17:03:08 -08:00