brain_deer.presentation.qt.perfect_layout¶
REVOLUTIONARY Perfect Layout System for BrainDeer 🧠🦌
A bulletproof, pixel-perfect layout manager that NEVER fails. Zero dependencies on Qt layouts - 100% manual geometry control.
@author: BrainDeer Team
Classes¶
Revolutionary layout container with perfect pixel control. |
Functions¶
|
Integrate perfect layout into existing ViewerPanel. |
Module Contents¶
- class brain_deer.presentation.qt.perfect_layout.PerfectLayoutContainer(parent=None)¶
Bases:
PyQt5.QtWidgets.QWidgetRevolutionary layout container with perfect pixel control.
Features: - Zero layout manager interference - Smooth animations - Guaranteed perfect spacing - Works at ANY window size - Panel-aware
- set_toolbar(toolbar)¶
Set the toolbar widget.
- resizeEvent(event)¶
Handle resize with anti-jitter and debouncing for smooth performance.
- brain_deer.presentation.qt.perfect_layout.integrate_perfect_layout(viewer_panel)¶
Integrate perfect layout into existing ViewerPanel.
This replaces the standard Qt layout with our revolutionary system.