pynaviz.qt.tsdframe_selection#

Classes

DoubleSpinDelegate(min_, max_[, parent])

TsdFramesDialog(model[, parent])

Dialog showing a table of tsdframe with 4 columns: - Column 0: name + checkbox - Column 1: dropdown combo - Column 2: number entry - Column 3: number entry

TsdFramesModel(tsdframes)

A model to handle the dict of tsdframes with checkboxes.

class pynaviz.qt.tsdframe_selection.DoubleSpinDelegate(min_, max_, parent=None)[source]#

Bases: QStyledItemDelegate

createEditor(parent, option, index)[source]#
setEditorData(editor, index)[source]#
setModelData(editor, model, index)[source]#
staticMetaObject = PySide6.QtCore.QMetaObject("DoubleSpinDelegate" inherits "QStyledItemDelegate": )#
class pynaviz.qt.tsdframe_selection.TsdFramesDialog(model, parent=None)[source]#

Bases: QDialog

Dialog showing a table of tsdframe with 4 columns: - Column 0: name + checkbox - Column 1: dropdown combo - Column 2: number entry - Column 3: number entry

Parameters:
staticMetaObject = PySide6.QtCore.QMetaObject("TsdFramesDialog" inherits "QDialog": )#
class pynaviz.qt.tsdframe_selection.TsdFramesModel(tsdframes)[source]#

Bases: QAbstractTableModel

A model to handle the dict of tsdframes with checkboxes.

Parameters:

tsdframes (dict)

checkStateChanged#
columnCount(parent=None)[source]#
data(index, role=None)[source]#

What to display in the table view.

flags(index)[source]#
headerData(section, orientation, role)[source]#
rowCount(parent=None)[source]#
setData(index, value, role=None)[source]#

Write data to the model.

Parameters:
  • index (QModelIndex) – The index of the item to modify.

  • value (Any) – The new value to set.

  • role (Qt.ItemDataRole) – The role of the data to set.

staticMetaObject = PySide6.QtCore.QMetaObject("TsdFramesModel" inherits "QAbstractTableModel": Methods:   #76 type=Signal, signature=checkStateChanged(QString,QString,double,double,bool), parameters=QString, QString, double, double, bool )#