Package schrodinger :: Package application :: Package msv :: Package gui :: Module viewmodel
[hide private]
[frames] | no frames]

Module viewmodel

Classes [hide private]
  SequenceAlignmentModel
A QTable model where each row corresponds to a sequence and each column corresponds to a residue position
  ProxyMixin
A mixin class that provides functionality common to all the proxies.
  SortProxyModel
A proxy for sorting sequences.
  NonNestedProxy
A base class for proxy models that don't contain any nesting (i.e.
  DragAndDropReorderingProxy
A proxy for reordering rows in response to drag and drop actions.
  PostReorderingProxyMixin
A mixin for all proxies that are used after the DragAndDropReorderingProxy.
  AnnotationProxyModel
A proxy model that creates additional rows for annotations and adds a spacer row in between sequences
  AnnotationFilterProxyModel
A proxy model that allows only specified annotations.
  PostAnnotationFilterProxyMixin
A mixin for all proxies that are used after the AnnotationFilterProxyModel.
  StyleProxyModel
A proxy model responsible for most styling options, including text size and color schemes
  RowWrapProxyModel
A proxy model that wraps rows to a specified column count
  TopModel
A proxy model that removes the final row of the source model, which is an extraneous blank spacer row.
  ExportProxyModel
A proxy for use when generating a static image of the table.
  ViewModel
An abstraction layer for the various table models in this module
  AlignmentMetricOption
This class returns a given alignment metric option, sets it to a desired boolean value and invalidates the filters for the proxy model.
  BaseAdjacentAlignmentProxyModel
A base proxy model to be subclassed by other proxy models that show data related to and synchronized with an alignment but in separate, adjacent views.
  AlignmentInclusionProxyModel
A proxy model that contains sequence inclusion for an alignment along with sequence title and chain information.
  AlignmentMetricsProxyModel
A proxy model that contains the alignment metrics, such as percentage of identity, similarity, homology and score to the reference sequence.
  AlignmentMetricsFilterProxy
A filter proxy that displays or hides alignment metric columns.
  RowOrder
A tuple that represents the current state of the table sorting and row ordering.
Functions [hide private]
 
skip_when_copying_sort(func)
A decorator for DragAndDropReorderingProxy methods that should be skipped when we're in the process of transferring the current row ordering from SortProxyModel.
Variables [hide private]
  MAX_ANNOTATIONS = 50
  DEFAULT_TEXT_SIZE = 12
  MIN_TEXT_SIZE = 4
  MAX_TEXT_SIZE = 30
  SPACER = 1
  SEQUENCE = 1
  ZERO_INDEXED = 1
  NEXT_ROW = 1
  PREV_ROW = 1
  NEXT_SEQ = 1
  __package__ = 'schrodinger.application.msv.gui'
Function Details [hide private]

skip_when_copying_sort(func)

 

A decorator for DragAndDropReorderingProxy methods that should be skipped when we're in the process of transferring the current row ordering from SortProxyModel. While we're transferring, we can ignore all row inserted and removed signals since the row ordering isn't actually being changed; it's just being moved from one proxy to another.

Decorators:
  • @decorator.decorator