def __init__(self, header_labels, entry_count):
     QtWidgets.QTableWidget.__init__(self, entry_count, len(header_labels) + 1)
     TableFitMixin.__init__(self, size_hint_only=True, scrollbar_extra_space=(-1, 2))
     self._header_labels = header_labels
     self._row_index_to_entry_index = range(entry_count)
     self._entry_index_to_row_index = range(entry_count)
     self._indices_to_remove = set()
     TableWithRemoveableEntries._init_ui(self)   # Emulate static binding
 def __init__(self, header_labels, entry_count):
     QtWidgets.QTableWidget.__init__(self, entry_count,
                                     len(header_labels) + 1)
     TableFitMixin.__init__(self,
                            size_hint_only=True,
                            scrollbar_extra_space=(-1, 2))
     self._header_labels = header_labels
     self._row_index_to_entry_index = range(entry_count)
     self._entry_index_to_row_index = range(entry_count)
     self._indices_to_remove = set()
     TableWithRemoveableEntries._init_ui(self)  # Emulate static binding
 def __init__(self, radii):
     QtWidgets.QTableWidget.__init__(self, 1, len(radii))
     TableFitMixin.__init__(self, scrollbar_extra_space=(0, 0))
     self._radii = collections.OrderedDict(sorted(radii.items()))    # Sorted by element name
     self._init_ui()
 def __init__(self, radii):
     QtWidgets.QTableWidget.__init__(self, 1, len(radii))
     TableFitMixin.__init__(self, scrollbar_extra_space=(0, 0))
     self._radii = collections.OrderedDict(sorted(
         radii.items()))  # Sorted by element name
     self._init_ui()