Commit Graph
219 Commits
Author SHA1 Message Date
itsmattkc 42ce950e02 nodeview: improved selection algorithms 2021-09-29 11:23:01 -07:00
itsmattkc c7bcf4ecad nodeview: remove from attached items when removing node 2021-09-27 11:10:31 -07:00
itsmattkc 67c7c71ca2 implemented "value hints" for choosing output values to use 2021-09-17 20:56:53 -07:00
itsmattkc b07bccb7dc nodes: revert to single output 2021-09-07 22:01:36 -07:00
itsmattkc 878d09f6e6 nodeview: null check on item
Hopefully this doesn't break behavior

Fixes #1687
Fixes #1736
2021-08-25 23:09:36 -07:00
itsmattkc 5cd6aaba66 nodeview: position edge on creation
Fixes #1708
2021-08-14 12:55:08 -07:00
itsmattkc bdbeb111e8 ui: make color setting undoable 2021-08-07 20:37:40 -07:00
itsmattkc 132e637f3f Merge pull request #1696 from pgilfernandez/nodes_mini-map
Nodes mini-map button (iconized)
2021-08-06 10:11:43 -07:00
itsmattkc 3b9421f90e multiundocommand: keep undo/redo under protected
Minor code improvement
2021-08-01 13:37:32 -07:00
Pablo Gil e5c2960ed6 remove "mini-map" Node toolbar button text and add new icon 2021-07-29 20:21:37 +02:00
itsmattkc 3f785f30fd nodeview: ensure node is cleanly removed at all times 2021-07-23 23:38:24 -07:00
itsmattkc c356c241b9 nodeview: disable toolbar when null graph set 2021-07-23 23:35:08 -07:00
itsmattkc 1c8b1b6006 nodeview: fixed pasting/duplicating crash 2021-07-23 22:09:28 -07:00
itsmattkc a83be3a253 nodeview: combined paste/duplicate code
Code cleanup. Doesn't fix bug involved with pasting or duplicating.
2021-07-23 17:47:08 -07:00
itsmattkc 9f9b007cbf nodeview: significantly improve nodeview "show all" algorithm 2021-07-19 18:40:56 -07:00
itsmattkc 8d72685eaa nodeview: stripped out auto-position function
Hopefully this shouldn't be necessary anymore
2021-07-19 18:40:22 -07:00
itsmattkc 9c63393f50 nodeview: implemented workable solution to connecting contexts together to show all
Functional, now we just need to fine tune and optimize it.
2021-07-19 02:27:40 -07:00
itsmattkc a8abe5167c nodeview: calculate triangle size from title bar rect 2021-07-19 01:44:04 -07:00
itsmattkc 52c5617159 undo: wrapped redo/undo functions to ensure prepare is called 2021-07-17 00:14:24 -07:00
itsmattkc 84e639606f nodeview: ensure nodes are disconnected when clearing 2021-07-16 21:32:34 -07:00
itsmattkc 07c841f76d nodeview: prelim work towards show all functionality 2021-07-16 20:30:46 -07:00
itsmattkc 61010ad6a6 nodeview: updated commands for new streamlined system 2021-07-16 02:06:02 -07:00
itsmattkc c41047ab02 timeline: reorganized undo commands
Split commands between several files rather than having them all in two monolithic ones.
2021-07-16 01:38:20 -07:00
itsmattkc 9b0b3962fe nodeview: set focus when adding a node
Ensures users can "Esc" out of it
2021-07-11 16:44:07 -07:00
itsmattkc cae2c360c2 nodeview: added border to minimap 2021-07-10 15:35:31 -07:00
itsmattkc 4d69e55799 nodeview: implemented dragger to create edge without holding key 2021-07-10 10:19:36 -07:00
itsmattkc 6e14e51f21 nodeview: added 'add' button to toolbar 2021-07-10 08:51:51 -07:00
itsmattkc 652a53c18e nodeview: added rudimentary toolbar
Only button there is a toggle for the mini-map.
2021-07-09 21:57:53 -07:00
itsmattkc 94e6fa843c nodeview: implemented minimap 2021-07-09 21:43:19 -07:00
itsmattkc ddee0f97d6 nodeview: start wip for "show all" mode 2021-07-09 18:00:27 -07:00
itsmattkc f14a301ffa nodeview: updates to complete new context paradigm 2021-07-09 18:00:01 -07:00
itsmattkc 17c9137bbd nodeviewedge: minor cleanup 2021-07-08 11:44:04 -07:00
itsmattkc dcac7f94f9 nodeview: when removing a node, remove it from all contexts 2021-07-08 11:42:53 -07:00
itsmattkc 90d94075cf nodeview: improved bounding rect and centering 2021-06-17 10:19:30 -07:00
itsmattkc e7ec9ccde2 nodeview: remove from positions map when removing node 2021-05-28 17:59:37 +10:00
itsmattkc 6204e78036 nodeview: reimplement adding edges 2021-05-28 17:59:02 +10:00
itsmattkc 8ef140dcd0 nodeview: use null check
In a perfect world, this would be unnecessary, but it will just save us so many crashes to do it.
2021-05-28 17:58:42 +10:00
itsmattkc 0532090259 nodeview: make items wider 2021-05-28 17:55:16 +10:00
itsmattkc d9e45a6818 nodeviewscene: skip add duplicate edges 2021-05-28 17:53:15 +10:00
itsmattkc 2162e9d8f8 nodeview: improved user manual positioning 2021-05-28 13:29:51 +10:00
itsmattkc f876240443 use nodes as context rather than void 2021-05-27 13:32:32 +10:00
itsmattkc c9305b9368 nodeview: improved average position algorithm 2021-05-26 14:25:05 +10:00
itsmattkc f9309da4b3 nodeview: update positions correctly 2021-05-24 10:12:53 +10:00
itsmattkc 3c17ecc94e more work 2021-05-21 12:28:52 +10:00
itsmattkc f2d64728f9 work towards timeline/nodeview interactivity 2021-05-17 11:14:56 +10:00
itsmattkc 8e9859b2b3 initial commit 2021-05-16 09:58:57 +10:00
itsmattkc 72d5b4af86 nodeview: enable mouse tracking at all times
Slightly less efficient, but fixes #1618, a seemingly
Linux-exclusive Qt bug which caused strange drag issues.
2021-05-11 11:16:59 +10:00
itsmattkc 72ed87d923 ui: scroll zoom preference now specific to widget
Fixes #1597
2021-05-10 12:07:15 +10:00
itsmattkc 94b2cebeea ui: merged nodeview/timelineview scrolling code
Greatly improves code quality and maintainability
2021-05-10 11:15:37 +10:00
itsmattkc 105655b3d9 nodeview: don't use other input's type for reconnecting nodes, just use traverser heuristic
Fixes #1607
2021-05-05 11:41:56 +10:00