Skip to content

Commit 62d71ac

Browse files
- added more C++ Support
1 parent 799acfb commit 62d71ac

File tree

5 files changed

+175
-84
lines changed

5 files changed

+175
-84
lines changed

Todo.txt

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
1-
1+
#
22
# # inProgress
33
# - * c++ code.
44
#
55
# # urgent
66
# - **** enableing input in the termenal.
77
# - Missing Icons
8-
8+
#
99
# # ToDos
10+
# - ** Graph background color.
1011
# - **** save all graphs & close all graphs Qactions.
11-
# - Beginner Friendly and Teaching Mode
12-
# - Add light Ui Modes
12+
# - Beginner Friendly and Teaching Mode.
13+
# - Add light Ui Modes.
1314
#
1415
# # Done
1516
# - ** Deleting Vars and Events.
16-
# - **** functions category open and close indicators
17+
# - **** functions category open and close indicators.
1718
# - **** functions categories (Tree Widget).
1819
# - warning if the shortcut is already in use.
1920
# - hold reset btn to reset settings with a progress par.
2021
# - Socket name For each socket on the node itself.
21-
# - fixing input widgets
22-
# - node auto sizing based on sockets and node content to compensate for the name lbl size and amongst other things
22+
# - fixing input widgets.
23+
# - node auto sizing based on sockets and node content to compensate for the name lbl size and amongst other things.
2324
# - ** Always save before closing option.
24-
# - default node content serialisation
25+
# - default node content serialisation.

nodeeditor/node_node.py

-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ def __init__(self, scene: 'Scene', name: str = "Undefined Node", inputs: list =
6060

6161
# just to be sure, init these variables
6262
self.grNode = QDMGraphicsNode(node=self, node_icon=node_icon)
63-
print(">>"+node_icon)
6463
self.grNode.node_icon = QImage(node_icon)
6564
self.initSettings()
6665

@@ -649,4 +648,3 @@ def set_output_label_text(self, index, text):
649648

650649
def getNodeCode(self):
651650
return None
652-

vvs_app/global_switches.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ def __init__(self, master):
99
self.master_ref = master
1010
self.Settings_Directory = f"{self.master_ref.files_widget.default_system_dir}/Preferences"
1111
self.Settings_File = self.Settings_Directory + f"/Settings.json"
12-
self.themes = {"Night": "qss/nodeeditor-night.qss", "light": "qss/nodeeditor-light.qss"}
12+
self.themes = {"Night": "qss/nodeeditor-night.qss", "Light": "qss/nodeeditor-light.qss"}
1313

1414
self.Default_switches_Dict = {"AutoSave Steps": 30,
1515
"AutoSave Folder MaxSize": 500,
1616
"Always Save Before Closing": True,
1717
"Save New Project Folder On Close": False,
1818

19-
"Theme": ["Night", "light"],
19+
"Theme": ["Night", "Light"],
2020
"Font Size": 16,
2121

2222
"New Graph": "Ctrl+N",
@@ -63,6 +63,7 @@ def update_font_size(self, size):
6363
self.master_ref.settingsWidget.setStyleSheet(f"QWidget {s}{size}px{z}")
6464

6565
def change_theme(self, theme):
66+
6667
self.master_ref.qss_theme = self.themes[theme]
6768
self.master_ref.stylesheet_filename = os.path.join(os.path.dirname(__file__), self.master_ref.qss_theme)
6869

0 commit comments

Comments
 (0)