Files
BondGraph/BEdit/.vscode/tasks.json
2026-07-19 19:19:15 +02:00

122 lines
3.6 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Qt: Open Main Window in Designer",
"type": "shell",
"command": "pyside6-designer",
"args": [
"${workspaceFolder}/ui/main_window.ui"
],
"options": {
"cwd": "${workspaceFolder}",
"env": {
"QT_QPA_PLATFORMTHEME" :"qt6ct",
"QT_QPA_PLATFORM": "xcb"
}
},
"problemMatcher": [],
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Qt: Open Settings Dialog in Designer",
"type": "shell",
"command": "pyside6-designer",
"args": [
"${workspaceFolder}/ui/settings_dialog.ui"
],
"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/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/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/ui_settings_dialog.py"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [],
"presentation": {
"reveal": "silent",
"panel": "shared"
}
},
{
"label": "Qt: Build Designer Files",
"dependsOrder": "sequence",
"dependsOn": [
"Qt: Compile Resources to Python",
"Qt: Compile UI to Python",
"Qt: Compile Settings UI to Python"
],
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "silent",
"panel": "shared",
"clear": true
}
}
]
}