schrodinger.application.matsci.sliceplot module¶
A plot that shows a 2D slice in a matplotlib plot and in the WS
Copyright Schrodinger, LLC. All rights reserved.
-
class
schrodinger.application.matsci.sliceplot.
SlicePlot
(nav_stretch=True)¶ Bases:
schrodinger.ui.qt.swidgets.SFrame
A frame that plots a 2D slice of information about a structure and shows a plane in the workspace that indicates where the 2D slice is coming from. Widgets allow the user to specify what 2D slice to plot.
-
LABEL_TEXT
= 'Currently showing layer %d out of %d layers'¶
-
__init__
(nav_stretch=True)¶ Create a SlicePlot instance
Parameters: nav_stretch (bool) – Whether to add a stretch to the navigation widget layout
-
redisplayAtoms
()¶ Show all the atoms in the workspace
-
hideSlab
()¶ Hide the image of the slab in the WS
-
hideEvent
(*args)¶ Overwrite the parent method to ensure the Workspace slab gets hidden
-
closeEvent
(*args)¶ Overwrite the parent method to ensure the Workspace slab gets hidden
-
showEvent
(*args)¶ Overwrite the parent method to ensure the Workspace slab gets shown when this tab is shown
-
decorateAxes
()¶ Add labels, etc to the plot
-
reset
()¶ Reset this tab
-
getAxisNum
()¶ Subclasses must implement this to return the index of the current axis
Return type: int Returns: The index of the current axis
-
createSlab
()¶ Create a rectangle indicating the current layer in the workspace
-
setLayerLabelSize
()¶ Set the size of the label that gives the current layer so that it always stays at its maximum width, avoiding widgets jittering left and right as the label content changes
-
setLayerWidgetStates
()¶ Enable/disable layer change buttons as appropriate based on whether there are any additional layers in that direction
-
plotData
()¶ Plot the data for the current layer and axis
-
refreshPlot
()¶
-
moveBack
()¶ Plot the layer previous to the current one
-
moveForward
()¶ Plot the layer after the current one
-
changeLayer
()¶ Plot the layer indicated in the layer line edit
-
displayLocalAtoms
(indexes)¶ Set visibility and representation of atoms based on proximity
Parameters: indexes (list) – The atom indexes for the central atoms to display
-
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.sliceplot', '__doc__': '\n A frame that plots a 2D slice of information about a structure and shows a\n plane in the workspace that indicates where the 2D slice is coming from.\n Widgets allow the user to specify what 2D slice to plot.\n ', 'LABEL_TEXT': 'Currently showing layer %d out of %d layers', '__init__': <function SlicePlot.__init__>, 'redisplayAtoms': <function SlicePlot.redisplayAtoms>, 'hideSlab': <function SlicePlot.hideSlab>, 'hideEvent': <function SlicePlot.hideEvent>, 'closeEvent': <function SlicePlot.closeEvent>, 'showEvent': <function SlicePlot.showEvent>, 'decorateAxes': <function SlicePlot.decorateAxes>, 'reset': <function SlicePlot.reset>, 'getAxisNum': <function SlicePlot.getAxisNum>, '_get2DOrigins': <function SlicePlot._get2DOrigins>, '_getSliceLocation': <function SlicePlot._getSliceLocation>, 'createSlab': <function SlicePlot.createSlab>, 'setLayerLabelSize': <function SlicePlot.setLayerLabelSize>, 'setLayerWidgetStates': <function SlicePlot.setLayerWidgetStates>, 'plotData': <function SlicePlot.plotData>, 'refreshPlot': <function SlicePlot.refreshPlot>, 'moveBack': <function SlicePlot.moveBack>, 'moveForward': <function SlicePlot.moveForward>, 'changeLayer': <function SlicePlot.changeLayer>, 'displayLocalAtoms': <function SlicePlot.displayLocalAtoms>})¶
-
__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.sliceplot'¶
-
__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¶
-
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)¶
-
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)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
lineWidth
(self) → int¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
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])¶
-
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)¶
-
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¶
-