more ui files instead of python generated ui
This commit is contained in:
@@ -98,13 +98,23 @@ pyside6-uic --from-imports ui/settings_dialog.ui \
|
||||
|
||||
pyside6-uic --from-imports ui/component_options_dialog.ui \
|
||||
-o src/bedit/gui/generated/ui_component_options_dialog.py
|
||||
|
||||
pyside6-uic --from-imports ui/port_options_dialog.ui \
|
||||
-o src/bedit/gui/generated/ui_port_options_dialog.py
|
||||
|
||||
pyside6-uic --from-imports ui/shape_options_dialog.ui \
|
||||
-o src/bedit/gui/generated/ui_shape_options_dialog.py
|
||||
|
||||
pyside6-uic --from-imports ui/icon_editor_dialog.ui \
|
||||
-o src/bedit/gui/generated/ui_icon_editor_dialog.py
|
||||
```
|
||||
|
||||
When adding a promoted/custom widget in Designer, its header must use the real
|
||||
Python module path, for example `bedit.gui.graphics.workspace`.
|
||||
|
||||
Some dialogs are currently assembled programmatically. Keep that code inside
|
||||
`gui/dialogs`; do not put widget creation in `core`.
|
||||
Substantial windows and dialogs must have a Designer `.ui` source. Python classes
|
||||
bind behavior and data but must not reconstruct or replace those layouts at
|
||||
runtime. A tiny generic prompt with one field and OK/Cancel may remain code-only.
|
||||
|
||||
## Editing conventions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user