more ui files instead of python generated ui
This commit is contained in:
53
BEdit/.vscode/tasks.json
vendored
53
BEdit/.vscode/tasks.json
vendored
@@ -2,11 +2,11 @@
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Qt: Open Main Window in Designer",
|
||||
"label": "Qt: Open Designer",
|
||||
"type": "shell",
|
||||
"command": "pyside6-designer",
|
||||
"args": [
|
||||
"${workspaceFolder}/ui/main_window.ui"
|
||||
"${workspaceFolder}/ui/*.ui"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}",
|
||||
@@ -21,26 +21,6 @@
|
||||
"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",
|
||||
@@ -112,6 +92,30 @@
|
||||
"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",
|
||||
@@ -119,7 +123,10 @@
|
||||
"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 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": {
|
||||
|
||||
Reference in New Issue
Block a user