Commit Graph

84 Commits

Author SHA1 Message Date
Kalle
99b35e131d Replace include guards with #pragma once
All checks were successful
Build Skui / Build on ubuntu-latest (pull_request) Successful in 2m58s
Validate format using clang / Formatting Check (pull_request) Successful in 1m23s
2026-05-03 17:15:59 +02:00
Kalle Bracht
a42cf60f30 Merge pull request 'Nodeeditor' (#31) from nodeditor into main
Reviewed-on: #31
2026-05-03 14:56:43 +00:00
Kalle
7a03fbca8f Adds roadmap, image and secondary info to README.md
All checks were successful
Build Skui / Build on ubuntu-latest (pull_request) Successful in 1m20s
Validate format using clang / Formatting Check (pull_request) Successful in 47s
2026-04-24 20:58:16 +02:00
Kalle
0a5bb3a246 Updating method name in docstring 2026-04-23 22:33:12 +02:00
Kalle
de0fe97442 Fix self and same direction connection attempt
All checks were successful
Validate format using clang / Formatting Check (pull_request) Successful in 48s
Build Skui / Build on ubuntu-latest (pull_request) Successful in 1m23s
It is know not possible anymore to connect Interfaces / Pads with the same direction or with itself, because it logicaly impossible and leads to fatal crash

Co-authored-by: Copilot <copilot@github.com>
2026-04-23 22:26:15 +02:00
Kalle
d6f11b9384 Clang formatting
All checks were successful
Build Skui / Build on ubuntu-latest (pull_request) Successful in 1m23s
Validate format using clang / Formatting Check (pull_request) Successful in 48s
2026-04-23 21:28:48 +02:00
Kalle
e683a64393 Deletes Cable if Node gets deleted
Some checks failed
Build Skui / Build on ubuntu-latest (pull_request) Successful in 1m22s
Validate format using clang / Formatting Check (pull_request) Failing after 28s
Co-authored-by: Copilot <copilot@github.com>
2026-04-23 21:24:38 +02:00
Kalle
c68cbe92d5 Deletion and movment of nodes
Some checks failed
Build Skui / Build on ubuntu-latest (pull_request) Successful in 2m22s
Validate format using clang / Formatting Check (pull_request) Failing after 51s
This commit introduces some new functionalities:
- The deletion of nodes via a new context menu
  - The context menu is also avalible in the Panel for Visuals
- You can rename nodes from nowon via a new rename dialog
- Cables have way more power and are responible for controling themselfs.
   This puts a lot of code from the nodeeditor_scene to the cable
   - Nodes can be now moved around without losing their Cable visualy. The Cable moves with them

Co-authored-by: Copilot <copilot@github.com>
2026-04-23 20:52:09 +02:00
Kalle
07ef7d8020 Merge branch 'main' into nodeditor 2026-04-05 12:28:16 +02:00
Kalle
d31fcb4ff3 Introduces context menu
First of all the context menu is not finished and introduced a bug with the panel.
The ContextMenu spawns on a right click and enables the user to insert and later also,
rename and view properties.

The follwing changes where edited:
- Context menu, Insert Nodes functionality for both panel and node editor
- Creating factories to create Nodes, give the Document more power / properties,
   so that it is more central and opening various documents is easier later
   - The active document is handled by itself
- Nodes have a new property "position_hint" to position them on node editor and panel
- The method setPanel was removed and was replaced by the Panel::addVisual method
- The class VisualContainer holds a new property "node" which is the visual node that is stored
   in the VisualContainer
2026-04-04 17:39:00 +02:00
Kalle Bracht
34cff5e834 Merge pull request 'Update CONTRIBUTING.md' (#25) from leo_bechstein-patch-1 into main
Reviewed-on: https://gitea.com/SkuiSystems/SKUI/pulls/25
2026-04-03 13:35:03 +00:00
Kalle Bracht
8ca8b8c10d Merge pull request 'Update docs/usermanuel.md' (#26) from leo_bechstein-patch-2 into main
Reviewed-on: https://gitea.com/SkuiSystems/SKUI/pulls/26
2026-04-03 13:34:17 +00:00
Leo_Bechstein
46f9e0fea6 Update docs/usermanuel.md 2026-04-03 12:41:00 +00:00
Leo_Bechstein
e60ba40f48 Update CONTRIBUTING.md 2026-04-03 12:20:30 +00:00
Kalle Bracht
f6b885e644 Removes unused event in Pad class
The removed virtual method was not used for any triggers / handlers
The logic inside it, just does what whould happen if you remove the
method, so I removed it
2026-03-27 20:57:22 +01:00
Kalle Bracht
a4f047f909 Introduces Node selection and movement in Node Editor
This commit introduces a move mechanism for NodeGraphicsItems,
the visual representation of Nodes in the Node Editor.
To do so it also introcudes a selection mechanism

The moving is handled by the NodeEditor class which is a QGraphsView. The routing is still handled in the nodeeditor_scene which is a QGraphicsScene.

The selection mechanism is slightly different from the
Panel. To move multiple Nodes you have to hold shilft, while dragging. By doing it differently, we can test, which method is
more intuitive and than implement if for the other system.

There is also an update to the devmanul.md. These explenations in the docs are not all implemented. But I use them as a guidenance for future commits.
2026-03-27 20:54:11 +01:00
Kalle Bracht
e7240370e2 Fixes cable behaviour 2026-03-19 22:43:40 +01:00
kabr8
45ad84048f Merge pull request 'Fixing actions' (#21) from ubuntu-build-fix into main
Reviewed-on: https://gitea.com/SkuiSystems/skui/pulls/21
2026-03-15 17:03:19 +00:00
Kalle Bracht
5262276efb Update clang format 2026-03-15 17:56:14 +01:00
Kalle Bracht
998673eab5 Exclude Mac and Windows runs 2026-03-15 17:53:38 +01:00
Kalle Bracht
d63debe501 Update actions 2026-03-15 17:50:17 +01:00
Kalle Bracht
7f1fb95f62 Update clang format to work hopefully 2026-03-15 17:45:37 +01:00
Kalle Bracht
04d8629e21 Updates clang format for gitea 2026-03-15 17:40:38 +01:00
Kalle Bracht
63c2908619 Change variable github to gitea 2026-03-15 17:35:27 +01:00
Kalle Bracht
06108c698d Move cmake to Linux depencencies 2026-03-15 17:27:15 +01:00
Kalle Bracht
2c924874d3 Attempt 6 2026-03-15 17:26:11 +01:00
Kalle Bracht
dee31aea4e Attempt 5 2026-03-15 17:23:04 +01:00
Kalle Bracht
e849da0fb6 Attempt 4 2026-03-15 17:19:38 +01:00
Kalle Bracht
28a5780a3b Attempt 3 2026-03-15 17:16:31 +01:00
Kalle Bracht
57a15d8e60 Attempt 2 2026-03-15 17:13:30 +01:00
Kalle Bracht
c48f89ddee Attepmt to fix installing QT bug 2026-03-15 17:09:52 +01:00
Kalle Bracht
8f8ad77dae Remove cache and unused moduels 2026-03-15 16:49:36 +01:00
Kalle Bracht
623edfe352 Updates ubunut skui build 2026-03-15 16:37:54 +01:00
kabr8
8db6d6fba4 Merge pull request 'Fixing typo for template issue' (#10) from gitea-template-fix into main
Reviewed-on: https://gitea.com/SkuiSystems/skui/pulls/10
2026-03-09 11:15:26 +00:00
Kalle Bracht
122d730b50 Fixing typo 2026-03-09 12:12:41 +01:00
kabr8
014c62b935 Merge pull request 'Fixes Syntax issue with bug report yaml' (#9) from gitea-template-fix into main
Reviewed-on: https://gitea.com/SkuiSystems/skui/pulls/9
2026-03-09 11:10:50 +00:00
Kalle Bracht
f77de85136 Fixes Syntax issue with bug report yaml 2026-03-09 12:08:01 +01:00
kabr8
a461efacc3 Merge pull request 'Setup repository' (#8) from gitea-setup into main
Reviewed-on: https://gitea.com/SkuiSystems/skui/pulls/8
2026-03-09 10:54:27 +00:00
Kalle Bracht
1109f33ef3 Adds bugreport template 2026-03-09 11:50:07 +01:00
Kalle Bracht
0e8f7b506b Adds contribution md 2026-03-09 11:49:58 +01:00
Kalle Bracht
ba353bc185 Adding License 2026-03-05 15:59:16 +01:00
Kalle Bracht
1e392c71c9 Change actions folder name 2026-03-04 16:40:29 +01:00
Kalle Bracht
ae51380ef7 Jufo udate 2026-03-04 16:26:31 +01:00
Kalle Bracht
ec2cc05438 Introduces Cables 2026-02-19 21:40:15 +01:00
Kalle Bracht
cc7a6718ee Property system & Visual Refactor (#3)
* Refactor of Panel

- Changing Visuals as subclass of Nodes
  - Removing Visual painting in Node Class
  - New Visual Class that is part of the node module
- Moving ResizeBoundingBox from Visuals to Panel
  - Introducing a VisualContainer where the Visuals are rendered in
- Adding property window
- Removing Visual Container in Documents

* Adding local doxygen to .gitignore

* Adding non documented parts to Doxygen

* Basic Property Window
2026-02-05 23:56:17 +01:00
Kalle Bracht
979141c487 Adding Doxyfile (#2) 2026-01-17 17:41:53 +01:00
Kalle Bracht
07a2bfae88 Merge pull request #1 from Kalbra/node-interfaces
Introducing Node Class and Interface Class.
Used to connect different Nodes to each other.
Still experimental
2026-01-17 17:32:35 +01:00
Kalle Bracht
585422a9e1 Update Build action 2026-01-17 17:28:43 +01:00
Kalle Bracht
f260fd5c95 Add breeze-icons as a submodule 2026-01-17 17:22:01 +01:00
Kalle Bracht
7cea513dd2 Delete Breeze icons folder 2026-01-17 17:21:05 +01:00