schrodinger.application.jaguar.gui.input_tab_widgets_pka module¶
-
class
schrodinger.application.jaguar.gui.input_tab_widgets_pka.
ProjEntryPka
(row=None)¶ Bases:
schrodinger.application.jaguar.gui.input_tab_widgets.ProjEntry
-
PKA_ATOM_PROP
= 's_m_pKa_atom'¶
-
PKA_VALID
= 0¶
-
PKA_INVALID
= 1¶
-
PKA_MISSING
= 2¶
-
__init__
(row=None)¶ Instantiate a new object
Parameters: row ( schrodinger.project.ProjectRow
or NoneType) – The project row. If not provided, no data will be loaded.
-
update
(row)¶ Update this entry with information from the provided row
Parameters: row ( schrodinger.project.ProjectRow
) – The project row
-
getStructureWithJagNames
()¶ Return the entry structure with jaguar atom naming applied
Returns: The structure with jaguar atom naming applied Return type: schrodinger.structure.Structure
-
reset
()¶ Reset any user-specified settings
-
checkPkaAtom
()¶ Make sure that a valid pKa atom(s) is specified
Returns: PKA_VALID if all valid pKa atoms are specified, PKA_INVALID if any invalid pKa atom is specified, and PKA_MISSING is no pKa atom is specified. Return type: int
-
getPkaAtom
()¶ Get the currently selected pKa atom(s)
Returns: If the currently selected pKa atom(s) is valid, returns the list of atoms itself. Otherwise, returns None. Return type: list or NoneType
-
__class__
¶ alias of
builtins.type
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'schrodinger.application.jaguar.gui.input_tab_widgets_pka', 'PKA_ATOM_PROP': 's_m_pKa_atom', 'PKA_VALID': 0, 'PKA_INVALID': 1, 'PKA_MISSING': 2, '__init__': <function ProjEntryPka.__init__>, 'update': <function ProjEntryPka.update>, 'getStructureWithJagNames': <function ProjEntryPka.getStructureWithJagNames>, 'reset': <function ProjEntryPka.reset>, 'checkPkaAtom': <function ProjEntryPka.checkPkaAtom>, 'getPkaAtom': <function ProjEntryPka.getPkaAtom>, '__doc__': None})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'schrodinger.application.jaguar.gui.input_tab_widgets_pka'¶
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
getCharge
()¶ Get the user-specified charge on the structure. If no charge has been set, the default charge will be returned.
Returns: A tuple of: - The charge (int) - Is this a user-specified charge (True) or the default charge (False) Return type: tuple
-
getDefaultSpinMult
()¶ Get the default spin multiplicity on the structure for the current charge
Returns: The default spin multiplicity Return type: int
-
getIgnoredSpinMult
()¶ If the user has set an invalid spin multiplicity, return it
Returns: If the user has set a spin multiplicity but it’s being ignored, return the user-specified spin multiplicity. Otherwise, return None. Return type: int or NoneType
-
getSpinMult
()¶ Get the user-specified spin multiplicity on the structure. If no spin multiplicity has been set or if the user-specified multiplicity is incompatible with the current charge, then the default spin multiplicity will be returned.
Returns: A tuple of: - The spin multiplicity (int) - Is this a user-specified spin multiplicity (True) or the default spin multiplicity (False)Return type: tuple
-
getStrucChargeAndSpinMult
()¶ Get the structure, charge, and spin multiplicity settings. (This is intended for use in loading data into a ProjEntryTuple object.)
Returns: A tuple of (entry_id, structure, charge, spin multiplicity) Return type: tuple
-
getStructure
()¶ Get the entry structure
Returns: The structure object Return type: schrodinger.structure.Structure
-
row_charge
¶ Make sure we provide an up to date row charge value
-
setBasisFromText
(basis)¶ Set the basis
Parameters: basis (str) – The full basis set name including *’s and +’s
-
setIncluded
(value)¶ Include or remove this entry from the workspace.
Parameters: value (int) – A flag indicated whether the entry should be removed from the workspace (WS_REMOVE), included in the workspace(WS_INCLUDED), or set as the only entry in the workspace (WS_INCLUDE_ONLY)
-
setSpinMult
(spin_mult)¶ Set the spin multiplicity
Parameters: spin_mult (int) – The spin multiplicity to set Returns: True if this is a valid spin multiplicity for the current charge. False otherwise. Return type: bool
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets_pka.
ProjEntryTuplePka
(entry_id, struc, charge, spin_mult, pka_atom)¶ Bases:
tuple
-
__add__
¶ Return self+value.
-
__class__
¶ alias of
builtins.type
-
__contains__
¶ Return key in self.
-
__delattr__
¶ Implement delattr(self, name).
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getitem__
¶ Return self[key].
-
__getnewargs__
()¶ Return self as a plain tuple. Used by copy and pickle.
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__iter__
¶ Implement iter(self).
-
__le__
¶ Return self<=value.
-
__len__
¶ Return len(self).
-
__lt__
¶ Return self<value.
-
__module__
= 'schrodinger.application.jaguar.gui.input_tab_widgets_pka'¶
-
__mul__
¶ Return self*value.n
-
__ne__
¶ Return self!=value.
-
static
__new__
(_cls, entry_id, struc, charge, spin_mult, pka_atom)¶ Create new instance of ProjEntryTuplePka(entry_id, struc, charge, spin_mult, pka_atom)
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
()¶ Return a nicely formatted representation string
-
__rmul__
¶ Return self*value.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__slots__
= ()¶
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
charge
¶ Alias for field number 2
-
count
(value) → integer -- return number of occurrences of value¶
-
entry_id
¶ Alias for field number 0
-
index
(value[, start[, stop]]) → integer -- return first index of value.¶ Raises ValueError if the value is not present.
-
pka_atom
¶ Alias for field number 4
-
spin_mult
¶ Alias for field number 3
-
struc
¶ Alias for field number 1
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets_pka.
InputEntriesColumnsPka
¶ Bases:
object
Column constants for the pKa selected entries table
-
HEADERS
= ['ID', 'In', 'Entry Title', 'Charge', 'Spin Mult.', 'pKa Atom']¶
-
NUM_COLS
= 6¶
-
ID
= 0¶
-
INCLUSION
= 1¶
-
TITLE
= 2¶
-
CHARGE
= 3¶
-
SPIN_MULT
= 4¶
-
PKA_ATOM
= 5¶
-
BASIS
= -1¶
-
__class__
¶ alias of
builtins.type
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'schrodinger.application.jaguar.gui.input_tab_widgets_pka', '__doc__': '\n Column constants for the pKa selected entries table\n ', 'HEADERS': ['ID', 'In', 'Entry Title', 'Charge', 'Spin Mult.', 'pKa Atom'], 'NUM_COLS': 6, 'ID': 0, 'INCLUSION': 1, 'TITLE': 2, 'CHARGE': 3, 'SPIN_MULT': 4, 'PKA_ATOM': 5, 'BASIS': -1, '__dict__': <attribute '__dict__' of 'InputEntriesColumnsPka' objects>, '__weakref__': <attribute '__weakref__' of 'InputEntriesColumnsPka' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'schrodinger.application.jaguar.gui.input_tab_widgets_pka'¶
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets_pka.
PickingModes
¶ Bases:
enum.Enum
An enumeration.
-
MANUAL
= 1¶
-
AUTO
= 2¶
-
SMARTS
= 3¶
-
__class__
¶ alias of
enum.EnumMeta
-
__members__
= mappingproxy(OrderedDict([('MANUAL', <PickingModes.MANUAL: 1>), ('AUTO', <PickingModes.AUTO: 2>), ('SMARTS', <PickingModes.SMARTS: 3>)]))¶
-
__module__
= 'schrodinger.application.jaguar.gui.input_tab_widgets_pka'¶
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets_pka.
InputEntriesModelPka
(parent)¶ Bases:
schrodinger.application.jaguar.gui.input_tab_widgets.InputEntriesModel
The data model for the pKa selected entries table
Variables: - set_pka_marker (
PyQt5.QtCore.pyqtSignal
) –A signal emitted when a new pKa atom should be marked in the workspace. Emitted with two arguments:
- The entry id of the structure to be marked (str)
- The atom to be marked (
schrodinger.structure._StructureAtom
)
- projUpdated – A signal emitted when the project changes which should trigger a SMARTS search again if picking mode is SMARTS
-
COLUMN
¶ alias of
InputEntriesColumnsPka
-
set_pka_marker
¶
-
projUpdated
¶
-
ROW_CLASS
¶ alias of
ProjEntryPka
-
__init__
(parent)¶ Initialize self. See help(type(self)) for accurate signature.
-
setPickingMode
(mode)¶ Set the picking mode. This impacts what is shown in the pKa atom column.
Parameters: mode (PickingModes) – the new picking mode
-
data
(self, QModelIndex, role: int = Qt.DisplayRole) → Any¶
-
flags
(index)¶ Enable or disable the pka column depending on whether manual editing is enabled or not
Parameters: index ( QtCore.QModelIndex
) – The model index to get flags for.
-
setData
(index, value, role=2)¶ Set data for the specified index. The spin multiplicity tool tip will be shown if an invalid spin multiplicity is set, or if a charge is set that renders the spin multiplicity invalid. (The tool tip explains that the default spin multiplicity is being used because the user-specifed value is invalid.)
Parameters: - index (
PyQt5.QtCore.QModelIndex
) – The index to modify - value – The value to set
- role (int) – The role to set data for. Must be Qt.EditRole or setting will fail.
Returns: True if setting succeeded. False if it failed.
Return type: bool
- index (
-
updatePkaAtomsFromSmarts
(smarts_models)¶ Update pKa atoms of entry rows based on patterns given by a list of SMARTS patterns and atom positions.
Parameters: smarts_models (list(SmartsPageModel)) – a list of smarts patterns to search for in each structure. The list may be empty.
-
projectUpdated
()¶ Update the table when the project is updated
-
getStructures
()¶ Get a list of all structures loaded into the table (i.e. all structures selected in the project table) and the associated settings.
Returns: A list of ProjEntryTuple objects Return type: list
-
checkPkaAtoms
()¶ Make sure that all structure have a valid pKa atom selected
Returns: A tuple of - A list of structures with invalid pKa atoms - A list of structures with no pKa atom Return type: tuple
-
addPkaMarkers
(index, start_row, end_row)¶ Add pKa workspace atom markers for the specified rows
Parameters: - index – Not used, but present for Qt compatability
- start_row (int) – The first row to add a pKa marker to
- end_row (int) – The last row to add a pKa marker to
-
removePkaMarkers
(index, start_row, end_row)¶ Remove the pKa workspace atom markers for the specified rows
Parameters: - index – Not used, but present for Qt compatibility
- start_row (int) – The first row to add a pKa marker to
- end_row (int) – The last row to add a pKa marker to
-
ERROR_BACKGROUND_BRUSH
= <PyQt5.QtGui.QBrush object>¶
-
ERROR_POST
= '</span>'¶
-
ERROR_PRE
= "<span style='color:red'>"¶
-
HorizontalSortHint
= 2¶
-
class
LayoutChangeHint
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtCore', '__dict__': <attribute '__dict__' of 'LayoutChangeHint' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'LayoutChangeHint' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtCore'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
NoLayoutChangeHint
= 0¶
-
VerticalSortHint
= 1¶
-
__class__
¶ alias of
sip.wrappertype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'schrodinger.application.jaguar.gui.input_tab_widgets_pka', '__doc__': '\n The data model for the pKa selected entries table\n\n :ivar set_pka_marker: A signal emitted when a new pKa atom should be marked\n in the workspace. Emitted with two arguments:\n - The entry id of the structure to be marked (str)\n - The atom to be marked (`schrodinger.structure._StructureAtom`)\n :vartype set_pka_marker: `PyQt5.QtCore.pyqtSignal`\n\n :ivar projUpdated: A signal emitted when the project changes which\n should trigger a SMARTS search again if picking mode is SMARTS\n ', 'COLUMN': <class 'schrodinger.application.jaguar.gui.input_tab_widgets_pka.InputEntriesColumnsPka'>, 'set_pka_marker': <unbound PYQT_SIGNAL InputEntriesModelPka.set_pka_marker[str, object]>, 'projUpdated': <unbound PYQT_SIGNAL InputEntriesModelPka.projUpdated[]>, 'ROW_CLASS': <class 'schrodinger.application.jaguar.gui.input_tab_widgets_pka.ProjEntryPka'>, '__init__': <function InputEntriesModelPka.__init__>, 'setPickingMode': <function InputEntriesModelPka.setPickingMode>, 'data': <function InputEntriesModelPka.data>, 'flags': <function InputEntriesModelPka.flags>, '_pkaData': <function InputEntriesModelPka._pkaData>, '_getPkaColumnTextAuto': <function InputEntriesModelPka._getPkaColumnTextAuto>, '_getPkaColumnTextSmarts': <function InputEntriesModelPka._getPkaColumnTextSmarts>, 'setData': <function InputEntriesModelPka.setData>, '_setPkaAtom': <function InputEntriesModelPka._setPkaAtom>, 'updatePkaAtomsFromSmarts': <function InputEntriesModelPka.updatePkaAtomsFromSmarts>, 'projectUpdated': <function InputEntriesModelPka.projectUpdated>, 'getStructures': <function InputEntriesModelPka.getStructures>, 'checkPkaAtoms': <function InputEntriesModelPka.checkPkaAtoms>, 'addPkaMarkers': <function InputEntriesModelPka.addPkaMarkers>, 'removePkaMarkers': <function InputEntriesModelPka.removePkaMarkers>})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattr__
(self, str) → object¶
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'schrodinger.application.jaguar.gui.input_tab_widgets_pka'¶
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
basisChanged
¶
-
beginInsertColumns
(self, QModelIndex, int, int)¶
-
beginInsertRows
(self, QModelIndex, int, int)¶
-
beginMoveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginMoveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginRemoveColumns
(self, QModelIndex, int, int)¶
-
beginRemoveRows
(self, QModelIndex, int, int)¶
-
beginResetModel
(self)¶
-
blockSignals
(self, bool) → bool¶
-
buddy
(self, QModelIndex) → QModelIndex¶
-
canDropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
canFetchMore
(self, QModelIndex) → bool¶
-
changePersistentIndex
(self, QModelIndex, QModelIndex)¶
-
changePersistentIndexList
(self, object, object)¶
-
chargedStrucsPresent
()¶ Determine if the user has specified any molecular charges
Returns: True if the user has specified a molecular charge for any molecule. False otherwise. Return type: bool
-
checkBasisSets
()¶ Make sure that all structure have a valid basis set selected
Returns: A list of structures with invalid basis sets Return type: list
-
childEvent
(self, QChildEvent)¶
-
children
(self) → object¶
-
clearRows
()¶ Clear all row data
-
columnCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
columnsAboutToBeInserted
¶ columnsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
columnsAboutToBeMoved
¶ columnsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsAboutToBeRemoved
¶ columnsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
columnsInserted
¶ columnsInserted(self, QModelIndex, int, int) [signal]
-
columnsMoved
¶ columnsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsRemoved
¶ columnsRemoved(self, QModelIndex, int, int) [signal]
-
connectNotify
(self, QMetaMethod)¶
-
copyChargeMultBasisFromModel
(copy_model)¶ Copy the charge, spin and basis set information from the given model to this model.
Parameters: copy_model ( InputEntriesModel
) – The model to copy information fromRaises: RuntimeError – If the rows in the model are not in the same order
-
createIndex
(self, int, int, object: object = 0) → QModelIndex¶
-
customEvent
(self, QEvent)¶
-
dataChanged
¶ dataChanged(self, QModelIndex, QModelIndex, Iterable[int] = []) [signal]
-
decodeData
(self, int, int, QModelIndex, QDataStream) → bool¶
-
deleteLater
(self)¶
-
destroyed
¶ destroyed(self, QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → object¶
-
encodeData
(self, object, QDataStream)¶
-
endInsertColumns
(self)¶
-
endInsertRows
(self)¶
-
endMoveColumns
(self)¶
-
endMoveRows
(self)¶
-
endRemoveColumns
(self)¶
-
endRemoveRows
(self)¶
-
endResetModel
(self)¶
-
entryIds
()¶ Get a set of entry ids for all selected entries
-
entryTitles
()¶ Get a dictionary of {entry id: entry title} for all selected entries
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
fetchMore
(self, QModelIndex)¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
getBasisForEid
(eid, per_atom_name)¶ Get the basis set for the specified entry id. If there are per-atom basis sets specified for the structure, the
per_atom_name
will be returned.Parameters: - eid (str) – The entry id
- per_atom_name (str) – The name to return if per-atom basis sets are specified
Returns: The basis set name, or
per_atom_name
if per-atom basis sets are specifiedReturn type: Basis
or str
-
getCommonBasis
()¶ If all structures use the same basis set, return the basis set name. Otherwise, return None.
Note: The basis set returned here is not guaranteed to be the default basis set. The user may have specified identical per-structure basis sets for all structures. Returns: The basis set name or None Return type: str or NoneType
-
hasChildren
()¶
-
hasIndex
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
headerData
(self, int, Qt.Orientation, role: int = Qt.DisplayRole) → Any¶
-
index
(self, int, int, parent: QModelIndex = QModelIndex()) → QModelIndex¶
-
inherits
(self, str) → bool¶
-
insertColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
installEventFilter
(self, QObject)¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemData
(self, QModelIndex) → object¶
-
killTimer
(self, int)¶
-
layoutAboutToBeChanged
¶ layoutAboutToBeChanged(self, object = QList<QPersistentModelIndex>(), QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
-
layoutChanged
¶ layoutChanged(self, Iterable[QPersistentModelIndex] = [], QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
-
match
(self, QModelIndex, int, Any, hits: int = 1, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchStartsWith|Qt.MatchWrap) → object¶
-
metaObject
(self) → QMetaObject¶
-
mimeData
(self, object) → QMimeData¶
-
mimeTypes
(self) → List[str]¶
-
modelAboutToBeReset
¶ modelAboutToBeReset(self) [signal]
-
modelReset
¶ modelReset(self) [signal]
-
moveColumn
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveRow
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
parent
(self) → QObject¶
-
perAtomBasisChanged
(eid)¶ Respond to the user changing a per-atom basis set for the specified entry ID. A per-atom basis set change could change the validity of the current basis set for the structure, so we emit dataChanged. This triggers the view to re-color the background of the cell.
Parameters: eid (str) – The entry ID
-
persistentIndexList
(self) → object¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
receivers
(self, PYQT_SIGNAL) → int¶
-
removeColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeEventFilter
(self, QObject)¶
-
removeRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
reset
()¶ Reset all charge, spin multiplicity, and basis settings
-
resetInternalData
(self)¶
-
revert
(self)¶
-
roleNames
(self) → object¶
-
rowCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
rowsAboutToBeInserted
¶ rowsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
rowsAboutToBeMoved
¶ rowsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsAboutToBeRemoved
¶ rowsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
rowsInserted
¶ rowsInserted(self, QModelIndex, int, int) [signal]
-
rowsMoved
¶ rowsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsRemoved
¶ rowsRemoved(self, QModelIndex, int, int) [signal]
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setDefaultBasis
(basis)¶ Set the default basis set
Parameters: basis (str) – The default basis set
-
setHeaderData
(self, int, Qt.Orientation, Any, role: int = Qt.EditRole) → bool¶
-
setItemData
(self, QModelIndex, Dict[int, Any]) → bool¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setPerAtomBasisModel
(per_atom_basis_model)¶ Connect this model to the per-atom basis set model from the Basis Set sub-tab.
Parameters: per_atom_basis_model ( schrodinger.application.jaguar.gui.tabs. sub_tab_widgets.basis_set_widgets.BasisSetModel
) – The per-atom basis set model
-
setProperty
(self, str, Any) → bool¶
-
setSource
(source)¶ Specify the row source, i.e., included entries or selected entries
Parameters: source ( UseFrom
orschrodinger.ui.qt.input_selector.InputSelector
class constant that maps to a UseFrom enum) – The row source
-
show_tool_tip
¶
-
sibling
(self, int, int, QModelIndex) → QModelIndex¶
-
signalsBlocked
(self) → bool¶
-
sort
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
source
()¶ Return the row source, i.e., included entries or selected entries
Returns: The row source Return type: UseFrom
-
span
(self, QModelIndex) → QSize¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
submit
(self) → bool¶
-
supportedDragActions
(self) → Qt.DropActions¶
-
supportedDropActions
(self) → Qt.DropActions¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
usingSelected
()¶ Return True if the tab is set to use selected entries. False if the tab is set to use included entries.
-
workspaceChanged
(what_changed)¶ If the workspace changed, update data in case the user changed the charge of a molecule.
Parameters: what_changed (str) – A flag indicating what changed in the workspace Note: This function is called before the workspace changes have propagated to the project table. As such, we use a QTimer to wait until after the changes have propagated before updating.
- set_pka_marker (
-
class
schrodinger.application.jaguar.gui.input_tab_widgets_pka.
InputEntriesViewPka
(parent)¶ Bases:
schrodinger.application.jaguar.gui.input_tab_widgets.InputEntriesView
The view for the pKa selected entries table
Variables: set_pka_marker ( PyQt5.QtCore.pyqtSignal
) –A signal emitted when a new pKa atom should be marked in the workspace. Emitted with two arguments:
- The entry id of the structure to be marked (str)
- List of atoms (
schrodinger.structure._StructureAtom
) to be marked
-
COLUMN
¶ alias of
InputEntriesColumnsPka
-
set_pka_marker
¶
-
setEditablePkaAtomDelegate
(editable)¶ Add the delegates to the pKa column
Parameters: editable – Whether to set the editable default message delegate or to set the Qt default delegate
-
AboveItem
= 1¶
-
AdjustIgnored
= 0¶
-
AdjustToContents
= 2¶
-
AdjustToContentsOnFirstShow
= 1¶
-
AllEditTriggers
= 31¶
-
AnimatingState
= 6¶
-
AnyKeyPressed
= 16¶
-
BelowItem
= 2¶
-
Box
= 1¶
-
CollapsingState
= 5¶
-
ContiguousSelection
= 4¶
-
CurrentChanged
= 1¶
-
class
CursorAction
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__dict__': <attribute '__dict__' of 'CursorAction' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'CursorAction' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
DoubleClicked
= 2¶
-
DragDrop
= 3¶
-
class
DragDropMode
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__dict__': <attribute '__dict__' of 'DragDropMode' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'DragDropMode' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
DragOnly
= 1¶
-
DragSelectingState
= 2¶
-
DraggingState
= 1¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
class
DropIndicatorPosition
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__dict__': <attribute '__dict__' of 'DropIndicatorPosition' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'DropIndicatorPosition' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
DropOnly
= 2¶
-
EditKeyPressed
= 8¶
-
class
EditTrigger
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__or__': <slot wrapper '__or__' of 'EditTrigger' objects>, '__ror__': <slot wrapper '__ror__' of 'EditTrigger' objects>, '__dict__': <attribute '__dict__' of 'EditTrigger' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'EditTrigger' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
class
EditTriggers
¶ Bases:
sip.simplewrapper
QAbstractItemView.EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) QAbstractItemView.EditTriggers(QAbstractItemView.EditTriggers)
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__class__
¶ alias of
sip.wrappertype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__hash__': <slot wrapper '__hash__' of 'EditTriggers' objects>, '__lt__': <slot wrapper '__lt__' of 'EditTriggers' objects>, '__le__': <slot wrapper '__le__' of 'EditTriggers' objects>, '__eq__': <slot wrapper '__eq__' of 'EditTriggers' objects>, '__ne__': <slot wrapper '__ne__' of 'EditTriggers' objects>, '__gt__': <slot wrapper '__gt__' of 'EditTriggers' objects>, '__ge__': <slot wrapper '__ge__' of 'EditTriggers' objects>, '__bool__': <slot wrapper '__bool__' of 'EditTriggers' objects>, '__invert__': <slot wrapper '__invert__' of 'EditTriggers' objects>, '__and__': <slot wrapper '__and__' of 'EditTriggers' objects>, '__rand__': <slot wrapper '__rand__' of 'EditTriggers' objects>, '__xor__': <slot wrapper '__xor__' of 'EditTriggers' objects>, '__rxor__': <slot wrapper '__rxor__' of 'EditTriggers' objects>, '__or__': <slot wrapper '__or__' of 'EditTriggers' objects>, '__ror__': <slot wrapper '__ror__' of 'EditTriggers' objects>, '__int__': <slot wrapper '__int__' of 'EditTriggers' objects>, '__iand__': <slot wrapper '__iand__' of 'EditTriggers' objects>, '__ixor__': <slot wrapper '__ixor__' of 'EditTriggers' objects>, '__ior__': <slot wrapper '__ior__' of 'EditTriggers' objects>, '__weakref__': <attribute '__weakref__' of 'EditTriggers' objects>, '__doc__': 'QAbstractItemView.EditTriggers()\nQAbstractItemView.EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger])\nQAbstractItemView.EditTriggers(QAbstractItemView.EditTriggers)'})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__iand__
¶ Return self&=value.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__ior__
¶ Return self|=value.
-
__ixor__
¶ Return self^=value.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__rand__
¶ Return value&self.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__ror__
¶ Return value|self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
__xor__
¶ Return self^value.
-
-
EditingState
= 3¶
-
EnsureVisible
= 0¶
-
ExpandingState
= 4¶
-
ExtendedSelection
= 3¶
-
HLine
= 4¶
-
IgnoreMask
= 4¶
-
InternalMove
= 4¶
-
MoveDown
= 1¶
-
MoveEnd
= 5¶
-
MoveHome
= 4¶
-
MoveLeft
= 2¶
-
MoveNext
= 8¶
-
MovePageDown
= 7¶
-
MovePageUp
= 6¶
-
MovePrevious
= 9¶
-
MoveRight
= 3¶
-
MoveUp
= 0¶
-
MultiSelection
= 2¶
-
NoDragDrop
= 0¶
-
NoEditTriggers
= 0¶
-
NoFrame
= 0¶
-
NoSelection
= 0¶
-
NoState
= 0¶
-
OnItem
= 0¶
-
OnViewport
= 3¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtGui', '__dict__': <attribute '__dict__' of 'PaintDeviceMetric' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'PaintDeviceMetric' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtGui'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
Panel
= 2¶
-
PdmDepth
= 6¶
-
PdmDevicePixelRatio
= 11¶
-
PdmDevicePixelRatioScaled
= 12¶
-
PdmDpiX
= 7¶
-
PdmDpiY
= 8¶
-
PdmHeight
= 2¶
-
PdmHeightMM
= 4¶
-
PdmNumColors
= 5¶
-
PdmPhysicalDpiX
= 9¶
-
PdmPhysicalDpiY
= 10¶
-
PdmWidth
= 1¶
-
PdmWidthMM
= 3¶
-
Plain
= 16¶
-
PositionAtBottom
= 2¶
-
PositionAtCenter
= 3¶
-
PositionAtTop
= 1¶
-
Raised
= 32¶
-
class
RenderFlag
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__or__': <slot wrapper '__or__' of 'RenderFlag' objects>, '__ror__': <slot wrapper '__ror__' of 'RenderFlag' objects>, '__dict__': <attribute '__dict__' of 'RenderFlag' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'RenderFlag' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__class__
¶ alias of
sip.wrappertype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__hash__': <slot wrapper '__hash__' of 'RenderFlags' objects>, '__lt__': <slot wrapper '__lt__' of 'RenderFlags' objects>, '__le__': <slot wrapper '__le__' of 'RenderFlags' objects>, '__eq__': <slot wrapper '__eq__' of 'RenderFlags' objects>, '__ne__': <slot wrapper '__ne__' of 'RenderFlags' objects>, '__gt__': <slot wrapper '__gt__' of 'RenderFlags' objects>, '__ge__': <slot wrapper '__ge__' of 'RenderFlags' objects>, '__bool__': <slot wrapper '__bool__' of 'RenderFlags' objects>, '__invert__': <slot wrapper '__invert__' of 'RenderFlags' objects>, '__and__': <slot wrapper '__and__' of 'RenderFlags' objects>, '__rand__': <slot wrapper '__rand__' of 'RenderFlags' objects>, '__xor__': <slot wrapper '__xor__' of 'RenderFlags' objects>, '__rxor__': <slot wrapper '__rxor__' of 'RenderFlags' objects>, '__or__': <slot wrapper '__or__' of 'RenderFlags' objects>, '__ror__': <slot wrapper '__ror__' of 'RenderFlags' objects>, '__int__': <slot wrapper '__int__' of 'RenderFlags' objects>, '__iand__': <slot wrapper '__iand__' of 'RenderFlags' objects>, '__ixor__': <slot wrapper '__ixor__' of 'RenderFlags' objects>, '__ior__': <slot wrapper '__ior__' of 'RenderFlags' objects>, '__weakref__': <attribute '__weakref__' of 'RenderFlags' objects>, '__doc__': 'QWidget.RenderFlags()\nQWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag])\nQWidget.RenderFlags(QWidget.RenderFlags)'})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__iand__
¶ Return self&=value.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__ior__
¶ Return self|=value.
-
__ixor__
¶ Return self^=value.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__rand__
¶ Return value&self.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__ror__
¶ Return value|self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
__xor__
¶ Return self^value.
-
-
class
ScrollHint
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__dict__': <attribute '__dict__' of 'ScrollHint' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'ScrollHint' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
class
ScrollMode
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__dict__': <attribute '__dict__' of 'ScrollMode' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'ScrollMode' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
ScrollPerItem
= 0¶
-
ScrollPerPixel
= 1¶
-
SelectColumns
= 2¶
-
SelectItems
= 0¶
-
SelectRows
= 1¶
-
SelectedClicked
= 4¶
-
class
SelectionBehavior
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__dict__': <attribute '__dict__' of 'SelectionBehavior' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'SelectionBehavior' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
class
SelectionMode
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__dict__': <attribute '__dict__' of 'SelectionMode' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'SelectionMode' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
class
Shadow
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__dict__': <attribute '__dict__' of 'Shadow' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'Shadow' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
Shadow_Mask
= 240¶
-
class
Shape
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__dict__': <attribute '__dict__' of 'Shape' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'Shape' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
Shape_Mask
= 15¶
-
SingleSelection
= 1¶
-
class
SizeAdjustPolicy
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__dict__': <attribute '__dict__' of 'SizeAdjustPolicy' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'SizeAdjustPolicy' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
class
State
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__dict__': <attribute '__dict__' of 'State' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'State' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
class
StyleMask
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__dict__': <attribute '__dict__' of 'StyleMask' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'StyleMask' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
StyledPanel
= 6¶
-
Sunken
= 48¶
-
VLine
= 5¶
-
WinPanel
= 3¶
-
__class__
¶ alias of
sip.wrappertype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'schrodinger.application.jaguar.gui.input_tab_widgets_pka', '__doc__': '\n The view for the pKa selected entries table\n\n :ivar set_pka_marker: A signal emitted when a new pKa atom should be marked\n in the workspace. Emitted with two arguments:\n - The entry id of the structure to be marked (str)\n - List of atoms (`schrodinger.structure._StructureAtom`) to be marked\n :vartype set_pka_marker: `PyQt5.QtCore.pyqtSignal`\n ', 'COLUMN': <class 'schrodinger.application.jaguar.gui.input_tab_widgets_pka.InputEntriesColumnsPka'>, 'set_pka_marker': <unbound PYQT_SIGNAL InputEntriesViewPka.set_pka_marker[str, object]>, '_setDelegates': <function InputEntriesViewPka._setDelegates>, 'setEditablePkaAtomDelegate': <function InputEntriesViewPka.setEditablePkaAtomDelegate>})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattr__
(self, str) → object¶
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
(parent)¶ Instantiate the view, connect the appropriate delegates, and set the selection behavior to mimic the project table.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'schrodinger.application.jaguar.gui.input_tab_widgets_pka'¶
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
activated
¶ activated(self, QModelIndex) [signal]
-
addAction
(self, QAction)¶
-
addActions
(self, object)¶
-
addScrollBarWidget
(self, QWidget, Union[Qt.Alignment, Qt.AlignmentFlag])¶
-
adjustSize
(self)¶
-
alternatingRowColors
(self) → bool¶
-
autoFillBackground
(self) → bool¶
-
autoScrollMargin
(self) → int¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → object¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
clearSelection
(self)¶
-
clearSpans
(self)¶
-
clicked
¶ clicked(self, QModelIndex) [signal]
-
close
(self) → bool¶
-
closeEditor
(self, QWidget, QAbstractItemDelegate.EndEditHint)¶
-
closeEvent
(self, QCloseEvent)¶
-
closePersistentEditor
(self, QModelIndex)¶
-
colorCount
(self) → int¶
-
columnAt
(self, int) → int¶
-
columnCountChanged
(self, int, int)¶
-
columnMoved
(self, int, int, int)¶
-
columnResized
(self, int, int, int)¶
-
columnSpan
(self, int, int) → int¶
-
columnViewportPosition
(self, int) → int¶
-
columnWidth
(self, int) → int¶
-
commitData
(self, QWidget)¶
-
commitDataToSelected
(editor, index, delegate)¶ Commit data to all selected cells in the column that is currently being edited.
Parameters: - editor (
PyQt5.QtWidgets.QWidget
) – The editor being used to enter data - index (
PyQt5.QtCore.QModelIndex
) – The index being edited - delegate (
PyQt5.QtWidgets.QAbstractItemDelegate
) – The delegate used to create the editor
- editor (
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
cornerWidget
(self) → QWidget¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
currentChanged
(self, QModelIndex, QModelIndex)¶
-
currentIndex
(self) → QModelIndex¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
dataChanged
(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])¶
-
defaultDropAction
(self) → Qt.DropAction¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
dirtyRegionOffset
(self) → QPoint¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
doubleClicked
¶ doubleClicked(self, QModelIndex) [signal]
-
dragDropMode
(self) → QAbstractItemView.DragDropMode¶
-
dragDropOverwriteMode
(self) → bool¶
-
dragEnabled
(self) → bool¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
drawFrame
(self, QPainter)¶
-
dropEvent
(self, QDropEvent)¶
-
dropIndicatorPosition
(self) → QAbstractItemView.DropIndicatorPosition¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → object¶
-
edit
(self, QModelIndex)¶ edit(self, QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool
-
editTriggers
(self) → QAbstractItemView.EditTriggers¶
-
editorDestroyed
(self, QObject)¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
entered
¶ entered(self, QModelIndex) [signal]
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
executeDelayedItemsLayout
(self)¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameRect
(self) → QRect¶
-
frameShadow
(self) → QFrame.Shadow¶
-
frameShape
(self) → QFrame.Shape¶
-
frameSize
(self) → QSize¶
-
frameStyle
(self) → int¶
-
frameWidth
(self) → int¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
gridStyle
(self) → Qt.PenStyle¶
-
hasAutoScroll
(self) → bool¶
-
hasFocus
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideColumn
(self, int)¶
-
hideEvent
(self, QHideEvent)¶
-
hideRow
(self, int)¶
-
horizontalHeader
(self) → QHeaderView¶
-
horizontalOffset
(self) → int¶
-
horizontalScrollBar
(self) → QScrollBar¶
-
horizontalScrollBarPolicy
(self) → Qt.ScrollBarPolicy¶
-
horizontalScrollMode
(self) → QAbstractItemView.ScrollMode¶
-
horizontalScrollbarAction
(self, int)¶
-
horizontalScrollbarValueChanged
(self, int)¶
-
iconSize
(self) → QSize¶
-
iconSizeChanged
¶ iconSizeChanged(self, QSize) [signal]
-
indexAt
(self, QPoint) → QModelIndex¶
-
indexWidget
(self, QModelIndex) → QWidget¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isColumnHidden
(self, int) → bool¶
-
isCornerButtonEnabled
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isIndexHidden
(self, QModelIndex) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isRowHidden
(self, int) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isSortingEnabled
(self) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemDelegate
(self) → QAbstractItemDelegate¶ itemDelegate(self, QModelIndex) -> QAbstractItemDelegate
-
itemDelegateForColumn
(self, int) → QAbstractItemDelegate¶
-
itemDelegateForRow
(self, int) → QAbstractItemDelegate¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
keyboardSearch
(self, str)¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
lineWidth
(self) → int¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumViewportSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
midLineWidth
(self) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
model
(self) → QAbstractItemModel¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveCursor
(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) → QModelIndex¶
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
openPersistentEditor
(self, QModelIndex)¶
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
pressed
¶ pressed(self, QModelIndex) [signal]
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
reset
(self)¶
-
resetHorizontalScrollMode
(self)¶
-
resetVerticalScrollMode
(self)¶
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeColumnToContents
(self, int)¶
-
resizeColumnsToContents
(self)¶
-
resizeEvent
(self, QResizeEvent)¶
-
resizeRowToContents
(self, int)¶
-
resizeRowsToContents
(self)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
rootIndex
(self) → QModelIndex¶
-
rowAt
(self, int) → int¶
-
rowCountChanged
(self, int, int)¶
-
rowHeight
(self, int) → int¶
-
rowMoved
(self, int, int, int)¶
-
rowResized
(self, int, int, int)¶
-
rowSpan
(self, int, int) → int¶
-
rowViewportPosition
(self, int) → int¶
-
rowsAboutToBeRemoved
(self, QModelIndex, int, int)¶
-
rowsInserted
(self, QModelIndex, int, int)¶
-
saveGeometry
(self) → QByteArray¶
-
scheduleDelayedItemsLayout
(self)¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
scrollBarWidgets
(self, Union[Qt.Alignment, Qt.AlignmentFlag]) → object¶
-
scrollContentsBy
(self, int, int)¶
-
scrollDirtyRegion
(self, int, int)¶
-
scrollTo
(self, QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
-
scrollToBottom
(self)¶
-
scrollToTop
(self)¶
-
selectAll
(self)¶
-
selectColumn
(self, int)¶
-
selectRow
(self, int)¶
-
selectedIndexes
(self) → object¶
-
selectionBehavior
(self) → QAbstractItemView.SelectionBehavior¶
-
selectionChanged
(self, QItemSelection, QItemSelection)¶
-
selectionCommand
(index, event=None)¶ Don’t update the current selection when using the keyboard to navigate or when clicking on a selected editable item.
Parameters: - index (
PyQt5.QtCore.QModelIndex
) – The newly selected index - event (
PyQt5.QtCore.QEvent
) – The event that triggered the index change
Returns: A flag describing how the selection should be updated
Return type: int
- index (
-
selectionMode
(self) → QAbstractItemView.SelectionMode¶
-
selectionModel
(self) → QItemSelectionModel¶
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAlternatingRowColors
(self, bool)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setAutoScroll
(self, bool)¶
-
setAutoScrollMargin
(self, int)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setColumnHidden
(self, int, bool)¶
-
setColumnWidth
(self, int, int)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCornerButtonEnabled
(self, bool)¶
-
setCornerWidget
(self, QWidget)¶
-
setCurrentIndex
(self, QModelIndex)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDefaultDropAction
(self, Qt.DropAction)¶
-
setDirtyRegion
(self, QRegion)¶
-
setDisabled
(self, bool)¶
-
setDragDropMode
(self, QAbstractItemView.DragDropMode)¶
-
setDragDropOverwriteMode
(self, bool)¶
-
setDragEnabled
(self, bool)¶
-
setDropIndicatorShown
(self, bool)¶
-
setEditTriggers
(self, Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger])¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrameRect
(self, QRect)¶
-
setFrameShadow
(self, QFrame.Shadow)¶
-
setFrameShape
(self, QFrame.Shape)¶
-
setFrameStyle
(self, int)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setGridStyle
(self, Qt.PenStyle)¶
-
setHidden
(self, bool)¶
-
setHorizontalHeader
(self, QHeaderView)¶
-
setHorizontalScrollBar
(self, QScrollBar)¶
-
setHorizontalScrollBarPolicy
(self, Qt.ScrollBarPolicy)¶
-
setHorizontalScrollMode
(self, QAbstractItemView.ScrollMode)¶
-
setIconSize
(self, QSize)¶
-
setIndexWidget
(self, QModelIndex, QWidget)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setItemDelegate
(self, QAbstractItemDelegate)¶
-
setItemDelegateForColumn
(column, delegate, connect_selected=False)¶ Set the delegate for the specified column. Note that this function adds the optional
connect_selected
argument not present in the QTableView function.Parameters: - column (int) – The column to set the delegate for
- delegate (
PyQt5.QtWidgets.QAbstractItemDelegate
) – The delegate to set - connect_selected (bool) – If True, the delegate’s commitDataToSelected signal will be connected
-
setItemDelegateForRow
(self, int, QAbstractItemDelegate)¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineWidth
(self, int)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMidLineWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setModel
(self, QAbstractItemModel)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setRootIndex
(self, QModelIndex)¶
-
setRowHeight
(self, int, int)¶
-
setRowHidden
(self, int, bool)¶
-
setSelection
(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])¶
-
setSelectionBehavior
(self, QAbstractItemView.SelectionBehavior)¶
-
setSelectionMode
(self, QAbstractItemView.SelectionMode)¶
-
setSelectionModel
(self, QItemSelectionModel)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setShowGrid
(self, bool)¶
-
setSizeAdjustPolicy
(self, QAbstractScrollArea.SizeAdjustPolicy)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setSortingEnabled
(self, bool)¶
-
setSpan
(self, int, int, int, int)¶
-
setState
(self, QAbstractItemView.State)¶
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setTextElideMode
(self, Qt.TextElideMode)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVerticalHeader
(self, QHeaderView)¶
-
setVerticalScrollBar
(self, QScrollBar)¶
-
setVerticalScrollBarPolicy
(self, Qt.ScrollBarPolicy)¶
-
setVerticalScrollMode
(self, QAbstractItemView.ScrollMode)¶
-
setViewport
(self, QWidget)¶
-
setViewportMargins
(self, int, int, int, int)¶ setViewportMargins(self, QMargins)
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
setWordWrap
(self, bool)¶
-
setupViewport
(self, QWidget)¶
-
show
(self)¶
-
showColumn
(self, int)¶
-
showDropIndicator
(self) → bool¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showGrid
(self) → bool¶
-
showMaximized
(self)¶
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
showRow
(self, int)¶
-
showToolTip
(index)¶ Show the tool tip for the specified index in response to the model emitting a show_tool_tip signal. (Note that this function has nothing to do with tool tips being shown when the user hovers over a cell.)
Parameters: index ( PyQt5.QtCore.QModelIndex
) – The index to show the tool tip for
-
signalsBlocked
(self) → bool¶
-
size
(self) → QSize¶
-
sizeAdjustPolicy
(self) → QAbstractScrollArea.SizeAdjustPolicy¶
-
sizeHint
(self) → QSize¶
-
sizeHintForColumn
(self, int) → int¶
-
sizeHintForIndex
(self, QModelIndex) → QSize¶
-
sizeHintForRow
(self, int) → int¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
sortByColumn
(self, int, Qt.SortOrder)¶
-
stackUnder
(self, QWidget)¶
-
startDrag
(self, Union[Qt.DropActions, Qt.DropAction])¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
state
(self) → QAbstractItemView.State¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
textElideMode
(self) → Qt.TextElideMode¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QModelIndex)
-
updateEditorData
(self)¶
-
updateEditorGeometries
(self)¶
-
updateGeometries
(self)¶
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
verticalHeader
(self) → QHeaderView¶
-
verticalOffset
(self) → int¶
-
verticalScrollBar
(self) → QScrollBar¶
-
verticalScrollBarPolicy
(self) → Qt.ScrollBarPolicy¶
-
verticalScrollMode
(self) → QAbstractItemView.ScrollMode¶
-
verticalScrollbarAction
(self, int)¶
-
verticalScrollbarValueChanged
(self, int)¶
-
viewOptions
(self) → QStyleOptionViewItem¶
-
viewport
(self) → QWidget¶
-
viewportEntered
¶ viewportEntered(self) [signal]
-
viewportEvent
(self, QEvent) → bool¶
-
viewportMargins
(self) → QMargins¶
-
viewportSizeHint
(self) → QSize¶
-
visibleRegion
(self) → QRegion¶
-
visualRect
(self, QModelIndex) → QRect¶
-
visualRegionForSelection
(self, QItemSelection) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
wordWrap
(self) → bool¶
-
x
(self) → int¶
-
y
(self) → int¶
-
class
schrodinger.application.jaguar.gui.input_tab_widgets_pka.
SmartsPageModel
(default_value=None, **kwargs)¶ Bases:
schrodinger.models.parameters.ParamModel
Model for a single page which contains the a single smarts string and single atom position index.
-
atom_pos
¶
-
smarts
¶
-
DataClass
¶ alias of
builtins.object
-
__class__
¶ alias of
sip.wrappertype
-
__deepcopy__
(memo)¶
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'schrodinger.application.jaguar.gui.input_tab_widgets_pka', '__doc__': '\n Model for a single page which contains the a single smarts string and\n single atom position index.\n ', 'atom_pos': <Abstract:SmartsPageModel.atom_pos>, 'smarts': <Abstract:SmartsPageModel.smarts>, '_SmartsPageModel_jsonAdapters': [], '_child_param_names': ['atom_pos', 'smarts'], 'atom_posChanged': <unbound PYQT_SIGNAL SmartsPageModel.atom_posChanged[object]>, 'atom_posReplaced': <unbound PYQT_SIGNAL SmartsPageModel.atom_posReplaced[object, object]>, 'smartsChanged': <unbound PYQT_SIGNAL SmartsPageModel.smartsChanged[object]>, 'smartsReplaced': <unbound PYQT_SIGNAL SmartsPageModel.smartsReplaced[object, object]>})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
(other)¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__get__
(owner_instance, owner_class)¶ Returns the value of this param for the specific owner instance. If the value has not been set, the default value will be returned.
Parameters: - owner_instance (object) – the instance on which this param is an attribute. The value returned will correspond to this instance.
- owner_class (type) – the class of the owner.
-
__getattr__
(self, str) → object¶
-
__getattribute__
(name)¶ If an
AttributeError
is raised during the getting of a child param, recast the error as aParamAttributeError
and raise. Otherwise, proceed normally.
-
__gt__
¶ Return self>value.
-
__hash__
= None¶
-
__init__
(default_value=None, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
classmethod
__init_subclass__
()¶ This method modifies the creation of CompoundParam subclasses by dynamically adding a signal to the compound param for each subparam. The signal is named <subparam-name>Changed. (ex.
coord.xChanged
andcoord.yChanged
). This way, subclasses of CompoundParam do not need to explicitly define signals for each subparam.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'schrodinger.application.jaguar.gui.input_tab_widgets_pka'¶
-
__ne__
(other)¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
()¶ Return repr(self).
-
__set__
(owner_instance, value)¶ Set the value of this param for the specific owner instance.
Parameters: - owner_instance (object) – the instance on which this param is an attribute. The value returned will correspond to this instance.
- value (self.DataClass) – the value to set this param to
-
__set_name__
(owner_name, name)¶ Saves the name this param is saved as.
Parameters: - owner_instance (object) – The instance on which this param is an attribute.
- name (str) – The name of the attribute this descriptor was set to.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
()¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
aboutToReplace
¶
-
atom_posChanged
¶
-
atom_posReplaced
¶
-
blockSignals
(self, bool) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → object¶
-
connectNotify
(self, QMetaMethod)¶
-
customEvent
(self, QEvent)¶
-
deleteLater
(self)¶
-
destroyed
¶ destroyed(self, QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → object¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
classmethod
fromJson
(json_obj)¶ A factory method which constructs a new object from a given dict loaded from a json string or file.
Parameters: json_obj (dict) – A json-loaded dictionary to create an object from. Returns: An instance of this class. :rtype : cls
-
classmethod
fromJsonImplementation
(json_dict)¶ Sets the value of this compound param value object from a JSON dict.
-
get_version
()¶ Method to get the version of a particular object. Defaults to the current version of mmshare. This class can be overridden for custom versioning behavior.
-
inherits
(self, str) → bool¶
-
installEventFilter
(self, QObject)¶
-
isDefault
()¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
is_abstract
= True¶
-
killTimer
(self, int)¶
-
metaObject
(self) → QMetaObject¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
owner
()¶ Returns the owner of this param. Works for both concrete and abstract params. Returns None if the param has no owner. Follows the same rules as ownerChain.
-
ownerChain
()¶ Returns the owner chain for this param. This works for concrete params and abstract params. Examples:
foo.bar.atom.coord.ownerChain()
will return[foo, bar, atom, coord]
where every item is a regular param.Foo.bar.atom.coord.x.ownerChain()
will return[Foo, bar, atom.coord, x]
where Foo is a class and all other items are abstract params.
-
parent
(self) → QObject¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
receivers
(self, PYQT_SIGNAL) → int¶
-
removeEventFilter
(self, QObject)¶
-
reset
(*args)¶ Resets this compound param to its default value. If no arguments are passed in, the entire param is reset. Any number of abstract params may be optionally passed in to perform a partial reset to default value of specified sub-params. For example, given a compound param with two xyz coordinates as endpoints:
- class Line(CompoundParam):
- start = Coord(x=1, y=2, z=3) end = Coord(x=4, y=5, z=6)
line = Line()
We can reset the entire line:
line.reset()Or just certain parts:
line.reset(Line.start.x) # resets just start.x line.start.reset(Coord.x) # another way to reset start.x line.reset(Line.end) # resets the entire end point line.reset(Line.start.z, Line.end.z) # resets the z-coord of bothParameters: args – abstract sub-params of self
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
setValue
(value=None, **kwargs)¶ Set the value of this compound param instance. This mutates the compound param to be equal to
value
; it does not make the compound param /identical/ tovalue
.Parameters: value (self.DataClass or dict) – either another param instance of the same type or a dictionary mapping the sub-param names to values.
-
signalsBlocked
(self) → bool¶
-
smartsChanged
¶
-
smartsReplaced
¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
suspend_signals
()¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toDict
()¶
-
toJson
(_mark_version=True)¶ Create and returns a data structure made up of jsonable items.
Return type: An instance of one the classes from NATIVE_JSON_DATATYPES
-
toJsonImplementation
()¶ Returns a JSON representation of this value object.
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
valueChanged
¶
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets_pka.
PkaPage
(*args, **kwargs)¶ Bases:
schrodinger.models.mappers.MapperMixin
,schrodinger.ui.qt.basewidgets.BaseWidget
-
model_class
¶ alias of
SmartsPageModel
-
ui_module
= <module 'schrodinger.application.jaguar.gui.ui.pka_smarts_page_ui' from '/scr/buildbot/savedbuilds/2018-4/NB/build-145/internal/lib/python3.6/site-packages/schrodinger/application/jaguar/gui/ui/pka_smarts_page_ui.py'>¶
-
initSetUp
()¶ Creates widget from
ui
and stores itui_widget
.Suggested subclass use: create and initialize subwidgets, and connect signals.
-
updateSpinBoxLimits
()¶ Update limits of atom position spin box to reflect the number of atoms in the SMARTS string
-
defineMappings
()¶ Override this in the subclass to define mappings. Should return a list of tuples [(<target>, <param>)]. Most commonly, targets will be a basic widget, like QLineEdit or QComboBox, or a custom widget that inherits from MapperMixin or TargetMixin.
For more fine-grain custom control, instantiate a Target object, which allows custom setters, getters, and signals to be specified.
The param is an abstract param reference, e.g. MyModel.my_param.
Example:
def defineMappings(self): combo = self.style_combo return [(self.name_le, MyModel.name), (TargetSpec(combo, getter=combo.currentText, setter=combo.setCurrentText), MyModel.style), (self.coord_widget, MyModel.coord)]
-
getFromSelection
()¶ Get smarts from selected atoms in workspace and add it to the current page
-
class
BtnPos
¶ Bases:
enum.IntEnum
An enumeration.
-
Left
= 0¶
-
Middle
= 1¶
-
Right
= 2¶
-
__class__
¶ alias of
enum.EnumMeta
-
__members__
= mappingproxy(OrderedDict([('Left', <BtnPos.Left: 0>), ('Middle', <BtnPos.Middle: 1>), ('Right', <BtnPos.Right: 2>)]))¶
-
__module__
= 'schrodinger.ui.qt.widgetmixins.basicmixins'¶
-
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
IgnoreMask
= 4¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtGui', '__dict__': <attribute '__dict__' of 'PaintDeviceMetric' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'PaintDeviceMetric' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtGui'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
PdmDepth
= 6¶
-
PdmDevicePixelRatio
= 11¶
-
PdmDevicePixelRatioScaled
= 12¶
-
PdmDpiX
= 7¶
-
PdmDpiY
= 8¶
-
PdmHeight
= 2¶
-
PdmHeightMM
= 4¶
-
PdmNumColors
= 5¶
-
PdmPhysicalDpiX
= 9¶
-
PdmPhysicalDpiY
= 10¶
-
PdmWidth
= 1¶
-
PdmWidthMM
= 3¶
-
class
RenderFlag
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__or__': <slot wrapper '__or__' of 'RenderFlag' objects>, '__ror__': <slot wrapper '__ror__' of 'RenderFlag' objects>, '__dict__': <attribute '__dict__' of 'RenderFlag' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'RenderFlag' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__class__
¶ alias of
sip.wrappertype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__hash__': <slot wrapper '__hash__' of 'RenderFlags' objects>, '__lt__': <slot wrapper '__lt__' of 'RenderFlags' objects>, '__le__': <slot wrapper '__le__' of 'RenderFlags' objects>, '__eq__': <slot wrapper '__eq__' of 'RenderFlags' objects>, '__ne__': <slot wrapper '__ne__' of 'RenderFlags' objects>, '__gt__': <slot wrapper '__gt__' of 'RenderFlags' objects>, '__ge__': <slot wrapper '__ge__' of 'RenderFlags' objects>, '__bool__': <slot wrapper '__bool__' of 'RenderFlags' objects>, '__invert__': <slot wrapper '__invert__' of 'RenderFlags' objects>, '__and__': <slot wrapper '__and__' of 'RenderFlags' objects>, '__rand__': <slot wrapper '__rand__' of 'RenderFlags' objects>, '__xor__': <slot wrapper '__xor__' of 'RenderFlags' objects>, '__rxor__': <slot wrapper '__rxor__' of 'RenderFlags' objects>, '__or__': <slot wrapper '__or__' of 'RenderFlags' objects>, '__ror__': <slot wrapper '__ror__' of 'RenderFlags' objects>, '__int__': <slot wrapper '__int__' of 'RenderFlags' objects>, '__iand__': <slot wrapper '__iand__' of 'RenderFlags' objects>, '__ixor__': <slot wrapper '__ixor__' of 'RenderFlags' objects>, '__ior__': <slot wrapper '__ior__' of 'RenderFlags' objects>, '__weakref__': <attribute '__weakref__' of 'RenderFlags' objects>, '__doc__': 'QWidget.RenderFlags()\nQWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag])\nQWidget.RenderFlags(QWidget.RenderFlags)'})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__iand__
¶ Return self&=value.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__ior__
¶ Return self|=value.
-
__ixor__
¶ Return self^=value.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__rand__
¶ Return value&self.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__ror__
¶ Return value|self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
__xor__
¶ Return self^value.
-
-
SHOW_AS_WINDOW
= False¶
-
class
StdBtn
¶ Bases:
enum.IntEnum
An enumeration.
-
Cancel
= 1¶
-
Help
= 3¶
-
Ok
= 0¶
-
Reset
= 2¶
-
__class__
¶ alias of
enum.EnumMeta
-
__members__
= mappingproxy(OrderedDict([('Ok', <StdBtn.Ok: 0>), ('Cancel', <StdBtn.Cancel: 1>), ('Reset', <StdBtn.Reset: 2>), ('Help', <StdBtn.Help: 3>)]))¶
-
__module__
= 'schrodinger.ui.qt.widgetmixins.basicmixins'¶
-
-
__class__
¶ alias of
sip.wrappertype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'schrodinger.application.jaguar.gui.input_tab_widgets_pka', 'model_class': <class 'schrodinger.application.jaguar.gui.input_tab_widgets_pka.SmartsPageModel'>, 'ui_module': <module 'schrodinger.application.jaguar.gui.ui.pka_smarts_page_ui' from '/scr/buildbot/savedbuilds/2018-4/NB/build-145/internal/lib/python3.6/site-packages/schrodinger/application/jaguar/gui/ui/pka_smarts_page_ui.py'>, 'initSetUp': <function PkaPage.initSetUp>, 'updateSpinBoxLimits': <function PkaPage.updateSpinBoxLimits>, 'defineMappings': <function PkaPage.defineMappings>, 'getFromSelection': <function PkaPage.getFromSelection>, '__doc__': None})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattr__
(self, str) → object¶
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'schrodinger.application.jaguar.gui.input_tab_widgets_pka'¶
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
acceptDrops
(self) → bool¶
-
accepted
¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶
-
addActions
(self, object)¶
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
auto_update_model
= True¶
-
auto_update_target
= True¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → object¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(event)¶ Ensures proper handling of OK, Cancel, and [X] button clicks
-
colorCount
(self) → int¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
debug
()¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → object¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
error
(text, title='Error')¶ Shows a popup error message box. For parameter documentation see
messagebox.MessageBox
.
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
forgetMessageBoxResponse
(key)¶ Forgets any previously saved response that was stored via a save_response_key.
Parameters: key – the key for the response to forget
-
frameGeometry
(self) → QRect¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
getSignalsAndSlots
(model)¶ Override this method to specify signal and slot pairs that need to be connected/disconnected whenever the model instance is switched using setModel. The model instance is provided as an argument so that instance-specific signals can be used, but any pairs of signals and slots may be returned from this method.
Returns: a list of 2-tuples where each tuple is a signal, slot pair
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
hasFocus
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
info
(text, title='Info', save_response_key=None)¶ Shows a popup information message box. For parameter documentation see
messagebox.MessageBox
.
-
inherits
(self, str) → bool¶
-
initFinalize
()¶ Suggested subclass use: perform any remaining initialization.
-
initLayOut
()¶
-
initPainter
(self, QPainter)¶
-
initSetDefaults
()¶
-
initSetOptions
()¶ Suggested subclass use: set instance variables, excluding layouts and subwidgets.
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mappedParams
()¶ Return a list of the abstract params that are mapped to.
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
question
(text, title='Question', save_response_key=None, yes_text='OK', no_text=None, add_cancel_btn=True, more_btns_list=None, default_btn_txt=<object object>)¶ Shows a popup question message box. For parameter documentation see
messagebox.QuestionMessageBox
.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
reportValidation
(results)¶ Present validation messages to the user. This is an implmentation of the
ValidationMixin
interface and does not need to be called directly.This method assumes that
error
andquestion
methods have been defined in the subclass, as in e.g.widget_mixins.MessageBoxMixin
.Parameters: results ( validation.ValidationResults
) – Set of validation results generated byvalidate
Returns: if True, there were no validation errors and the user decided to continue despite any warnings. If False, there was at least one validation error or the user decided to abort when faced with a warning.
-
resetMappedParams
()¶
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
run
(blocking=False, modal=False, finished_callback=None)¶ Show this widget, while optionally blocking, making the widget window modal, and registering a callback for when the widget is closed again.
Parameters: - blocking (bool) – if True, block progress in the calling method until the widget is closed again.
- modal (bool) – if True, open this widget as window modal. Otherwise, open this widget as nonmodal.
- finished_callback (a callable object) – an object that will be called with no arguments when this widget is closed.
-
runValidation
(silent=False, validate_children=True, stop_on_fail=True)¶ Runs validation and reports the results (unless run silently).
Parameters: - silent (bool) – run without any reporting (i.e. error messages to the
user). This is useful if we want to programmatically test validity.
Changes return value of this method from
ValidationResults
to a boolean. - validate_children (bool) – run validation on all child objects. See
_validateChildren
for documentation on what this entails. - stop_on_fail (bool) – stop validation when first failure is encountered
Returns: if silent is False, returns the validation results. If silent is True, returns a boolean generated by
reportValidation
.Return type: ValidationResults
or bool- silent (bool) – run without any reporting (i.e. error messages to the
user). This is useful if we want to programmatically test validity.
Changes return value of this method from
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDefaults
()¶
-
setDisabled
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setModel
(model)¶ Sets the model object for the mapper. Disconnects the old model, if one is set, and connects the new model. Pass in None to have no model set.
Parameters: model – the model instance or None
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVisible
(set_visible)¶
-
setWhatsThis
(self, str)¶
-
setWidgetLayout
()¶ Set the widget layout
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(flags=None)¶
-
setWindowFlagsForRun
()¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
show
()¶ Override the show method to clear and previous value of self.accepted
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showMaximized
(self)¶
-
showMessageBox
(text, title, save_response_key=None, icon=None)¶ Shows a popup message box. For parameter documentation see
messagebox.MessageBox
.
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
signalsBlocked
(self) → bool¶
-
size
(self) → QSize¶
-
sizeHint
(self) → QSize¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
stackUnder
(self, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
targetGetValue
()¶
-
targetSetValue
(value)¶
-
targetValueChanged
¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
visibleRegion
(self) → QRegion¶
-
warning
(text, title='Warning', save_response_key=None)¶ Shows a popup warning message box. For parameter documentation see
messagebox.MessageBox
.
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets_pka.
SmartsSelector
(*args, **kwargs)¶ Bases:
schrodinger.ui.qt.basewidgets.BaseWidget
A popup widget that allows users to specify any number of SMARTS strings to specify pka atoms as well as an atom position which specifies the atom in the SMARTS
Variables: smartsChanged – a signal emitted when the popup is closed. This signal passes the list of models for the SMARTS pages Vartype: schrodinger.Qt.QtCore.pyqtSignal -
closed
¶
-
ui_module
= <module 'schrodinger.application.jaguar.gui.ui.define_smarts_panel_ui' from '/scr/buildbot/savedbuilds/2018-4/NB/build-145/internal/lib/python3.6/site-packages/schrodinger/application/jaguar/gui/ui/define_smarts_panel_ui.py'>¶
-
initSetOptions
()¶ Suggested subclass use: set instance variables, excluding layouts and subwidgets.
-
initSetUp
()¶ Creates widget from
ui
and stores itui_widget
.Suggested subclass use: create and initialize subwidgets, and connect signals.
-
addPage
()¶ Add an additional page for specifying SMARTS
-
removeCurrentPage
()¶ Remove the current page. If there was only one page before removing, add another after so there is always one page.
-
next
()¶ Show next page of stacked widget
-
back
()¶ Show previous page of stacked widget
-
updatePagination
()¶ Enable or disable forward and back button based on current page index and number of pages and update label indicating current page
-
getModels
()¶ Get the models for the Smarts Pages
Returns: A list of the models Return type: list(SmartsPageModel)
-
closeEvent
(ev)¶ Ensures proper handling of OK, Cancel, and [X] button clicks
-
class
BtnPos
¶ Bases:
enum.IntEnum
An enumeration.
-
Left
= 0¶
-
Middle
= 1¶
-
Right
= 2¶
-
__class__
¶ alias of
enum.EnumMeta
-
__members__
= mappingproxy(OrderedDict([('Left', <BtnPos.Left: 0>), ('Middle', <BtnPos.Middle: 1>), ('Right', <BtnPos.Right: 2>)]))¶
-
__module__
= 'schrodinger.ui.qt.widgetmixins.basicmixins'¶
-
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
IgnoreMask
= 4¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtGui', '__dict__': <attribute '__dict__' of 'PaintDeviceMetric' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'PaintDeviceMetric' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtGui'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
PdmDepth
= 6¶
-
PdmDevicePixelRatio
= 11¶
-
PdmDevicePixelRatioScaled
= 12¶
-
PdmDpiX
= 7¶
-
PdmDpiY
= 8¶
-
PdmHeight
= 2¶
-
PdmHeightMM
= 4¶
-
PdmNumColors
= 5¶
-
PdmPhysicalDpiX
= 9¶
-
PdmPhysicalDpiY
= 10¶
-
PdmWidth
= 1¶
-
PdmWidthMM
= 3¶
-
class
RenderFlag
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__or__': <slot wrapper '__or__' of 'RenderFlag' objects>, '__ror__': <slot wrapper '__ror__' of 'RenderFlag' objects>, '__dict__': <attribute '__dict__' of 'RenderFlag' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'RenderFlag' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__class__
¶ alias of
sip.wrappertype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__hash__': <slot wrapper '__hash__' of 'RenderFlags' objects>, '__lt__': <slot wrapper '__lt__' of 'RenderFlags' objects>, '__le__': <slot wrapper '__le__' of 'RenderFlags' objects>, '__eq__': <slot wrapper '__eq__' of 'RenderFlags' objects>, '__ne__': <slot wrapper '__ne__' of 'RenderFlags' objects>, '__gt__': <slot wrapper '__gt__' of 'RenderFlags' objects>, '__ge__': <slot wrapper '__ge__' of 'RenderFlags' objects>, '__bool__': <slot wrapper '__bool__' of 'RenderFlags' objects>, '__invert__': <slot wrapper '__invert__' of 'RenderFlags' objects>, '__and__': <slot wrapper '__and__' of 'RenderFlags' objects>, '__rand__': <slot wrapper '__rand__' of 'RenderFlags' objects>, '__xor__': <slot wrapper '__xor__' of 'RenderFlags' objects>, '__rxor__': <slot wrapper '__rxor__' of 'RenderFlags' objects>, '__or__': <slot wrapper '__or__' of 'RenderFlags' objects>, '__ror__': <slot wrapper '__ror__' of 'RenderFlags' objects>, '__int__': <slot wrapper '__int__' of 'RenderFlags' objects>, '__iand__': <slot wrapper '__iand__' of 'RenderFlags' objects>, '__ixor__': <slot wrapper '__ixor__' of 'RenderFlags' objects>, '__ior__': <slot wrapper '__ior__' of 'RenderFlags' objects>, '__weakref__': <attribute '__weakref__' of 'RenderFlags' objects>, '__doc__': 'QWidget.RenderFlags()\nQWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag])\nQWidget.RenderFlags(QWidget.RenderFlags)'})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__iand__
¶ Return self&=value.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__ior__
¶ Return self|=value.
-
__ixor__
¶ Return self^=value.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__rand__
¶ Return value&self.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__ror__
¶ Return value|self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
__xor__
¶ Return self^value.
-
-
SHOW_AS_WINDOW
= False¶
-
class
StdBtn
¶ Bases:
enum.IntEnum
An enumeration.
-
Cancel
= 1¶
-
Help
= 3¶
-
Ok
= 0¶
-
Reset
= 2¶
-
__class__
¶ alias of
enum.EnumMeta
-
__members__
= mappingproxy(OrderedDict([('Ok', <StdBtn.Ok: 0>), ('Cancel', <StdBtn.Cancel: 1>), ('Reset', <StdBtn.Reset: 2>), ('Help', <StdBtn.Help: 3>)]))¶
-
__module__
= 'schrodinger.ui.qt.widgetmixins.basicmixins'¶
-
-
__class__
¶ alias of
sip.wrappertype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'schrodinger.application.jaguar.gui.input_tab_widgets_pka', '__doc__': '\n A popup widget that allows users to specify any number of SMARTS strings\n to specify pka atoms as well as an atom position which specifies the atom\n in the SMARTS\n\n :ivar smartsChanged: a signal emitted when the popup is closed. This\n signal passes the list of models for the SMARTS pages\n :vartype: schrodinger.Qt.QtCore.pyqtSignal\n ', 'closed': <unbound PYQT_SIGNAL SmartsSelector.closed[]>, 'ui_module': <module 'schrodinger.application.jaguar.gui.ui.define_smarts_panel_ui' from '/scr/buildbot/savedbuilds/2018-4/NB/build-145/internal/lib/python3.6/site-packages/schrodinger/application/jaguar/gui/ui/define_smarts_panel_ui.py'>, 'initSetOptions': <function SmartsSelector.initSetOptions>, 'initSetUp': <function SmartsSelector.initSetUp>, 'addPage': <function SmartsSelector.addPage>, 'removeCurrentPage': <function SmartsSelector.removeCurrentPage>, 'next': <function SmartsSelector.next>, 'back': <function SmartsSelector.back>, 'updatePagination': <function SmartsSelector.updatePagination>, 'getModels': <function SmartsSelector.getModels>, 'closeEvent': <function SmartsSelector.closeEvent>})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattr__
(self, str) → object¶
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'schrodinger.application.jaguar.gui.input_tab_widgets_pka'¶
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
acceptDrops
(self) → bool¶
-
accepted
¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶
-
addActions
(self, object)¶
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → object¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
colorCount
(self) → int¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
debug
()¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → object¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
error
(text, title='Error')¶ Shows a popup error message box. For parameter documentation see
messagebox.MessageBox
.
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
forgetMessageBoxResponse
(key)¶ Forgets any previously saved response that was stored via a save_response_key.
Parameters: key – the key for the response to forget
-
frameGeometry
(self) → QRect¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
hasFocus
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
info
(text, title='Info', save_response_key=None)¶ Shows a popup information message box. For parameter documentation see
messagebox.MessageBox
.
-
inherits
(self, str) → bool¶
-
initFinalize
()¶ Suggested subclass use: perform any remaining initialization.
-
initLayOut
()¶
-
initPainter
(self, QPainter)¶
-
initSetDefaults
()¶ Set widget to its default state. If the widget uses a model/mapper, it’s preferable to reset the widget state by resetting the model.
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
question
(text, title='Question', save_response_key=None, yes_text='OK', no_text=None, add_cancel_btn=True, more_btns_list=None, default_btn_txt=<object object>)¶ Shows a popup question message box. For parameter documentation see
messagebox.QuestionMessageBox
.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
reportValidation
(results)¶ Present validation messages to the user. This is an implmentation of the
ValidationMixin
interface and does not need to be called directly.This method assumes that
error
andquestion
methods have been defined in the subclass, as in e.g.widget_mixins.MessageBoxMixin
.Parameters: results ( validation.ValidationResults
) – Set of validation results generated byvalidate
Returns: if True, there were no validation errors and the user decided to continue despite any warnings. If False, there was at least one validation error or the user decided to abort when faced with a warning.
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
run
(blocking=False, modal=False, finished_callback=None)¶ Show this widget, while optionally blocking, making the widget window modal, and registering a callback for when the widget is closed again.
Parameters: - blocking (bool) – if True, block progress in the calling method until the widget is closed again.
- modal (bool) – if True, open this widget as window modal. Otherwise, open this widget as nonmodal.
- finished_callback (a callable object) – an object that will be called with no arguments when this widget is closed.
-
runValidation
(silent=False, validate_children=True, stop_on_fail=True)¶ Runs validation and reports the results (unless run silently).
Parameters: - silent (bool) – run without any reporting (i.e. error messages to the
user). This is useful if we want to programmatically test validity.
Changes return value of this method from
ValidationResults
to a boolean. - validate_children (bool) – run validation on all child objects. See
_validateChildren
for documentation on what this entails. - stop_on_fail (bool) – stop validation when first failure is encountered
Returns: if silent is False, returns the validation results. If silent is True, returns a boolean generated by
reportValidation
.Return type: ValidationResults
or bool- silent (bool) – run without any reporting (i.e. error messages to the
user). This is useful if we want to programmatically test validity.
Changes return value of this method from
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVisible
(set_visible)¶
-
setWhatsThis
(self, str)¶
-
setWidgetLayout
()¶ Set the widget layout
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(flags=None)¶
-
setWindowFlagsForRun
()¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
show
()¶ Override the show method to clear and previous value of self.accepted
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showMaximized
(self)¶
-
showMessageBox
(text, title, save_response_key=None, icon=None)¶ Shows a popup message box. For parameter documentation see
messagebox.MessageBox
.
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
signalsBlocked
(self) → bool¶
-
size
(self) → QSize¶
-
sizeHint
(self) → QSize¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
stackUnder
(self, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
visibleRegion
(self) → QRegion¶
-
warning
(text, title='Warning', save_response_key=None)¶ Shows a popup warning message box. For parameter documentation see
messagebox.MessageBox
.
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets_pka.
AtomSelectionDelegate
(parent)¶ Bases:
schrodinger.application.jaguar.gui.input_tab_widgets.CommitMultipleDelegate
,schrodinger.ui.qt.delegates.DefaultMessageDelegate
A delegate for selecting a pKa atom. The atom name can either be typed into the line edit or selected from the workspace. A tool tip containing instructions will appear when the editor is first open and any time the user hovers their mouse over the editor. If the user clicks on an atom from the wrong structure, the atom will be ignored and a tool tip warning will appear. Clicking on an atom does not close the editor so that the user can immediately pick a different atom if desired.
Variables: set_pka_marker ( PyQt5.QtCore.pyqtSignal
) –A signal emitted when a new pKa atom should be marked in the workspace. Emitted with two arguments:
- The entry id of the structure to be marked (str)
- List of atoms (
schrodinger.structure._StructureAtom
) to be marked
-
MAESTRO_STATUS_MESSAGE
= 'Pick an atom to be treated as the pKa atom'¶
-
TOOL_TIP_INSTRUCTIONS
= 'Click an atom in the workspace to\nset it as the pKa atom or type the\natom name here.'¶
-
TOOL_TIP_WRONG_EID
= 'The atom you selected is not\npart of this structure.'¶
-
set_pka_marker
¶
-
__init__
(parent)¶ Initialize self. See help(type(self)) for accurate signature.
-
createEditor
(self, QWidget, QStyleOptionViewItem, QModelIndex) → QWidget¶
-
setEditorData
(self, QWidget, QModelIndex)¶
-
setModelData
(self, QWidget, QAbstractItemModel, QModelIndex)¶
-
eventFilter
(editor, event)¶ Make sure that the editor doesn’t close when the user clicks on another window since that will prevent the user from being able to click on an atom.
Parameters: - editor (
PyQt5.QtWidgets.QWidget
) – The pKa atom line edit - event – A Qt event
- event –
PyQt5.QtCore.QEvent
Note: We don’t need to worry about the case where the user clicks on a different widget in the pKa panel after selecting an atom. Since the editor was the last widget with focus in the pKa panel, it will receive another FocusOut event when the other widget receives focus, and that FocusOut event will cause the editor to close.
- editor (
-
EditNextItem
= 1¶
-
EditPreviousItem
= 2¶
-
class
EndEditHint
¶ Bases:
int
-
__abs__
¶ abs(self)
-
__add__
¶ Return self+value.
-
__and__
¶ Return self&value.
-
__bool__
¶ self != 0
-
__ceil__
()¶ Ceiling of an Integral returns itself.
-
__class__
¶ alias of
sip.enumtype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'PyQt5.QtWidgets', '__dict__': <attribute '__dict__' of 'EndEditHint' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'EndEditHint' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__divmod__
¶ Return divmod(self, value).
-
__eq__
¶ Return self==value.
-
__float__
¶ float(self)
-
__floor__
()¶ Flooring an Integral returns itself.
-
__floordiv__
¶ Return self//value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__getnewargs__
()¶
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__index__
¶ Return self converted to an integer, if self is suitable for use as an index into a list.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__int__
¶ int(self)
-
__invert__
¶ ~self
-
__le__
¶ Return self<=value.
-
__lshift__
¶ Return self<<value.
-
__lt__
¶ Return self<value.
-
__mod__
¶ Return self%value.
-
__module__
= 'PyQt5.QtWidgets'¶
-
__mul__
¶ Return self*value.
-
__ne__
¶ Return self!=value.
-
__neg__
¶ -self
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__or__
¶ Return self|value.
-
__pos__
¶ +self
-
__pow__
¶ Return pow(self, value, mod).
-
__radd__
¶ Return value+self.
-
__rand__
¶ Return value&self.
-
__rdivmod__
¶ Return divmod(value, self).
-
__reduce__
()¶
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__rfloordiv__
¶ Return value//self.
-
__rlshift__
¶ Return value<<self.
-
__rmod__
¶ Return value%self.
-
__rmul__
¶ Return value*self.
-
__ror__
¶ Return value|self.
-
__round__
()¶ Rounding an Integral returns itself. Rounding with an ndigits argument also returns an integer.
-
__rpow__
¶ Return pow(value, self, mod).
-
__rrshift__
¶ Return value>>self.
-
__rshift__
¶ Return self>>value.
-
__rsub__
¶ Return value-self.
-
__rtruediv__
¶ Return value/self.
-
__rxor__
¶ Return value^self.
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Returns size in memory, in bytes
-
__str__
¶ Return str(self).
-
__sub__
¶ Return self-value.
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__truediv__
¶ Return self/value.
-
__trunc__
()¶ Truncating an Integral returns itself.
-
__xor__
¶ Return self^value.
-
bit_length
() → int¶ Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
-
conjugate
()¶ Returns self, the complex conjugate of any int.
-
denominator
¶ the denominator of a rational number in lowest terms
-
from_bytes
(bytes, byteorder, *, signed=False) → int¶ Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument indicates whether two’s complement is used to represent the integer.
-
imag
¶ the imaginary part of a complex number
-
numerator
¶ the numerator of a rational number in lowest terms
-
real
¶ the real part of a complex number
-
to_bytes
(length, byteorder, *, signed=False) → bytes¶ Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is raised if the integer is not representable with the given number of bytes.
The byteorder argument determines the byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value.
The signed keyword-only argument determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
-
-
FONT
= <PyQt5.QtGui.QFont object>¶
-
FOREGROUND
= <PyQt5.QtGui.QBrush object>¶
-
NoHint
= 0¶
-
RevertModelCache
= 4¶
-
SubmitModelCache
= 3¶
-
__class__
¶ alias of
sip.wrappertype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'schrodinger.application.jaguar.gui.input_tab_widgets_pka', '__doc__': '\n A delegate for selecting a pKa atom. The atom name can either be typed into\n the line edit or selected from the workspace. A tool tip containing\n instructions will appear when the editor is first open and any time the user\n hovers their mouse over the editor. If the user clicks on an atom from the\n wrong structure, the atom will be ignored and a tool tip warning will\n appear. Clicking on an atom does not close the editor so that the user can\n immediately pick a different atom if desired.\n\n :ivar set_pka_marker: A signal emitted when a new pKa atom should be marked\n in the workspace. Emitted with two arguments:\n - The entry id of the structure to be marked (str)\n - List of atoms (`schrodinger.structure._StructureAtom`) to be marked\n :vartype set_pka_marker: `PyQt5.QtCore.pyqtSignal`\n ', 'MAESTRO_STATUS_MESSAGE': 'Pick an atom to be treated as the pKa atom', 'TOOL_TIP_INSTRUCTIONS': 'Click an atom in the workspace to\nset it as the pKa atom or type the\natom name here.', 'TOOL_TIP_WRONG_EID': 'The atom you selected is not\npart of this structure.', 'set_pka_marker': <unbound PYQT_SIGNAL AtomSelectionDelegate.set_pka_marker[str, object]>, '__init__': <function AtomSelectionDelegate.__init__>, 'createEditor': <function AtomSelectionDelegate.createEditor>, '_ensureEntryIncluded': <function AtomSelectionDelegate._ensureEntryIncluded>, 'setEditorData': <function AtomSelectionDelegate.setEditorData>, 'setModelData': <function AtomSelectionDelegate.setModelData>, '_setEditorAtom': <function AtomSelectionDelegate._setEditorAtom>, '_getAtoms': <function AtomSelectionDelegate._getAtoms>, '_updateEditorText': <function AtomSelectionDelegate._updateEditorText>, '_resetMarker': <function AtomSelectionDelegate._resetMarker>, 'eventFilter': <function AtomSelectionDelegate.eventFilter>, '_showToolTip': <function AtomSelectionDelegate._showToolTip>, '_showToolTipTimer': <function AtomSelectionDelegate._showToolTipTimer>})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattr__
(self, str) → object¶
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'schrodinger.application.jaguar.gui.input_tab_widgets_pka'¶
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
blockSignals
(self, bool) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → object¶
-
closeEditor
¶ closeEditor(self, QWidget, QAbstractItemDelegate.EndEditHint = QAbstractItemDelegate.NoHint) [signal]
-
commitData
¶ commitData(self, QWidget) [signal]
-
commitDataToSelected
¶
-
connectNotify
(self, QMetaMethod)¶
-
customEvent
(self, QEvent)¶
-
deleteLater
(self)¶
-
destroyEditor
(self, QWidget, QModelIndex)¶
-
destroyed
¶ destroyed(self, QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
displayText
(self, Any, QLocale) → str¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → object¶
-
editorEvent
(self, QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex) → bool¶
-
event
(self, QEvent) → bool¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
helpEvent
(self, QHelpEvent, QAbstractItemView, QStyleOptionViewItem, QModelIndex) → bool¶
-
inherits
(self, str) → bool¶
-
initStyleOption
(self, QStyleOptionViewItem, QModelIndex)¶
-
installEventFilter
(self, QObject)¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemEditorFactory
(self) → QItemEditorFactory¶
-
killTimer
(self, int)¶
-
metaObject
(self) → QMetaObject¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
paint
(painter, option, index)¶ If the DisplayRole data for index is empty, paint the default message instead.
See Qt documentation for an explanation of arguments.
-
parent
(self) → QObject¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
receivers
(self, PYQT_SIGNAL) → int¶
-
removeEventFilter
(self, QObject)¶
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setItemEditorFactory
(self, QItemEditorFactory)¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
signalsBlocked
(self) → bool¶
-
sizeHint
(self, QStyleOptionViewItem, QModelIndex) → QSize¶
-
sizeHintChanged
¶ sizeHintChanged(self, QModelIndex) [signal]
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
updateEditorGeometry
(self, QWidget, QStyleOptionViewItem, QModelIndex)¶