Package schrodinger :: Package application :: Package bioluminate :: Module propfilter
[hide private]
[frames] | no frames]

Module propfilter

This contains a QDialog class that allows the user to define criteria to filter properties by.

It also contains classes that hold the criteria and determine if properties match the criteria.

Copyright Schrodinger, LLC. All rights reserved.

Classes [hide private]
  StringDatabaseCriterion
Holds a criterion for a string property and determines whether a database object or structure meets that criterion
  NumericalDatabaseCriterion
  BooleanDatabaseCriterion
  CriteriaListModel
Class for storing the criteria list information.
  SelectingFilteredListWidget
A QListWidget that contains a edit to allow the user to filter the contents of the widget.
  PropertySelectorWithRanges
A PropertySelector class that appends ranges to the names of numeric properties.
  ValueSelectionDialog
A SFilteredListWidget that allows the user to select certain values of a property for the criterion.
  PropFilterDialog
Panel to allow the user to define criteria for filtering property values
Variables [hide private]
  TEXTBOX_FONT = 'Courier New'
  EQUALS = '='
  NOT_EQUALS = 'Not ='
  CONTAINS = 'Contains'
  STARTSWITH = 'Starts with'
  ENDSWITH = 'Ends with'
  NOT_CONTAINS = 'Does not contain'
  EXISTS = 'Exists'
  NOT_EXISTS = 'Does not exist'
  SELECT = 'Select'
  GREATEREQUAL = '>='
  LESSEREQUAL = '<='
  GREATER = '>'
  LESSER = '<'
  IS_TRUE = 'is True'
  IS_FALSE = 'is False'
  AND = 'AND'
  OR = 'OR'
  STRING_OPS = ['=', 'Not =', 'Contains', 'Does not contain', 'S...
  NUMBER_OPS = ['=', 'Not =', '>=', '<=', '>', '<', 'Exists', 'D...
  BOOL_OPS = ['is True', 'is False', 'Exists', 'Does not exist']
  MUST_HAVE_VALUE = set(['<', '<=', '=', '>', '>=', 'Contains', ...
  __package__ = 'schrodinger.application.bioluminate'
Variables Details [hide private]

STRING_OPS

Value:
['=',
 'Not =',
 'Contains',
 'Does not contain',
 'Starts with',
 'Ends with',
 'Exists',
 'Does not exist',
...

NUMBER_OPS

Value:
['=',
 'Not =',
 '>=',
 '<=',
 '>',
 '<',
 'Exists',
 'Does not exist',
...

MUST_HAVE_VALUE

Value:
set(['<',
     '<=',
     '=',
     '>',
     '>=',
     'Contains',
     'Does not contain',
     'Ends with',
...