schrodinger.application.matsci.qualityslider module¶
A QSlider that allows the user to select Jaguar keywords based on Coarse/Medium/Accurate settings. The keywords are displayed to the user in a QLineEdit that by default is editable by the user. The main widget is a QFrame object that has a .slider property that is the QSlider and a .line_edit property that is the QLineEdit.
Alternatively, the Frame can contain radiobuttons instead of a QSlider
Copyright Schrodinger, LLC. All rights reserved.
-
class
schrodinger.application.matsci.qualityslider.
KeywordEdit
(label_text='', keyword_dict=None, keyword_string='', **kwargs)¶ Bases:
schrodinger.ui.qt.swidgets.SLabeledEdit
A swidgets.SLabeledEdit for displaying, editing and retrieving Jaguar keywords.
-
__init__
(label_text='', keyword_dict=None, keyword_string='', **kwargs)¶ Create a KeywordEdit instance.
Any unrecognized keyword arguments are passed to the SLabeledEdit class
Parameters: - label_text (str) – The text of the label for the KeywordEdit. By default, there is no label.
- keyword_dict (dict) – A dictionary of keyword/value pairs for the KeywordEdit to display. If both keyword_dict and keyword_string are supplied, the keyword_dict keywords appear first.
- keyword_string (str) – The string to display in the KeywordEdit If both keyword_dict and keyword_string are supplied, the keyword_dict keywords appear first.
-
getKeywordString
()¶ Return the keyword string in the QLineEdit
Return type: str Returns: The string in the QLineEdit. No validity checking is done.
-
getKeywordDict
(keystring=None)¶ Return a dictionary whose keys are keywords and values are keyword values
Parameters: keystring (str) – If provided, the keywords are taken from this string rather than the QLineEdit. The default is to take the keywords from the QLineEdit Return type: dict Returns: Dictionary of keyword/value pairs Raises: ValueError – if any tokens do not match the keyword=value format
-
setKeywords
(keyword_dict=None, keyword_string='')¶ Set the text of the KeywordEdit
Parameters: - keyword_dict (dict) – A dictionary of keyword/value pairs for the KeywordEdit to display. If both keyword_dict and keyword_string are supplied, the keyword_dict keywords appear first.
- keyword_string (str) – The string to display in the KeywordEdit If both keyword_dict and keyword_string are supplied, the keyword_dict keywords appear first.
-
validateKeywords
(emptyok=False)¶ Validate the contents to ensure they are valid Jaguar keywords. The return value of this is compatible with appframework2 validation methods - i.e. an af2 validation method can just call: return self.keyword_le.validateKeywords()
Parameters: emptyok (bool) – Whether it is OK for the keyword input to be empty Return type: True or (False, str) Returns: True if no errors are found, otherwise a tuple containing False and an error message.
-
AV_ERROR_MSG
= 'always_valid must be used in conjuction with a QValidator that has a restoreLastValidValue method.'¶
-
class
ActionPosition
¶ 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 'ActionPosition' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'ActionPosition' 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.
-
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
class
EchoMode
¶ 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 'EchoMode' objects>, '__doc__': None, '__reduce__': <method '_pickle_enum' of 'EchoMode' 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.
-
-
IgnoreMask
= 4¶
-
LeadingPosition
= 0¶
-
NoEcho
= 1¶
-
Normal
= 0¶
-
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.
-
-
Password
= 2¶
-
PasswordEchoOnEdit
= 3¶
-
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.
-
-
TrailingPosition
= 1¶
-
__class__
¶ alias of
sip.wrappertype
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'schrodinger.application.matsci.qualityslider', '__doc__': '\n A swidgets.SLabeledEdit for displaying, editing and retrieving Jaguar\n keywords.\n ', '__init__': <function KeywordEdit.__init__>, 'getKeywordString': <function KeywordEdit.getKeywordString>, 'getKeywordDict': <function KeywordEdit.getKeywordDict>, 'setKeywords': <function KeywordEdit.setKeywords>, 'validateKeywords': <function KeywordEdit.validateKeywords>})¶
-
__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.matsci.qualityslider'¶
-
__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)¶
-
addAction
(self, QAction)¶ addAction(self, QAction, QLineEdit.ActionPosition) addAction(self, QIcon, QLineEdit.ActionPosition) -> QAction
-
addActions
(self, object)¶
-
adjustSize
(self)¶
-
alignment
(self) → Qt.Alignment¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
backspace
(self)¶
-
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¶
-
clear
(self)¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
completer
(self) → QCompleter¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
copy
(self)¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createStandardContextMenu
(self) → QMenu¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
cursorBackward
(self, bool, steps: int = 1)¶
-
cursorForward
(self, bool, steps: int = 1)¶
-
cursorMoveStyle
(self) → Qt.CursorMoveStyle¶
-
cursorPosition
(self) → int¶
-
cursorPositionAt
(self, QPoint) → int¶
-
cursorPositionChanged
¶ cursorPositionChanged(self, int, int) [signal]
-
cursorRect
(self) → QRect¶
-
cursorWordBackward
(self, bool)¶
-
cursorWordForward
(self, bool)¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
cut
(self)¶
-
del_
(self)¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
deselect
(self)¶
-
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)¶
-
displayText
(self) → str¶
-
dragEnabled
(self) → bool¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → object¶
-
echoMode
(self) → QLineEdit.EchoMode¶
-
editingFinished
¶ editingFinished(self) [signal]
-
effectiveWinId
(self) → sip.voidptr¶
-
end
(self, bool)¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(edit, event)¶ Filter FocusOut events so we can restore the last valid value
Note: This could have been done in the event() method rather than eventFilter() method, but doing it this way allows us to NOT process events for line edits that don’t always_valid validity, which saves on overhead.
Parameters: - edit (QWidget) – The widget that generated this event - will be this instance (self)
- event (QEvent) – The QEvent object generated by the event
Return type: bool
Returns: Whether event processing should stop for this event
-
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]
-
float
()¶ Returns the current value of the LineEdit as a float
Return type: float Returns: Current float value of the LineEdit
-
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¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
getString
()¶ Returns the current value of the LineEdit as a string
Return type: str Returns: The current string value of the LineEdit
-
getTextMargins
(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¶
-
hasAcceptableInput
(self) → bool¶
-
hasFocus
(self) → bool¶
-
hasFrame
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasSelectedText
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
home
(self, bool)¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMask
(self) → str¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶ inputMethodQuery(self, Qt.InputMethodQuery, Any) -> Any
-
insert
(self, str)¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
int
()¶ Returns the current value of the LineEdit as a float
Return type: int Returns: Current int value of the LineEdit
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isClearButtonEnabled
(self) → 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¶
-
isModified
(self) → bool¶
-
isReadOnly
(self) → bool¶
-
isRedoAvailable
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isUndoAvailable
(self) → 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¶
-
maxLength
(self) → int¶
-
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¶
-
paste
(self)¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
placeholderText
(self) → str¶
-
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.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
redo
(self)¶
-
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
()¶ Reset the label and line edit to their default values
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(resize_event)¶ This is used to place the clear text button
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
returnPressed
¶ returnPressed(self) [signal]
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
selectAll
(self)¶
-
selectedText
(self) → str¶
-
selectionChanged
¶ selectionChanged(self) [signal]
-
selectionStart
(self) → int¶
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAlignment
(self, Union[Qt.Alignment, Qt.AlignmentFlag])¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setClearButton
(show_clear)¶ This function sets up the clearButton depending on whether the line edit is using it or not. :param show_clear: Whether to show the button or not (at any time) :type show_clear: bool
-
setClearButtonEnabled
(self, bool)¶
-
setCompleter
(self, QCompleter)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setCursorMoveStyle
(self, Qt.CursorMoveStyle)¶
-
setCursorPosition
(self, int)¶
-
setDisabled
(self, bool)¶
-
setDragEnabled
(self, bool)¶
-
setEchoMode
(self, QLineEdit.EchoMode)¶
-
setEnabled
(state)¶ Set all child widgets to enabled state of state
Parameters: state (bool) – True if widgets should be enabled, False if not
-
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)¶
-
setFrame
(self, bool)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setIndicator
(state, tip=None)¶ Set the state of the indicator icon
Parameters: - state (int) – The new state of the indicator. Should be one of the module constants INDICATOR_VALID, INDICATOR_INTERMEDIATE, INDICATOR_INVALID
- tip (str) – The new tooltip for the indicator icon - if not provided, the tooltips, if any, given to the constructor will be used.
-
setInputMask
(self, str)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaxLength
(self, int)¶
-
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)¶
-
setModified
(self, bool)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setPlaceholderText
(self, str)¶
-
setProperty
(self, str, Any) → bool¶
-
setReadOnly
(self, bool)¶
-
setSelection
(self, int, int)¶
-
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)¶
-
setText
(self, str)¶
-
setTextMargins
(self, int, int, int, int)¶ setTextMargins(self, QMargins)
-
setToAlwaysValid
()¶ Set this instance to always replace invalid text with valid text per validation performed by self.validator
NOTE: The original value is never validated, so we need to set the validator last_valid_value property by hand. Note that forcing a validation here doesn’t work - appears to be a PyQt bug (or feature) where validation doesn’t work inside the __init__method. store it as the last valid value.
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setValidator
(self, QValidator)¶
-
setVisible
(state)¶ Set all child widgets to visible state of state
Parameters: state (bool) – True if widgets should be visible, False if not
-
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)¶
-
show
(self)¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showMaximized
(self)¶
-
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¶
-
text
(self) → str¶
-
textChanged
¶ textChanged(self, str) [signal]
-
textEdited
¶ textEdited(self, str) [signal]
-
textMargins
(self) → QMargins¶
-
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¶
-
undo
(self)¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateClearButton
(text)¶ Show the clear button if it’s turned on, and the text is non-empty
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
validator
(self) → QValidator¶
-
visibleRegion
(self) → 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¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.matsci.qualityslider.
QualitySlider
(parent=None, label='Calculation quality:', useredit=True, layout=None, coarse='', medium='', accurate='', radiobuttons=False)¶ Bases:
PyQt5.QtWidgets.QFrame
A widget that allows the user to see and edit the Jaguar keywords for three different accuracy levels.
The QFrame contains either a QSlider or set of QRadioButtons and an SLabeldLineEdit. The QSlider/QRadioButtons can be used to switch between accuracy levels, and the keywords for that accuracy level are displayed in the SLabeledLineEdit
-
COARSE
= 0¶
-
MEDIUM
= 1¶
-
ACCURATE
= 2¶
-
LABELS
= {0: 'Coarse', 1: 'Medium', 2: 'Accurate'}¶
-
__init__
(parent=None, label='Calculation quality:', useredit=True, layout=None, coarse='', medium='', accurate='', radiobuttons=False)¶ Create a QualitySlider instance
Parameters: - parent (QWidget) – The parent of this QFrame
- label (str) – The label shown in the frame
- useredit (bool) – True if the user can edit the keywords, False if not
- layout (QBoxLayout) – The layout to add this QFrame to
- coarse (str) – The keyword string for coarse calculations
- medium (str) – The keyword string for medium calculations
- accurate (str) – The keyword string for accurate calculations
-
layout
(self) → QLayout¶
Callback for radiobutton toggled signals - change the keywords displayed in the KeywordEdit
-
valueChanged
(newvalue)¶ Callback for when the QSlider changes value - change the keywords displayed in the KeywordEdit
Parameters: newvalue (int) – The current value of the QSlider
-
updateKeywordEdit
(setting)¶ Change the keywords in the KeywordEdit to be those for the accuracy level of setting
Parameters: setting (int) – One of the class constants COARSE, MEDIUM or ACCURATE
-
Box
= 1¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
HLine
= 4¶
-
IgnoreMask
= 4¶
-
NoFrame
= 0¶
-
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¶
-
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
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¶
-
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.matsci.qualityslider', '__doc__': '\n A widget that allows the user to see and edit the Jaguar keywords for three\n different accuracy levels.\n\n The QFrame contains either a QSlider or set of QRadioButtons and an\n SLabeldLineEdit. The QSlider/QRadioButtons can be used to switch between\n accuracy levels, and the keywords for that accuracy level are displayed in\n the SLabeledLineEdit\n ', 'COARSE': 0, 'MEDIUM': 1, 'ACCURATE': 2, 'LABELS': {0: 'Coarse', 1: 'Medium', 2: 'Accurate'}, '__init__': <function QualitySlider.__init__>, 'buttonChanged': <function QualitySlider.buttonChanged>, 'valueChanged': <function QualitySlider.valueChanged>, 'updateKeywordEdit': <function QualitySlider.updateKeywordEdit>, 'setKeywords': <function QualitySlider.setKeywords>, 'getKeywordString': <function QualitySlider.getKeywordString>, 'getKeywordDict': <function QualitySlider.getKeywordDict>, 'getCurrentSetting': <function QualitySlider.getCurrentSetting>})¶
-
__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.matsci.qualityslider'¶
-
__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)¶
-
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¶
-
closeEvent
(self, QCloseEvent)¶
-
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)¶
-
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)¶
-
drawFrame
(self, QPainter)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → object¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
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¶
-
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¶
-
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)¶
-
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¶
-
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)¶
-
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¶
-
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¶
-
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.
-
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)
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
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)¶
-
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)¶
-
setHidden
(self, bool)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setKeywords
(setting, keywords, append=False)¶ Set the keywords for a particular accuracy level
Parameters: - setting (int) – One of the class constants COARSE, MEDIUM or ACCURATE
- keywords (str) – The string to use for the new keywords
- append (bool) – True if the keywords string should be added to the current string, False (default) if it should replace the current string.
-
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)¶
-
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
(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)¶
-
show
(self)¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showMaximized
(self)¶
-
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¶
-
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¶
-
getKeywordString
()¶ Return the current string in the KeywordEdit
Return type: str Returns: The current string in the KeywordEdit
-
getKeywordDict
()¶ Return a dictionary whose keys are keywords and values are keyword values for the current KeywordEdit contents.
Return type: dict Returns: Dictionary of keyword/value pairs Raises: ValueError – if any tokens do not match the keyword=value format
-
getCurrentSetting
()¶ Return the current setting of the QSlider/QRadioButtons
Return type: int Returns: The current setting of the QSlider/QRadioButtons - one of the class constants COARSE, MEDIUM or ACCURATE
-