Files
BondGraph/BEdit/.vscode/tasks.json
2026-07-21 14:40:03 +02:00

143 lines
4.9 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Qt: Open Designer",
"type": "shell",
"command": "pyside6-designer",
"args": [
],
"options": {
"cwd": "${workspaceFolder}",
"env": {
"QT_QPA_PLATFORMTHEME" :"qt6ct",
"QT_QPA_PLATFORM": "xcb"
}
},
"problemMatcher": [],
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Qt: Compile Resources to Python",
"type": "shell",
"command": "pyside6-rcc",
"args": [
"${workspaceFolder}/resources/resources.qrc",
"-o",
"${workspaceFolder}/src/bedit/gui/generated/resources_rc.py"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [],
"presentation": {
"reveal": "silent",
"panel": "shared",
"clear": true
}
},
{
"label": "Qt: Compile UI to Python",
"type": "shell",
"command": "pyside6-uic",
"args": [
"--from-imports",
"${workspaceFolder}/ui/main_window.ui",
"-o",
"${workspaceFolder}/src/bedit/gui/generated/ui_main_window.py"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [],
"presentation": {
"reveal": "silent",
"panel": "shared"
}
},
{
"label": "Qt: Compile Settings UI to Python",
"type": "shell",
"command": "pyside6-uic",
"args": [
"--from-imports",
"${workspaceFolder}/ui/settings_dialog.ui",
"-o",
"${workspaceFolder}/src/bedit/gui/generated/ui_settings_dialog.py"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [],
"presentation": {
"reveal": "silent",
"panel": "shared"
}
},
{
"label": "Qt: Compile Component Options UI to Python",
"type": "shell",
"command": "pyside6-uic",
"args": [
"--from-imports",
"${workspaceFolder}/ui/component_options_dialog.ui",
"-o",
"${workspaceFolder}/src/bedit/gui/generated/ui_component_options_dialog.py"
],
"options": {"cwd": "${workspaceFolder}"},
"problemMatcher": [],
"presentation": {"reveal": "silent", "panel": "shared"}
},
{
"label": "Qt: Compile Port Options UI to Python",
"type": "shell",
"command": "pyside6-uic",
"args": ["--from-imports", "${workspaceFolder}/ui/port_options_dialog.ui", "-o", "${workspaceFolder}/src/bedit/gui/generated/ui_port_options_dialog.py"],
"options": {"cwd": "${workspaceFolder}"},
"problemMatcher": []
},
{
"label": "Qt: Compile Shape Options UI to Python",
"type": "shell",
"command": "pyside6-uic",
"args": ["--from-imports", "${workspaceFolder}/ui/shape_options_dialog.ui", "-o", "${workspaceFolder}/src/bedit/gui/generated/ui_shape_options_dialog.py"],
"options": {"cwd": "${workspaceFolder}"},
"problemMatcher": []
},
{
"label": "Qt: Compile Icon Editor UI to Python",
"type": "shell",
"command": "pyside6-uic",
"args": ["--from-imports", "${workspaceFolder}/ui/icon_editor_dialog.ui", "-o", "${workspaceFolder}/src/bedit/gui/generated/ui_icon_editor_dialog.py"],
"options": {"cwd": "${workspaceFolder}"},
"problemMatcher": []
},
{
"label": "Qt: Build Designer Files",
"dependsOrder": "sequence",
"dependsOn": [
"Qt: Compile Resources to Python",
"Qt: Compile UI to Python",
"Qt: Compile Settings UI to Python",
"Qt: Compile Component Options UI to Python",
"Qt: Compile Port Options UI to Python",
"Qt: Compile Shape Options UI to Python",
"Qt: Compile Icon Editor UI to Python"
],
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "silent",
"panel": "shared",
"clear": true
}
}
]
}