pycforge-sdk 0.6.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pycforge_sdk/__init__.py +6 -0
- pycforge_sdk/__main__.py +3 -0
- pycforge_sdk/catalogue.py +287 -0
- pycforge_sdk/cli.py +114 -0
- pycforge_sdk/connection.py +136 -0
- pycforge_sdk/discovery.py +227 -0
- pycforge_sdk/editing.py +84 -0
- pycforge_sdk/engine_launch.py +45 -0
- pycforge_sdk/engine_worker.py +53 -0
- pycforge_sdk/gui/__init__.py +1 -0
- pycforge_sdk/gui/__main__.py +3 -0
- pycforge_sdk/gui/app.py +36 -0
- pycforge_sdk/gui/dialogs.py +310 -0
- pycforge_sdk/gui/editor.py +412 -0
- pycforge_sdk/gui/help/index.html +9 -0
- pycforge_sdk/gui/identity.py +139 -0
- pycforge_sdk/gui/jobs.py +146 -0
- pycforge_sdk/gui/reference.py +39 -0
- pycforge_sdk/gui/resources/sdk-mark.png +0 -0
- pycforge_sdk/gui/scanner.py +134 -0
- pycforge_sdk/gui/startup.py +118 -0
- pycforge_sdk/gui/visual/__init__.py +1 -0
- pycforge_sdk/gui/visual/action_contract.py +550 -0
- pycforge_sdk/gui/visual/icons.py +117 -0
- pycforge_sdk/gui/visual/qt_actions.py +501 -0
- pycforge_sdk/gui/visual/qt_branding.py +47 -0
- pycforge_sdk/gui/visual/qt_dialog_chrome.py +337 -0
- pycforge_sdk/gui/visual/qt_file_icons.py +130 -0
- pycforge_sdk/gui/visual/qt_icons.py +80 -0
- pycforge_sdk/gui/visual/qt_screen_geometry.py +166 -0
- pycforge_sdk/gui/visual/qt_title_controls.py +333 -0
- pycforge_sdk/gui/visual/qt_window_chrome.py +314 -0
- pycforge_sdk/gui/visual/qt_window_resize.py +93 -0
- pycforge_sdk/gui/visual/qt_workspace_widgets.py +448 -0
- pycforge_sdk/gui/visual/resources/icons/128/add-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/brand-mark.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/bundle-search.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/cancel.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/check.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/chevron-right.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/close.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/collapse-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/command-palette.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/convert.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/copy.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/cut.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/decision-trace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/details.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/diagnostics.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/duplicate-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/exit.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/expand-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/export.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/find.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/go-to-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/go-to-output.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/go-to-source.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/help.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/history.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/indent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/link-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/mappings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/move-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/move-line-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/move-line-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/move-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/next.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/open.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/outdent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/outline.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/paste.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/previous.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/primary-module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/redo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/remove-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/replace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/save-as.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/save.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/select-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/settings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/show-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/split-view.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/summary.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/telemetry.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/toggle-comment.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/toggle-fold.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/tools.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/undo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/128/whitespace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/add-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/brand-mark.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/bundle-search.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/cancel.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/check.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/chevron-right.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/close.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/collapse-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/command-palette.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/convert.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/copy.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/cut.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/decision-trace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/details.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/diagnostics.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/duplicate-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/exit.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/expand-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/export.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/find.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/go-to-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/go-to-output.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/go-to-source.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/help.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/history.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/indent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/link-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/mappings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/move-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/move-line-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/move-line-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/move-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/next.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/open.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/outdent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/outline.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/paste.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/previous.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/primary-module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/redo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/remove-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/replace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/save-as.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/save.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/select-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/settings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/show-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/split-view.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/summary.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/telemetry.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/toggle-comment.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/toggle-fold.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/tools.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/undo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/16/whitespace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/add-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/brand-mark.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/bundle-search.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/cancel.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/check.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/chevron-right.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/close.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/collapse-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/command-palette.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/convert.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/copy.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/cut.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/decision-trace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/details.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/diagnostics.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/duplicate-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/exit.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/expand-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/export.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/find.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/go-to-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/go-to-output.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/go-to-source.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/help.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/history.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/indent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/link-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/mappings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/move-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/move-line-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/move-line-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/move-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/next.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/open.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/outdent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/outline.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/paste.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/previous.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/primary-module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/redo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/remove-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/replace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/save-as.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/save.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/select-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/settings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/show-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/split-view.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/summary.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/telemetry.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/toggle-comment.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/toggle-fold.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/tools.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/undo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/20/whitespace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/add-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/brand-mark.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/bundle-search.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/cancel.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/check.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/chevron-right.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/close.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/collapse-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/command-palette.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/convert.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/copy.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/cut.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/decision-trace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/details.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/diagnostics.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/duplicate-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/exit.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/expand-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/export.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/find.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/go-to-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/go-to-output.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/go-to-source.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/help.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/history.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/indent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/link-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/mappings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/move-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/move-line-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/move-line-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/move-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/next.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/open.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/outdent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/outline.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/paste.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/previous.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/primary-module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/redo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/remove-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/replace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/save-as.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/save.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/select-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/settings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/show-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/split-view.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/summary.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/telemetry.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/toggle-comment.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/toggle-fold.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/tools.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/undo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/24/whitespace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/add-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/brand-mark.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/bundle-search.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/cancel.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/check.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/chevron-right.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/close.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/collapse-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/command-palette.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/convert.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/copy.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/cut.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/decision-trace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/details.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/diagnostics.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/duplicate-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/exit.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/expand-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/export.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/find.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/go-to-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/go-to-output.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/go-to-source.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/help.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/history.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/indent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/link-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/mappings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/move-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/move-line-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/move-line-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/move-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/next.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/open.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/outdent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/outline.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/paste.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/previous.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/primary-module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/redo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/remove-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/replace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/save-as.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/save.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/select-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/settings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/show-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/split-view.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/summary.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/telemetry.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/toggle-comment.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/toggle-fold.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/tools.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/undo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/256/whitespace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/add-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/brand-mark.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/bundle-search.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/cancel.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/check.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/chevron-right.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/close.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/collapse-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/command-palette.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/convert.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/copy.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/cut.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/decision-trace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/details.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/diagnostics.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/duplicate-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/exit.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/expand-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/export.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/find.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/go-to-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/go-to-output.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/go-to-source.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/help.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/history.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/indent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/link-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/mappings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/move-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/move-line-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/move-line-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/move-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/next.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/open.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/outdent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/outline.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/paste.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/previous.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/primary-module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/redo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/remove-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/replace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/save-as.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/save.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/select-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/settings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/show-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/split-view.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/summary.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/telemetry.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/toggle-comment.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/toggle-fold.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/tools.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/undo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/32/whitespace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/add-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/brand-mark.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/bundle-search.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/cancel.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/check.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/chevron-right.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/close.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/collapse-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/command-palette.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/convert.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/copy.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/cut.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/decision-trace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/details.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/diagnostics.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/duplicate-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/exit.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/expand-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/export.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/find.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/go-to-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/go-to-output.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/go-to-source.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/help.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/history.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/indent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/link-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/mappings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/move-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/move-line-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/move-line-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/move-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/next.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/open.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/outdent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/outline.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/paste.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/previous.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/primary-module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/redo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/remove-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/replace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/save-as.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/save.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/select-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/settings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/show-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/split-view.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/summary.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/telemetry.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/toggle-comment.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/toggle-fold.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/tools.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/undo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/48/whitespace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/add-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/brand-mark.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/bundle-search.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/cancel.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/check.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/chevron-right.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/close.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/collapse-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/command-palette.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/convert.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/copy.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/cut.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/decision-trace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/details.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/diagnostics.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/duplicate-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/exit.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/expand-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/export.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/find.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/go-to-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/go-to-output.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/go-to-source.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/help.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/history.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/indent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/link-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/mappings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/move-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/move-line-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/move-line-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/move-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/next.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/open.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/outdent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/outline.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/paste.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/previous.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/primary-module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/redo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/remove-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/replace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/save-as.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/save.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/select-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/settings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/show-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/split-view.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/summary.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/telemetry.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/toggle-comment.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/toggle-fold.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/tools.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/undo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/64/whitespace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/add-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/brand-mark.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/bundle-search.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/cancel.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/check.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/chevron-right.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/close.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/collapse-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/command-palette.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/convert.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/copy.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/cut.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/decision-trace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/details.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/diagnostics.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/duplicate-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/exit.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/expand-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/export.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/find.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/go-to-line.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/go-to-output.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/go-to-source.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/help.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/history.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/indent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/link-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/mappings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/move-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/move-line-down.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/move-line-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/move-up.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/next.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/open.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/outdent.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/outline.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/paste.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/previous.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/primary-module.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/redo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/remove-document.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/replace.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/save-as.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/save.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/select-all.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/settings.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/show-c.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/split-view.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/summary.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/telemetry.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/toggle-comment.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/toggle-fold.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/tools.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/undo.png +0 -0
- pycforge_sdk/gui/visual/resources/icons/96/whitespace.png +0 -0
- pycforge_sdk/gui/visual/theme.py +204 -0
- pycforge_sdk/gui/visual/theme_steel_stylesheet.py +901 -0
- pycforge_sdk/gui/visual/theme_stylesheet.py +597 -0
- pycforge_sdk/gui/visual/theme_workspace_stylesheet.py +169 -0
- pycforge_sdk/gui/visual/visual_tokens.py +146 -0
- pycforge_sdk/gui/widgets.py +68 -0
- pycforge_sdk/gui/window.py +559 -0
- pycforge_sdk/native.py +42 -0
- pycforge_sdk/package_metadata.py +21 -0
- pycforge_sdk/process.py +58 -0
- pycforge_sdk/project.py +143 -0
- pycforge_sdk/readiness.py +106 -0
- pycforge_sdk/results.py +45 -0
- pycforge_sdk/service.py +454 -0
- pycforge_sdk/workbench.py +88 -0
- pycforge_sdk-0.6.3.dist-info/METADATA +221 -0
- pycforge_sdk-0.6.3.dist-info/RECORD +559 -0
- pycforge_sdk-0.6.3.dist-info/WHEEL +5 -0
- pycforge_sdk-0.6.3.dist-info/entry_points.txt +5 -0
- pycforge_sdk-0.6.3.dist-info/licenses/LICENSE +674 -0
- pycforge_sdk-0.6.3.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"""Screen-aware top-level window geometry for the PyCForge Qt UI.
|
|
2
|
+
|
|
3
|
+
Qt reports monitor work areas in device-independent pixels. Keeping all
|
|
4
|
+
preferred and minimum sizes in that same coordinate system lets Windows own
|
|
5
|
+
display scaling while ensuring restored or default geometry never starts
|
|
6
|
+
outside the usable monitor area.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from __future__ import annotations
|
|
10
|
+
|
|
11
|
+
from dataclasses import dataclass
|
|
12
|
+
|
|
13
|
+
from PySide6.QtCore import QPoint
|
|
14
|
+
from PySide6.QtWidgets import QApplication, QWidget
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DEFAULT_SCREEN_MARGIN = 16
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
@dataclass(frozen=True, slots=True)
|
|
21
|
+
class WindowGeometryPlan:
|
|
22
|
+
"""Validated logical-pixel dimensions for one top-level window."""
|
|
23
|
+
|
|
24
|
+
width: int
|
|
25
|
+
height: int
|
|
26
|
+
minimum_width: int
|
|
27
|
+
minimum_height: int
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def plan_window_geometry(
|
|
31
|
+
available_width: int,
|
|
32
|
+
available_height: int,
|
|
33
|
+
*,
|
|
34
|
+
preferred_width: int,
|
|
35
|
+
preferred_height: int,
|
|
36
|
+
minimum_width: int,
|
|
37
|
+
minimum_height: int,
|
|
38
|
+
margin: int = DEFAULT_SCREEN_MARGIN,
|
|
39
|
+
) -> WindowGeometryPlan:
|
|
40
|
+
"""Return preferred and minimum dimensions bounded by a monitor work area."""
|
|
41
|
+
|
|
42
|
+
values = (
|
|
43
|
+
available_width,
|
|
44
|
+
available_height,
|
|
45
|
+
preferred_width,
|
|
46
|
+
preferred_height,
|
|
47
|
+
minimum_width,
|
|
48
|
+
minimum_height,
|
|
49
|
+
margin,
|
|
50
|
+
)
|
|
51
|
+
if any(isinstance(value, bool) or not isinstance(value, int) for value in values):
|
|
52
|
+
raise TypeError("window geometry dimensions must be integers")
|
|
53
|
+
if available_width < 1 or available_height < 1:
|
|
54
|
+
raise ValueError("available screen dimensions must be positive")
|
|
55
|
+
if preferred_width < 1 or preferred_height < 1:
|
|
56
|
+
raise ValueError("preferred window dimensions must be positive")
|
|
57
|
+
if minimum_width < 1 or minimum_height < 1:
|
|
58
|
+
raise ValueError("minimum window dimensions must be positive")
|
|
59
|
+
if margin < 0:
|
|
60
|
+
raise ValueError("screen margin cannot be negative")
|
|
61
|
+
|
|
62
|
+
# On exceptionally small logical desktops, retaining a margin is less
|
|
63
|
+
# important than keeping the complete window reachable.
|
|
64
|
+
horizontal_margin = min(margin, max(0, (available_width - 1) // 2))
|
|
65
|
+
vertical_margin = min(margin, max(0, (available_height - 1) // 2))
|
|
66
|
+
usable_width = max(1, available_width - (2 * horizontal_margin))
|
|
67
|
+
usable_height = max(1, available_height - (2 * vertical_margin))
|
|
68
|
+
width = min(preferred_width, usable_width)
|
|
69
|
+
height = min(preferred_height, usable_height)
|
|
70
|
+
return WindowGeometryPlan(
|
|
71
|
+
width=width,
|
|
72
|
+
height=height,
|
|
73
|
+
minimum_width=min(minimum_width, width),
|
|
74
|
+
minimum_height=min(minimum_height, height),
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def fit_window_to_available_screen(
|
|
79
|
+
widget: QWidget,
|
|
80
|
+
*,
|
|
81
|
+
preferred: tuple[int, int],
|
|
82
|
+
minimum: tuple[int, int],
|
|
83
|
+
reset_size: bool = True,
|
|
84
|
+
margin: int = DEFAULT_SCREEN_MARGIN,
|
|
85
|
+
) -> WindowGeometryPlan:
|
|
86
|
+
"""Size and place *widget* wholly inside its current monitor work area.
|
|
87
|
+
|
|
88
|
+
``reset_size`` applies the preferred size for a new window. When false,
|
|
89
|
+
a restored size and position are retained where possible, then bounded and
|
|
90
|
+
moved just enough to remain reachable.
|
|
91
|
+
"""
|
|
92
|
+
|
|
93
|
+
if not isinstance(widget, QWidget):
|
|
94
|
+
raise TypeError("widget must be a QWidget")
|
|
95
|
+
screen = _screen_for_widget(widget)
|
|
96
|
+
available = screen.availableGeometry()
|
|
97
|
+
plan = plan_window_geometry(
|
|
98
|
+
available.width(),
|
|
99
|
+
available.height(),
|
|
100
|
+
preferred_width=int(preferred[0]),
|
|
101
|
+
preferred_height=int(preferred[1]),
|
|
102
|
+
minimum_width=int(minimum[0]),
|
|
103
|
+
minimum_height=int(minimum[1]),
|
|
104
|
+
margin=margin,
|
|
105
|
+
)
|
|
106
|
+
widget.setMinimumSize(plan.minimum_width, plan.minimum_height)
|
|
107
|
+
if widget.isMaximized() or widget.isFullScreen():
|
|
108
|
+
return plan
|
|
109
|
+
|
|
110
|
+
horizontal_margin = min(margin, max(0, (available.width() - 1) // 2))
|
|
111
|
+
vertical_margin = min(margin, max(0, (available.height() - 1) // 2))
|
|
112
|
+
usable_left = available.left() + horizontal_margin
|
|
113
|
+
usable_top = available.top() + vertical_margin
|
|
114
|
+
usable_right = available.right() - horizontal_margin
|
|
115
|
+
usable_bottom = available.bottom() - vertical_margin
|
|
116
|
+
|
|
117
|
+
if reset_size:
|
|
118
|
+
width, height = plan.width, plan.height
|
|
119
|
+
# Center inside the full work area, not merely at the margin origin.
|
|
120
|
+
x = available.left() + max(0, (available.width() - width) // 2)
|
|
121
|
+
y = available.top() + max(0, (available.height() - height) // 2)
|
|
122
|
+
else:
|
|
123
|
+
width = min(max(1, widget.width()), plan.width)
|
|
124
|
+
height = min(max(1, widget.height()), plan.height)
|
|
125
|
+
x = widget.x()
|
|
126
|
+
y = widget.y()
|
|
127
|
+
|
|
128
|
+
maximum_x = max(usable_left, usable_right - width + 1)
|
|
129
|
+
maximum_y = max(usable_top, usable_bottom - height + 1)
|
|
130
|
+
x = min(maximum_x, max(usable_left, x))
|
|
131
|
+
y = min(maximum_y, max(usable_top, y))
|
|
132
|
+
widget.resize(width, height)
|
|
133
|
+
widget.move(x, y)
|
|
134
|
+
return plan
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
def _screen_for_widget(widget: QWidget):
|
|
138
|
+
handle = widget.windowHandle()
|
|
139
|
+
if handle is not None and handle.screen() is not None:
|
|
140
|
+
return handle.screen()
|
|
141
|
+
parent = widget.parentWidget()
|
|
142
|
+
if parent is not None:
|
|
143
|
+
parent_handle = parent.window().windowHandle()
|
|
144
|
+
if parent_handle is not None and parent_handle.screen() is not None:
|
|
145
|
+
return parent_handle.screen()
|
|
146
|
+
parent_center = parent.window().frameGeometry().center()
|
|
147
|
+
screen = QApplication.screenAt(parent_center)
|
|
148
|
+
if screen is not None:
|
|
149
|
+
return screen
|
|
150
|
+
center = widget.frameGeometry().center()
|
|
151
|
+
if center != QPoint():
|
|
152
|
+
screen = QApplication.screenAt(center)
|
|
153
|
+
if screen is not None:
|
|
154
|
+
return screen
|
|
155
|
+
screen = QApplication.primaryScreen()
|
|
156
|
+
if screen is None:
|
|
157
|
+
raise RuntimeError("Qt did not provide an available screen")
|
|
158
|
+
return screen
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
__all__ = [
|
|
162
|
+
"DEFAULT_SCREEN_MARGIN",
|
|
163
|
+
"WindowGeometryPlan",
|
|
164
|
+
"fit_window_to_available_screen",
|
|
165
|
+
"plan_window_geometry",
|
|
166
|
+
]
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
"""Title presentation and window buttons, independent of move/resize control."""
|
|
2
|
+
from __future__ import annotations
|
|
3
|
+
|
|
4
|
+
from collections.abc import Callable
|
|
5
|
+
from typing import TYPE_CHECKING
|
|
6
|
+
|
|
7
|
+
from PySide6.QtCore import QRect, QRectF, Qt, QTimer
|
|
8
|
+
from PySide6.QtGui import QColor, QCursor, QPainter, QPen
|
|
9
|
+
from PySide6.QtWidgets import QHBoxLayout, QLabel, QSizePolicy, QToolButton, QWidget
|
|
10
|
+
|
|
11
|
+
from .qt_branding import BrandElidedLabel
|
|
12
|
+
from .visual_tokens import PYCFORGE_COLORS
|
|
13
|
+
|
|
14
|
+
if TYPE_CHECKING:
|
|
15
|
+
from .qt_window_chrome import FramelessWindowChrome
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class _WindowControlButton(QToolButton):
|
|
19
|
+
"""Paint one palette-aware vector window symbol without platform icons."""
|
|
20
|
+
|
|
21
|
+
def __init__(
|
|
22
|
+
self,
|
|
23
|
+
kind: str,
|
|
24
|
+
accessible_name: str,
|
|
25
|
+
tooltip: str,
|
|
26
|
+
callback: Callable[[], None],
|
|
27
|
+
parent: QWidget,
|
|
28
|
+
) -> None:
|
|
29
|
+
super().__init__(parent)
|
|
30
|
+
self._kind = kind
|
|
31
|
+
self.setObjectName(
|
|
32
|
+
{
|
|
33
|
+
"minimize": "WindowMinimizeButton",
|
|
34
|
+
"maximize": "WindowMaximizeButton",
|
|
35
|
+
"restore": "WindowMaximizeButton",
|
|
36
|
+
"close": "WindowCloseButton",
|
|
37
|
+
}[kind]
|
|
38
|
+
)
|
|
39
|
+
self.setProperty("windowControl", True)
|
|
40
|
+
self.setProperty("windowControlKind", kind)
|
|
41
|
+
self.setProperty("windowControlKeyboardFocus", False)
|
|
42
|
+
self.setAccessibleName(accessible_name)
|
|
43
|
+
self.setAccessibleDescription(tooltip)
|
|
44
|
+
self.setToolTip(tooltip)
|
|
45
|
+
self.setFixedSize(38, 32)
|
|
46
|
+
# Mouse clicks keep focus in the editor; Tab still reaches the window
|
|
47
|
+
# controls and retains their visible keyboard-focus indication.
|
|
48
|
+
self.setFocusPolicy(Qt.FocusPolicy.TabFocus)
|
|
49
|
+
self._callback = callback
|
|
50
|
+
self.clicked.connect(self._activate)
|
|
51
|
+
|
|
52
|
+
def _set_keyboard_focus(self, visible: bool) -> None:
|
|
53
|
+
if self.property("windowControlKeyboardFocus") == visible:
|
|
54
|
+
return
|
|
55
|
+
self.setProperty("windowControlKeyboardFocus", visible)
|
|
56
|
+
self.style().unpolish(self)
|
|
57
|
+
self.style().polish(self)
|
|
58
|
+
self.update()
|
|
59
|
+
|
|
60
|
+
def focusInEvent(self, event) -> None: # noqa: N802 - Qt API
|
|
61
|
+
self._set_keyboard_focus(event.reason() in {
|
|
62
|
+
Qt.FocusReason.TabFocusReason,
|
|
63
|
+
Qt.FocusReason.BacktabFocusReason,
|
|
64
|
+
Qt.FocusReason.ShortcutFocusReason,
|
|
65
|
+
})
|
|
66
|
+
super().focusInEvent(event)
|
|
67
|
+
|
|
68
|
+
def focusOutEvent(self, event) -> None: # noqa: N802 - Qt API
|
|
69
|
+
self._set_keyboard_focus(False)
|
|
70
|
+
super().focusOutEvent(event)
|
|
71
|
+
|
|
72
|
+
def mousePressEvent(self, event) -> None: # noqa: N802 - Qt API
|
|
73
|
+
self._set_keyboard_focus(False)
|
|
74
|
+
super().mousePressEvent(event)
|
|
75
|
+
|
|
76
|
+
def keyPressEvent(self, event) -> None: # noqa: N802 - Qt API
|
|
77
|
+
self._set_keyboard_focus(True)
|
|
78
|
+
super().keyPressEvent(event)
|
|
79
|
+
|
|
80
|
+
def clear_pointer_state(self) -> None:
|
|
81
|
+
self.setDown(False)
|
|
82
|
+
self.setAttribute(Qt.WidgetAttribute.WA_UnderMouse, False)
|
|
83
|
+
self.update()
|
|
84
|
+
|
|
85
|
+
def leaveEvent(self, event) -> None: # noqa: N802 - Qt API
|
|
86
|
+
self.clear_pointer_state()
|
|
87
|
+
super().leaveEvent(event)
|
|
88
|
+
|
|
89
|
+
def hideEvent(self, event) -> None: # noqa: N802 - Qt API
|
|
90
|
+
self.clear_pointer_state()
|
|
91
|
+
super().hideEvent(event)
|
|
92
|
+
|
|
93
|
+
def _activate(self, _checked: bool = False) -> None:
|
|
94
|
+
# A native minimize/restore transition can skip the usual leave event.
|
|
95
|
+
self.clear_pointer_state()
|
|
96
|
+
self._callback()
|
|
97
|
+
|
|
98
|
+
def set_kind(
|
|
99
|
+
self,
|
|
100
|
+
kind: str,
|
|
101
|
+
accessible_name: str,
|
|
102
|
+
tooltip: str,
|
|
103
|
+
) -> None:
|
|
104
|
+
"""Switch the maximize symbol to restore without replacing the button."""
|
|
105
|
+
|
|
106
|
+
if kind not in {"maximize", "restore"}:
|
|
107
|
+
raise ValueError("maximize control kind must be maximize or restore")
|
|
108
|
+
self._kind = kind
|
|
109
|
+
self.setProperty("windowControlKind", kind)
|
|
110
|
+
self.setAccessibleName(accessible_name)
|
|
111
|
+
self.setAccessibleDescription(tooltip)
|
|
112
|
+
self.setToolTip(tooltip)
|
|
113
|
+
self.update()
|
|
114
|
+
|
|
115
|
+
def paintEvent(self, event) -> None: # noqa: N802 - Qt API
|
|
116
|
+
# Native activation/movement can omit Leave. Do not let the Qt hover
|
|
117
|
+
# attribute paint a highlight at a position the pointer has left.
|
|
118
|
+
if self.underMouse() and not self.rect().contains(self.mapFromGlobal(QCursor.pos())):
|
|
119
|
+
self.setAttribute(Qt.WidgetAttribute.WA_UnderMouse, False)
|
|
120
|
+
super().paintEvent(event)
|
|
121
|
+
painter = QPainter(self)
|
|
122
|
+
painter.setRenderHint(QPainter.RenderHint.Antialiasing, True)
|
|
123
|
+
color = (
|
|
124
|
+
PYCFORGE_COLORS.error_bright
|
|
125
|
+
if self._kind == "close" and self.underMouse()
|
|
126
|
+
else PYCFORGE_COLORS.text_soft
|
|
127
|
+
)
|
|
128
|
+
pen = QPen(QColor(color))
|
|
129
|
+
pen.setWidthF(1.65)
|
|
130
|
+
pen.setCapStyle(Qt.PenCapStyle.RoundCap)
|
|
131
|
+
pen.setJoinStyle(Qt.PenJoinStyle.RoundJoin)
|
|
132
|
+
painter.setPen(pen)
|
|
133
|
+
painter.setBrush(Qt.BrushStyle.NoBrush)
|
|
134
|
+
|
|
135
|
+
center_x = self.rect().center().x()
|
|
136
|
+
center_y = self.rect().center().y()
|
|
137
|
+
if self._kind == "minimize":
|
|
138
|
+
painter.drawLine(center_x - 6, center_y + 4, center_x + 6, center_y + 4)
|
|
139
|
+
elif self._kind == "maximize":
|
|
140
|
+
painter.drawRoundedRect(QRectF(center_x - 5.5, center_y - 5.5, 11.0, 11.0), 1.5, 1.5)
|
|
141
|
+
elif self._kind == "restore":
|
|
142
|
+
painter.drawRect(QRectF(center_x - 6.0, center_y - 3.0, 9.0, 8.0))
|
|
143
|
+
painter.drawLine(center_x - 3, center_y - 5, center_x + 6, center_y - 5)
|
|
144
|
+
painter.drawLine(center_x + 6, center_y - 5, center_x + 6, center_y + 3)
|
|
145
|
+
painter.drawLine(center_x + 3, center_y + 3, center_x + 6, center_y + 3)
|
|
146
|
+
else:
|
|
147
|
+
painter.drawLine(center_x - 5, center_y - 5, center_x + 5, center_y + 5)
|
|
148
|
+
painter.drawLine(center_x + 5, center_y - 5, center_x - 5, center_y + 5)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
class _TitleControls(QWidget):
|
|
152
|
+
"""Right-hand title identity and standard window controls."""
|
|
153
|
+
|
|
154
|
+
def __init__(self, controller: "FramelessWindowChrome") -> None:
|
|
155
|
+
super().__init__(controller.window)
|
|
156
|
+
self.controller = controller
|
|
157
|
+
self.setObjectName("FramelessTitleControls")
|
|
158
|
+
self.setAccessibleName("Window title and controls")
|
|
159
|
+
self.setSizePolicy(
|
|
160
|
+
QSizePolicy.Policy.Preferred,
|
|
161
|
+
QSizePolicy.Policy.Fixed,
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
layout = QHBoxLayout(self)
|
|
165
|
+
layout.setContentsMargins(8, 0, 0, 0)
|
|
166
|
+
layout.setSpacing(0)
|
|
167
|
+
|
|
168
|
+
self.brand = QLabel()
|
|
169
|
+
self.brand.setObjectName("FramelessWindowBrand")
|
|
170
|
+
self.brand.setPixmap(controller.window.windowIcon().pixmap(18, 18))
|
|
171
|
+
self.brand.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
|
172
|
+
self.brand.setFixedSize(28, 32)
|
|
173
|
+
self.brand.setAttribute(
|
|
174
|
+
Qt.WidgetAttribute.WA_TransparentForMouseEvents,
|
|
175
|
+
True,
|
|
176
|
+
)
|
|
177
|
+
layout.addWidget(self.brand)
|
|
178
|
+
|
|
179
|
+
self.title = BrandElidedLabel(
|
|
180
|
+
controller.window.windowTitle(),
|
|
181
|
+
mode=Qt.TextElideMode.ElideMiddle,
|
|
182
|
+
)
|
|
183
|
+
self.title.setObjectName("FramelessWindowTitle")
|
|
184
|
+
self.title.setSizePolicy(
|
|
185
|
+
QSizePolicy.Policy.Fixed,
|
|
186
|
+
QSizePolicy.Policy.Preferred,
|
|
187
|
+
)
|
|
188
|
+
self.title.setAccessibleName("PyCForge window title")
|
|
189
|
+
self.title.setAttribute(
|
|
190
|
+
Qt.WidgetAttribute.WA_TransparentForMouseEvents,
|
|
191
|
+
True,
|
|
192
|
+
)
|
|
193
|
+
self._reserved_title_identity = ""
|
|
194
|
+
self._preferred_title_width = 0
|
|
195
|
+
layout.addWidget(self.title)
|
|
196
|
+
|
|
197
|
+
self.minimize_button = _WindowControlButton(
|
|
198
|
+
"minimize",
|
|
199
|
+
"Minimize window",
|
|
200
|
+
"Minimize PyCForge",
|
|
201
|
+
controller.window.showMinimized,
|
|
202
|
+
self,
|
|
203
|
+
)
|
|
204
|
+
self.maximize_button = _WindowControlButton(
|
|
205
|
+
"maximize",
|
|
206
|
+
"Maximize window",
|
|
207
|
+
"Maximize PyCForge",
|
|
208
|
+
controller.toggle_maximized,
|
|
209
|
+
self,
|
|
210
|
+
)
|
|
211
|
+
self.close_button = _WindowControlButton(
|
|
212
|
+
"close",
|
|
213
|
+
"Close window",
|
|
214
|
+
"Close PyCForge",
|
|
215
|
+
controller.window.close,
|
|
216
|
+
self,
|
|
217
|
+
)
|
|
218
|
+
layout.addWidget(self.minimize_button)
|
|
219
|
+
layout.addWidget(self.maximize_button)
|
|
220
|
+
layout.addWidget(self.close_button)
|
|
221
|
+
self._width_sync_timer = QTimer(self)
|
|
222
|
+
self._width_sync_timer.setSingleShot(True)
|
|
223
|
+
self._width_sync_timer.timeout.connect(self.sync_available_width)
|
|
224
|
+
self._reserve_title_width(self.title.text())
|
|
225
|
+
|
|
226
|
+
def sync_title(self) -> None:
|
|
227
|
+
text = self.controller.window.windowTitle()
|
|
228
|
+
self._reserve_title_width(text)
|
|
229
|
+
if self.title.text() != text:
|
|
230
|
+
self.title.set_full_text(text)
|
|
231
|
+
self.title.setToolTip(text)
|
|
232
|
+
self.title.setAccessibleDescription(text)
|
|
233
|
+
|
|
234
|
+
def sync_text_size(self) -> None:
|
|
235
|
+
"""Keep the icon-only title controls clear beside larger UI text."""
|
|
236
|
+
|
|
237
|
+
height = max(32, self.fontMetrics().height() + 10)
|
|
238
|
+
width = max(38, height + 6)
|
|
239
|
+
for button in (
|
|
240
|
+
self.minimize_button,
|
|
241
|
+
self.maximize_button,
|
|
242
|
+
self.close_button,
|
|
243
|
+
):
|
|
244
|
+
button.setFixedSize(width, height)
|
|
245
|
+
self.brand.setFixedSize(28, height)
|
|
246
|
+
self._reserved_title_identity = ""
|
|
247
|
+
self.sync_title()
|
|
248
|
+
self.updateGeometry()
|
|
249
|
+
|
|
250
|
+
def _reserve_title_width(self, text: str) -> None:
|
|
251
|
+
"""Reserve clean/dirty width once per document-title identity."""
|
|
252
|
+
|
|
253
|
+
clean = text.replace(" • — ", " — ", 1)
|
|
254
|
+
if clean == self._reserved_title_identity:
|
|
255
|
+
return
|
|
256
|
+
self._reserved_title_identity = clean
|
|
257
|
+
prefix, separator, suffix = clean.partition(" — ")
|
|
258
|
+
dirty = (
|
|
259
|
+
f"{prefix} • — {suffix}"
|
|
260
|
+
if separator else f"{clean} •"
|
|
261
|
+
)
|
|
262
|
+
metrics = self.title.fontMetrics()
|
|
263
|
+
reserved = max(
|
|
264
|
+
metrics.horizontalAdvance(clean),
|
|
265
|
+
metrics.horizontalAdvance(dirty),
|
|
266
|
+
)
|
|
267
|
+
self._preferred_title_width = min(230, max(96, reserved + 18))
|
|
268
|
+
self.sync_available_width()
|
|
269
|
+
|
|
270
|
+
def sync_available_width(self) -> None:
|
|
271
|
+
"""Elide title identity before it can enter menu or control geometry."""
|
|
272
|
+
|
|
273
|
+
menu = self.controller.menu_bar
|
|
274
|
+
action_right = max(
|
|
275
|
+
(menu.actionGeometry(action).right() for action in menu.actions()),
|
|
276
|
+
default=0,
|
|
277
|
+
)
|
|
278
|
+
button_width = sum(
|
|
279
|
+
button.width()
|
|
280
|
+
for button in (
|
|
281
|
+
self.minimize_button,
|
|
282
|
+
self.maximize_button,
|
|
283
|
+
self.close_button,
|
|
284
|
+
)
|
|
285
|
+
)
|
|
286
|
+
menu_right = max(0, menu.contentsRect().right())
|
|
287
|
+
# The Tools/diagnostics slot can leave too little room for even a
|
|
288
|
+
# zero-width title. Give the standard controls priority over the
|
|
289
|
+
# decorative brand and its margin; restore both when space returns.
|
|
290
|
+
show_brand = menu_right + 1 >= action_right + button_width + self.brand.width() + 8 + 12
|
|
291
|
+
self.brand.setVisible(show_brand)
|
|
292
|
+
self.layout().setContentsMargins(8 if show_brand else 0, 0, 0, 0)
|
|
293
|
+
fixed = button_width + (self.brand.width() + 8 if show_brand else 0)
|
|
294
|
+
available = max(0, menu_right + 1 - action_right - fixed - 12)
|
|
295
|
+
title_width = min(self._preferred_title_width, available)
|
|
296
|
+
self.title.setFixedWidth(title_width)
|
|
297
|
+
height = max(button.height() for button in (
|
|
298
|
+
self.minimize_button,
|
|
299
|
+
self.maximize_button,
|
|
300
|
+
self.close_button,
|
|
301
|
+
))
|
|
302
|
+
width = fixed + title_width
|
|
303
|
+
self.setFixedSize(width, height)
|
|
304
|
+
self.layout().activate()
|
|
305
|
+
# QMenuBar can retain the corner widget's earlier x-coordinate after
|
|
306
|
+
# its fixed width changes. Place the final geometry explicitly so the
|
|
307
|
+
# action row and standard controls remain disjoint on narrow screens.
|
|
308
|
+
left = max(action_right + 12, menu_right - width + 1)
|
|
309
|
+
top = max(0, (menu.height() - height) // 2)
|
|
310
|
+
target = QRect(left, top, width, height)
|
|
311
|
+
if self.geometry() != target:
|
|
312
|
+
self.setGeometry(target)
|
|
313
|
+
|
|
314
|
+
def schedule_available_width_sync(self) -> None:
|
|
315
|
+
"""Repeat title placement after Qt completes the menu-bar layout."""
|
|
316
|
+
|
|
317
|
+
self._width_sync_timer.start(0)
|
|
318
|
+
|
|
319
|
+
def sync_window_state(self) -> None:
|
|
320
|
+
if self.controller.window.isMaximized():
|
|
321
|
+
self.maximize_button.set_kind(
|
|
322
|
+
"restore",
|
|
323
|
+
"Restore window",
|
|
324
|
+
"Restore PyCForge",
|
|
325
|
+
)
|
|
326
|
+
else:
|
|
327
|
+
self.maximize_button.set_kind(
|
|
328
|
+
"maximize",
|
|
329
|
+
"Maximize window",
|
|
330
|
+
"Maximize PyCForge",
|
|
331
|
+
)
|
|
332
|
+
|
|
333
|
+
|