chore: prune boilerplate and refresh stale docs
- Remove 257 redundant per-definition comment stubs across the package - Drop dead nonlocal declarations in autoslicer_detection.py - Document the swapped flag and swap_left_right in architecture docs - Remove unsupported 'legacy override' claims from autotune/runtime docs
This commit is contained in:
parent
929c828438
commit
426a18f342
24 changed files with 5 additions and 264 deletions
|
|
@ -13,9 +13,7 @@ from PySide6.QtWidgets import (
|
|||
from .ui_builders_shared import ScanSlicerUiSharedMixin, ScrollbarWheelOnlyScrollArea, icon_from_svg_data_url
|
||||
|
||||
|
||||
# ScanSlicerUiControlsMixin: class definition for ScanSlicer behavior.
|
||||
class ScanSlicerUiControlsMixin(ScanSlicerUiSharedMixin):
|
||||
# _add_directory_section: function definition for ScanSlicer behavior.
|
||||
def _add_directory_section(self, controls_layout, section_row):
|
||||
controls_layout.addWidget(self._build_section_title("Directory"), section_row, 0, 1, 2)
|
||||
section_row += 1
|
||||
|
|
@ -45,7 +43,6 @@ class ScanSlicerUiControlsMixin(ScanSlicerUiSharedMixin):
|
|||
controls_layout.addWidget(directory_group, section_row, 0, 1, 2)
|
||||
return section_row + 1
|
||||
|
||||
# _add_images_section: function definition for ScanSlicer behavior.
|
||||
def _add_images_section(self, controls_layout, section_row):
|
||||
controls_layout.addWidget(self._build_section_title("Images"), section_row, 0, 1, 2)
|
||||
section_row += 1
|
||||
|
|
@ -142,7 +139,6 @@ class ScanSlicerUiControlsMixin(ScanSlicerUiSharedMixin):
|
|||
controls_layout.addWidget(image_group, section_row, 0, 1, 2)
|
||||
return section_row + 1
|
||||
|
||||
# _add_presets_section: function definition for ScanSlicer behavior.
|
||||
def _add_presets_section(self, controls_layout, section_row):
|
||||
controls_layout.addWidget(self._build_section_title("Presets"), section_row, 0, 1, 2)
|
||||
section_row += 1
|
||||
|
|
@ -194,7 +190,6 @@ class ScanSlicerUiControlsMixin(ScanSlicerUiSharedMixin):
|
|||
controls_layout.addWidget(presets_group, section_row, 0, 1, 2)
|
||||
return section_row + 1
|
||||
|
||||
# _add_parameters_section: function definition for ScanSlicer behavior.
|
||||
def _add_parameters_section(self, controls_layout, section_row):
|
||||
controls_layout.addWidget(self._build_section_title("Parameters"), section_row, 0, 1, 2)
|
||||
section_row += 1
|
||||
|
|
@ -226,7 +221,6 @@ class ScanSlicerUiControlsMixin(ScanSlicerUiSharedMixin):
|
|||
controls_layout.addWidget(parameters_group, section_row, 0, 1, 2)
|
||||
return section_row + 1
|
||||
|
||||
# _build_controls_panel: function definition for ScanSlicer behavior.
|
||||
def _build_controls_panel(self, root):
|
||||
controls = QWidget()
|
||||
controls_layout = QGridLayout(controls)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue