Skip to content

fontlab_glyport.ui.cocoa_table

cocoa_table

Qt-backed NSTableView (R031): a QTableWidget fed by a data source.

  • Cell-based: tableView_objectValueForTableColumn_row_ gives each cell's text; an edit in an editable column calls tableView_setObjectValue_forTableColumn_row_.
  • View-based: the delegate's tableView_viewForTableColumn_row_ returns an NSView (usually makeViewWithIdentifier_owner_, which instantiates the NIB's prototype cell view graph); its objectValue is the data source's value. Cell views are torn down (slots disconnected, bindings removed) before reloadData lets Qt delete their widgets.
  • Selection: rows only; tableViewSelectionDidChange_ reaches the delegate, a click sends the action, a double click the doubleAction.

Qt properties (rowCount, currentRow) are attributes in PythonQt.

Classes

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
TABLE_CLASSES attribute