File tree Expand file tree Collapse file tree 2 files changed +0
-56
lines changed Expand file tree Collapse file tree 2 files changed +0
-56
lines changed Original file line number Diff line number Diff line change 1818from PySide6 import QtCore , QtGui , QtWidgets
1919
2020from node_editor .gui .node_list import NodeList
21- from node_editor .gui .node_type_editor import NodeTypeEditor
2221from node_editor .gui .node_widget import NodeWidget
2322
2423logging .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.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments