Skip to content

Commit

Permalink
Rename app folder to stagehand
Browse files Browse the repository at this point in the history
  • Loading branch information
DaelonSuzuka committed Jul 8, 2024
1 parent 2166242 commit 6cfc28a
Show file tree
Hide file tree
Showing 205 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "Stagehand",
"type": "python",
"request": "launch",
"program": "app/main.py",
"program": "stagehand/main.py",
"console": "internalConsole",
"justMyCode": true
}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MAKEFLAGS += --no-builtin-rules

# **************************************************************************** #

APP_FOLDER := app
APP_FOLDER := stagehand
APP_MAIN := $(APP_FOLDER)/main.py
APP_INFO := $(APP_FOLDER)/app_info.py

Expand Down
10 changes: 5 additions & 5 deletions bundle.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import configparser


# load app info
with open('app/app_info.py') as f:
with open('stagehand/app_info.py') as f:
file_content = '[dummy_section]\n' + f.read()

config = configparser.ConfigParser()
Expand All @@ -17,15 +17,15 @@ icon_file = str(section['AppIconPath'] + '/' + section['AppIconName']).replace('


a = Analysis(
['app/main.py'],
['stagehand/main.py'],
pathex=['./app'],
binaries=[
('.venv/Scripts/AutoHotkey.exe', '.')
],
datas=[
('app/resources', 'resources'),
('app/plugins/*.zip', 'plugins'),
('app/plugins/devices/*.zip', 'plugins/devices'),
('stagehand/resources', 'resources'),
('stagehand/plugins/*.zip', 'plugins'),
('stagehand/plugins/devices/*.zip', 'plugins/devices'),
],
hiddenimports=[
'pygame',
Expand Down
10 changes: 5 additions & 5 deletions onefile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import configparser


# load app info
with open('app/app_info.py') as f:
with open('stagehand/app_info.py') as f:
file_content = '[dummy_section]\n' + f.read()

config = configparser.ConfigParser()
Expand All @@ -17,13 +17,13 @@ icon_file = str(section['AppIconPath'] + '/' + section['AppIconName']).replace('


a = Analysis(
['app/main.py'],
['stagehand/main.py'],
pathex=['./app'],
binaries=[],
datas=[
('app/resources', 'resources'),
('app/plugins/*.zip', 'plugins'),
('app/plugins/devices/*.zip', 'plugins/devices'),
('stagehand/resources', 'resources'),
('stagehand/plugins/*.zip', 'plugins'),
('stagehand/plugins/devices/*.zip', 'plugins/devices'),
],
hiddenimports=[
'numpy',
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@
{
"type":"command",
"label":"Open...",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"open_session",
"shortcut":"QtGui.QKeySequence.Open"
},
{
"type":"command",
"label":"Import...",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"import_session",
"shortcut":""
},
{
"type":"command",
"label":"Save...",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"save_session",
"shortcut":"QtGui.QKeySequence.Save"
},
{
"type":"command",
"label":"Save As...",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"save_session_as",
"shortcut":"Ctrl+Shift+S"
}
Expand All @@ -40,14 +40,14 @@
{
"type":"command",
"label":"Clear Undo History",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"clear_undo",
"shortcut":""
},
{
"type":"command",
"label":"Show Undo History",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"show_undo_view",
"shortcut":""
},
Expand All @@ -57,28 +57,28 @@
{
"type":"command",
"label":"Copy",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"copy_nodes",
"shortcut":"QtGui.QKeySequence.Copy"
},
{
"type":"command",
"label":"Cut",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"cut_nodes",
"shortcut":"QtGui.QKeySequence.Cut"
},
{
"type":"command",
"label":"Paste",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"paste_nodes",
"shortcut":"QtGui.QKeySequence.Paste"
},
{
"type":"command",
"label":"Delete",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"delete_nodes",
"shortcut":"QtGui.QKeySequence.Delete"
},
Expand All @@ -88,35 +88,35 @@
{
"type":"command",
"label":"Select All",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"select_all_nodes",
"shortcut":"Ctrl+A"
},
{
"type":"command",
"label":"Unselect All",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"clear_node_selection",
"shortcut":"Ctrl+Shift+A"
},
{
"type":"command",
"label":"Enable/Disable",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"disable_nodes",
"shortcut":"D"
},
{
"type":"command",
"label":"Duplicate",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"duplicate_nodes",
"shortcut":"Alt+C"
},
{
"type":"command",
"label":"Fit to Selection",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"fit_to_selection",
"shortcut":"F"
},
Expand All @@ -126,21 +126,21 @@
{
"type":"command",
"label":"Zoom In",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"zoom_in",
"shortcut":"="
},
{
"type":"command",
"label":"Zoom Out",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"zoom_out",
"shortcut":"-"
},
{
"type":"command",
"label":"Reset Zoom",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"reset_zoom",
"shortcut":"H"
}
Expand All @@ -160,21 +160,21 @@
{
"type":"command",
"label":"None",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"bg_grid_none",
"shortcut":"Alt+1"
},
{
"type":"command",
"label":"Lines",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"bg_grid_lines",
"shortcut":"Alt+2"
},
{
"type":"command",
"label":"Dots",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"bg_grid_dots",
"shortcut":"Alt+3"
}
Expand All @@ -187,14 +187,14 @@
{
"type":"command",
"label":"Horizontal",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"layout_h_mode",
"shortcut":"Shift+1"
},
{
"type":"command",
"label":"Vertical",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"layout_v_mode",
"shortcut":"Shift+2"
}
Expand All @@ -209,7 +209,7 @@
{
"type":"command",
"label":"Node Search",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"toggle_node_search",
"shortcut":"Tab"
},
Expand All @@ -219,14 +219,14 @@
{
"type":"command",
"label":"Auto Layout Up Stream",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"layout_graph_up",
"shortcut":"L"
},
{
"type":"command",
"label":"Auto Layout Down Stream",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"layout_graph_down",
"shortcut":"Ctrl+L"
},
Expand All @@ -236,7 +236,7 @@
{
"type":"command",
"label":"Expand Group Node",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"expand_group_node",
"shortcut":"Alt+Enter"
}
Expand All @@ -249,21 +249,21 @@
{
"type":"command",
"label":"Curved",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"curved_pipe",
"shortcut":""
},
{
"type":"command",
"label":"Straight",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"straight_pipe",
"shortcut":""
},
{
"type":"command",
"label":"Angle",
"file":"app/plugins/nodegraph/hotkeys/hotkey_functions.py",
"file":"stagehand/plugins/nodegraph/hotkeys/hotkey_functions.py",
"function_name":"angle_pipe",
"shortcut":""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, name='', changed=None, data=None):
self.icon_name = 'mdi.graph'

graph = NodeGraph()
graph.set_context_menu_from_file('app/plugins/nodegraph/hotkeys/hotkeys.json')
graph.set_context_menu_from_file('stagehand/plugins/nodegraph/hotkeys/hotkeys.json')

graph.node_created.connect(changed)
graph.nodes_deleted.connect(changed)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6cfc28a

Please sign in to comment.