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

Module delegates

Qt Delegates for the tree view. Note that Qt cannot assign delegates per row in a tree view, so DispatchDelegate is set as the only delegate for the scrollable columns. It passes method calls to the appropriate delegate class. It also handles data caching using table_speed_up.SpeedUpDelegate. Because of this, delegates other than DispatchDelegate should not call initStyleOption and should access data via option.data[role] rather than index.data(role).

Classes [hide private]
  AbstractBaseRowDelegate
Base delegate class.
  StandardDelegate
  SpaceRowDelegate
A simple delegate to manage rows of empty space
  ResidueDelegate
  AbstractSingleElementHeightDelegate
A delegate for rows that are SSA_ELEMENT_HEIGHT pixels high.
  SecondaryStructureDelegate
  ColorBlockRowDelegate
  AbstractDoubleElementHeightDelegate
A delegate for rows that are double the height of a SingleElementHeightDelegate row.
  AbstractBarHeightDelegate
A BarHeightDelegate is responsible for displaying array-like model data as a series of scaled bars
  BarHeightDelegate
  SequenceLogoDelegate
This delegate is used to draw scaled residue 1-letter code at each alignment position.
  BidirectionalBarDelegate
Delegate used for bar charts that represent positive and negative values.
  AlignmentInfoDelegate
This is a delegate class that paints alignment info (e.g.
  RulerDelegate
A delegate to draw the ruler, which counts by 5.
  DispatchDelegate
A delegate that acts as one of the above delegates depending on an index's RowType data.
Variables [hide private]
  RES_FONT_TEXT = 'WOI'
  HELIX_START_OFFSET = 1
  DEFAULT_ELEMENT_HEIGHT = 20.0
  SSA_ELEMENT_HEIGHT = 16.0
  DEFAULT_COLUMN_WIDTH = 20.0
  __package__ = 'schrodinger.application.msv.gui'