Skip to content

fontlabapp.fontui.table

table

GlyphTable: the shared sortable, filterable glyph list of the studio apps.

What: an owned QTableView over a QStandardItemModel through a QSortFilterProxyModel. Click a header to sort (numbers sort as numbers); drag a header edge to resize a column; type in the filter box to keep only rows that contain the text in any column. Selecting a row emits row_selected(glyph_name, layer); the shell connects it to its preview.

How: GlyphTable(columns) then set_rows([GlyphRow(name, layer, values)]). layer_column=True shows the layer as the second column (so columns must name it); by default the layer stays hidden and values fill the other columns. row_selected is a plain callback hub with connect/disconnect, so an Owned owner can connect it with owner.connect and closing releases it.

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
FILTER_PLACEHOLDER attribute