schrodinger.maestro_utils.surface_manager.info_table_widget_items module

class schrodinger.maestro_utils.surface_manager.info_table_widget_items.InfoTableWidgetItem(value: str)

Bases: QTableWidgetItem

Base QTableWidgetItem for InfoTab cells with shared configuration.

__init__(value: str)

Initialize the InfoTableWidgetItem with the given value.

Parameters:

value – The text to display in the cell.

class schrodinger.maestro_utils.surface_manager.info_table_widget_items.CommentTableWidgetItem(value: str, info: SurfaceInfo)

Bases: InfoTableWidgetItem

Item class for the Comment column.

__init__(value: str, info: SurfaceInfo)

Initialize the CommentTableWidgetItem with the given value and SurfaceInfo. Sets the item to be editable and stores the SurfaceInfo in the UserRole data.

Parameters:
  • value – The text to display in the cell.

  • info – The SurfaceInfo object associated with this cell, stored in the UserRole data for later retrieval when the comment is edited.

class schrodinger.maestro_utils.surface_manager.info_table_widget_items.LimitTableWidgetItem(value: str, info: SurfaceInfo)

Bases: InfoTableWidgetItem

Item class for the Lim column in both limited states.

__init__(value: str, info: SurfaceInfo)

Initialize the LimitTableWidgetItem with the given value and SurfaceInfo. Sets the tooltip based on whether the surface is limited by an ASL or not.

Parameters:
  • value – The text to display in the cell.

  • info – The SurfaceInfo object associated with this cell, used to determine the tooltip content.

class schrodinger.maestro_utils.surface_manager.info_table_widget_items.NumericTableWidgetItem(value: str)

Bases: InfoTableWidgetItem

QTableWidgetItem that sorts by numeric value rather than string.

schrodinger.maestro_utils.surface_manager.info_table_widget_items.create_info_table_widget_item(column_name: str, value: str, info: SurfaceInfo) InfoTableWidgetItem

Factory function to create an InfoTab table item for a given column.