active_QLabel.py
Others:
Bases: PyQt4.QtGui.QLabel
This class is a QLabel subclass providing a clickable label with hovering capabilities.
Parameters: |
|
---|
This signal is emited by the Active_QLabel class when it has been clicked. ( pyqtSignal )
This signal is emited by the Active_QLabel class when it has been pressed. ( pyqtSignal )
This signal is emited by the Active_QLabel class when it has been released. ( pyqtSignal )
This signal is emited by the Active_QLabel class when it has been toggled. ( pyqtSignal )
Returns: | Current checked state. ( Boolean ) |
---|
This method is the property for self.__defaultPixmap attribute.
Returns: | self.__defaultPixmap. ( QPixmap ) |
---|
This method is the property for self.__hoverPixmap attribute.
Returns: | self.__hoverPixmap. ( QPixmap ) |
---|
This method is the property for self.__activePixmap attribute.
Returns: | self.__activePixmap. ( QPixmap ) |
---|
This method is the property for self.__checkable attribute.
Returns: | self.__checkable. ( Boolean ) |
---|
This method is the property for self.__checked attribute.
Returns: | self.__checked. ( Boolean ) |
---|
This method is the property for self.__menu attribute.
Returns: | self.__menu. ( QMenu ) |
---|
This method reimplements the QLabel.enterEvent() method.
Parameters: | event – QEvent. ( QEvent ) |
---|
This method reimplements the QLabel.leaveEvent() method.
Parameters: | event – QEvent. ( QEvent ) |
---|
This method reimplements the QLabel.mousePressEvent() method.
Parameters: | event – QEvent. ( QEvent ) |
---|
This method reimplements the QLabel.mouseReleaseEvent() method.
Parameters: | event – QEvent. ( QEvent ) |
---|