visualdynamics.gui.drawer_tab¶
drawer_tab
¶
The handle a collapsible drawer wears on its edge.
Drawn to the design Brandon had made in Claude Design (2026-09-03,
icons/drawer-tab-shape.svg is the reference): a flat tab with
rounded shoulders and feet that flare out into the edge it sits on, the
word in the middle and a chevron either side of it pointing where a
click will move the edge. The reference is one fixed width, so the
shape is drawn here from its radii at whatever width the label needs,
and the colours come from the palette so light and dark both work.
Painted by hand rather than styled: a stylesheet gives a box, and the flared feet are what make it read as a handle on an edge rather than a button floating near one.
Classes:
| Name | Description |
|---|---|
DrawerTab |
A checkable handle for a drawer on the bottom edge: checked is |
Classes¶
DrawerTab
¶
Bases: QAbstractButton
A checkable handle for a drawer on the bottom edge: checked is open. The edge is fixed for now; a drawer on another edge would turn the shape and the text, and the glyph already knows how.
Methods:
| Name | Description |
|---|---|
outline |
The tab's edge at its current size, open along the base so |
Source code in src/visualdynamics/gui/drawer_tab.py
Methods:¶
outline
¶
The tab's edge at its current size, open along the base so no line is drawn across the edge it sits on.