- class QScissorTest#
The
QScissorTest
class discards fragments that fall outside of a certain rectangular portion of the screen. More…Synopsis#
Properties#
Methods#
def
__init__()
def
bottom()
def
height()
def
left()
def
width()
Slots#
def
setBottom()
def
setHeight()
def
setLeft()
def
setWidth()
Signals#
def
bottomChanged()
def
heightChanged()
def
leftChanged()
def
widthChanged()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
A
QScissorTest
class enables scissor test, which discards fragments outside the rectangular area of the screen specified by the left, bottom, width and height properties.Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property bottomᅟ: int#
Holds the bottom coordinate of the scissor box.
- Access functions:
Signal
bottomChanged()
- property heightᅟ: int#
Holds the height of the scissor box.
- Access functions:
Signal
heightChanged()
- property leftᅟ: int#
Holds the left coordinate of the scissor box.
- Access functions:
Signal
leftChanged()
- property widthᅟ: int#
Holds the width of the scissor box.
- Access functions:
Signal
widthChanged()
- __init__([parent=None])#
- Parameters:
parent –
QNode
The constructor creates a new
QScissorTest
instance with the specifiedparent
- bottom()#
- Return type:
int
See also
setBottom()
Getter of property
bottomᅟ
.- bottomChanged(bottom)#
- Parameters:
bottom – int
Notification signal of property
bottomᅟ
.- height()#
- Return type:
int
See also
setHeight()
Getter of property
heightᅟ
.- heightChanged(height)#
- Parameters:
height – int
Notification signal of property
heightᅟ
.- left()#
- Return type:
int
See also
setLeft()
Getter of property
leftᅟ
.- leftChanged(left)#
- Parameters:
left – int
Notification signal of property
leftᅟ
.- setBottom(bottom)#
- Parameters:
bottom – int
See also
bottom()
Setter of property
bottomᅟ
.- setHeight(height)#
- Parameters:
height – int
See also
height()
Setter of property
heightᅟ
.- setLeft(left)#
- Parameters:
left – int
See also
left()
Setter of property
leftᅟ
.- setWidth(width)#
- Parameters:
width – int
See also
width()
Setter of property
widthᅟ
.- width()#
- Return type:
int
See also
setWidth()
Getter of property
widthᅟ
.- widthChanged(width)#
- Parameters:
width – int
Notification signal of property
widthᅟ
.