Skip to content

Commit 9bbbb02

Browse files
author
Bryan
committed
nodes will not be made in the GUI. They will be python classes in the project folder
1 parent 4b92b86 commit 9bbbb02

File tree

2 files changed

+0
-56
lines changed

2 files changed

+0
-56
lines changed

main.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from PySide6 import QtCore, QtGui, QtWidgets
1919

2020
from node_editor.gui.node_list import NodeList
21-
from node_editor.gui.node_type_editor import NodeTypeEditor
2221
from node_editor.gui.node_widget import NodeWidget
2322

2423
logging.basicConfig(level=logging.DEBUG)
@@ -76,8 +75,6 @@ def __init__(self, parent=None):
7675
main_layout.addWidget(self.splitter)
7776

7877
# Signals
79-
new_node_type_btn.clicked.connect(self.new_node_cmd)
80-
8178
self.load_project("C:/Users/Howard/simple-node-editor/Example_project")
8279

8380
# Restore GUI from last state
@@ -129,20 +126,6 @@ def get_project_path(self):
129126

130127
self.load_project(project_path)
131128

132-
def new_node_cmd(self):
133-
"""
134-
Handles the New Node Type button click event by showing the NodeTypeEditor dialog.
135-
136-
Returns:
137-
None.
138-
"""
139-
node_editor = NodeTypeEditor()
140-
141-
if node_editor.exec() == QtWidgets.QDialog.Accepted:
142-
print("Dialog accepted")
143-
else:
144-
print("Dialog canceled")
145-
146129
def closeEvent(self, event):
147130
"""
148131
Handles the close event by saving the GUI state and closing the application.

node_editor/gui/node_type_editor.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)