brain_deer.presentation.qt.sims_mode

The Sims–inspired interaction mode: edge glow + radial action pie.

Hover keeps the object looking itself and only lights a soft white rim. Click opens a hierarchical pie near the centre of the 3D view (away from side panels). The pie can be dragged to relocate it.

Classes

SimsTarget

Something the user hovered / clicked in the 3D view.

SimsPieMenu

Compact radial menu — readable labels, draggable, cream glass + plumbob.

SimsModeController

Hover edge-glow + pie actions for files, planes, tracts, and the crosshair.

Module Contents

class brain_deer.presentation.qt.sims_mode.SimsTarget

Something the user hovered / clicked in the 3D view.

class brain_deer.presentation.qt.sims_mode.SimsPieMenu(parent: PyQt5.QtWidgets.QWidget | None = None)

Bases: PyQt5.QtWidgets.QWidget

Compact radial menu — readable labels, draggable, cream glass + plumbob.

popup_centered(anchor: PyQt5.QtWidgets.QWidget, title: str, actions: list[SimsAction], subtitle: str = '') → None

Place the pie near the centre of anchor (typically the 3D / 2D view).

class brain_deer.presentation.qt.sims_mode.SimsModeController(main_window)

Hover edge-glow + pie actions for files, planes, tracts, and the crosshair.

open_pie_for_2d(view_name: str, anchor: PyQt5.QtWidgets.QWidget | None = None) → bool

Open the Sims pie for a 2D slice view (short click).