62 Commits

Author SHA1 Message Date
Leonardo Zide 7000eecf97 Updated connect calls from macros to pointers. 2026-04-23 22:34:59 -07:00
Leonardo Zide e6de72146f Fixed timeline move selection. Fixes #1014, #1015. 2026-03-17 09:51:17 -07:00
Leonardo Zide 6b84216dd8 Renamed history classes. 2026-03-12 23:12:10 -07:00
Leonardo Zide a8e37df8ce Whitespace cleanup. 2026-03-10 21:11:40 -07:00
Leonardo Zide 076c7f6e59 Fixed timeline selection getting out of sync with model selection. 2026-02-24 22:31:17 -08:00
Leonardo Zide 96bc1dc700 Added remaining selection actions. 2026-01-12 14:42:09 -08:00
Leonardo Zide 7fbd24ad8d Static analysis fixes. 2025-11-01 22:26:35 -07:00
Leonardo Zide 296f53a816 Merge pull request #973 from tweksteen/fix_crash_drag_drop_timeline
Ignore invalid drop in timeline
2025-07-06 12:54:43 -07:00
Leonardo Zide a36298b99a Earlier exit on invalid timeline drops. 2025-07-06 12:53:54 -07:00
Leonardo Zide 6a26e60f55 Made vector to float cast explicit, and fixed unintended casts. 2025-05-17 20:23:33 -07:00
Thiébaud Weksteen 10c4349e47 Ignore invalid drop in timeline
Fixes #972

In the timeline widget, if a piece is dropped beyond the last step, it
will disappear from the model. Ignore these invalid drag and drops.
2025-04-18 20:41:06 +10:00
Leonardo Zide 39cb7e13d1 Use unique_ptr for pieces. 2024-06-19 19:22:18 -07:00
Leonardo Zide 80d144fea8 Array cleanup. 2024-05-26 13:01:34 -07:00
Leonardo Zide 60640c767b Fixed crash with move to step after on the last step. Fixes #844. 2023-03-18 16:10:58 -07:00
Leonardo Zide a18f55913b Added new timeline option to move selection to a new step. 2023-01-08 17:22:54 -08:00
Leonardo Zide 1a64a7876d Highlight missing parts in the timeline. Fixes #438. 2021-04-17 10:50:38 -07:00
Leonardo Zide 00f3f0588f Cleanup. 2021-01-16 18:27:39 -08:00
Leonardo Zide f9c025f3b9 Show preview widget when double clicking. Fixes #589. 2021-01-05 12:32:03 -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 6ae6fbade7 Removed deprecated functions. 2020-12-11 14:51:46 -08:00
Leonardo 14f891bd08 Update current step item in the timeline widget. 2020-12-09 13:58:44 -08:00
Leonardo Zide e2fb7b2ed9 Widget cleanup. 2020-11-14 12:47:55 -08:00
Trevor SANDY 959c815ad1 3D Preview - only update timeline item on double-click when in 'Floating' position
Remove duplicate updates in because when in 'Dockable' position, updates are triggered by single-click via the property tree
2020-10-08 14:00:52 +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 85a9b19b2c Warning fixes. 2020-02-24 14:31:08 -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 7a78f86cd5 Workaround for Qt changing the order of items when drag and dropping. Fixes #424. 2020-01-05 18:14:50 -08:00
Leonardo Zide dce9a6095d Fixed crash when creating new submodel. 2019-12-30 08:19:42 -08:00
Leonardo Zide 524e154caa Show current step as bold in the timeline. 2019-12-29 12:33:13 -08:00
Leonardo Zide 1f839be310 Fixed invalid step being set in some cases. 2019-12-29 11:48:55 -08:00
Leonardo Zide 352a448b63 Always show an extra step at the end of the timeline. 2019-12-28 16:36:53 -08:00
Leonardo Zide 6681986517 Delete popup menus after they are shown. 2019-06-23 13:15:12 -07:00
Leonardo Zide 2f102c2274 Array cleanup. 2019-03-28 17:59:58 -07:00
Leonardo Zide d408d97fc1 Update timeline when editing a submodel. 2018-05-06 18:26:17 -07: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 6878d0157f Support selection mode on all selection tools. 2017-11-21 22:54:49 -08:00
Leonardo Zide 77a70758f8 Fixed static analysis warnings. 2017-07-02 20:12:17 -07:00
leozide f7d61f33ce Updated code to use nullptr and override. 2017-04-13 17:26:40 -07:00
Johannes Sixt d393cf83b3 Draw a dark gray border around color indicators in the time line.
This makes white, yellow and other colors more visible. In particular,
white entries do not look like absent against a white window background.

Due to the border, the circle must now be smaller by one pixel.
2017-03-04 00:06:01 +01:00
Leonardo Zide 6094899dc2 Fixed clang analyzer warnings. 2017-02-12 18:05:20 -08:00
Leonardo Zide 0dabe0d435 Added SetCurrentStep and MoveSelection to Timeline context menu. 2017-02-04 18:40:46 -08:00
Leonardo a74e51cd04 Fixed line endings. 2016-10-05 14:28:52 -07:00
Leonardo dc2b5db0a7 Fixes to compile with Qt 4.6. 2016-09-22 08:04:51 -07:00
leo 8fab83f2f0 Faster timeline selection updates. 2015-11-28 22:12:47 +00:00
leo 2e8f566829 Fixed timeline not deleting some items correctly. 2015-07-29 15:03:50 +00:00
leo 4e0d23e3df Update timeline when piece color or type changes. 2015-07-05 01:04:27 +00:00
leo f5e9591be7 Fixed the timeline not updating correctly when using Show Earlier. 2015-07-04 21:53:59 +00:00