gui#

Mesofield Qt GUI package.

Defines the desktop application widgets used by mesofield launch: the main window, acquisition view, dynamic device controls, config wizard, image preview, and serial / encoder plotters.

This top-level module exposes ConfigTableModel, a thin QAbstractTableModel that presents a ConfigRegister as a table of (key, value) rows so the GUI can edit experiment parameters live.

class mesofield.gui.ConfigTableModel[source]#

Bases: QAbstractTableModel

A table model that presents ConfigRegister as rows of (key, value).

__init__(registry)[source]#
rowCount(self, parent: QModelIndex = QModelIndex()) int[source]#
columnCount(self, parent: QModelIndex = QModelIndex()) int[source]#
data(self, index: QModelIndex, role: int = Qt.DisplayRole) Any[source]#
Parameters:

index (QModelIndex)

headerData(self, section: int, orientation: Qt.Orientation, role: int = Qt.DisplayRole) Any[source]#
Parameters:

section (int)

flags(self, index: QModelIndex) Qt.ItemFlag[source]#
Parameters:

index (QModelIndex)

setData(self, index: QModelIndex, value: Any, role: int = Qt.EditRole) bool[source]#
Parameters:
  • index (QModelIndex)

  • value (Any)

Submodules#