active_QLabel.py
Others:
Bases: PyQt4.QtGui.QLabel
Defines a QLabel subclass providing a clickable label with hovering capabilities.
Initializes the class.
| 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. |
|---|---|
| Return type: | bool |
Property for self.__defaultPixmap attribute.
| Returns: | self.__defaultPixmap. |
|---|---|
| Return type: | QPixmap |
Property for self.__hoverPixmap attribute.
| Returns: | self.__hoverPixmap. |
|---|---|
| Return type: | QPixmap |
Property for self.__activePixmap attribute.
| Returns: | self.__activePixmap. |
|---|---|
| Return type: | QPixmap |
Property for self.__checkable attribute.
| Returns: | self.__checkable. |
|---|---|
| Return type: | bool |
Property for self.__menu attribute.
| Returns: | self.__menu. |
|---|---|
| Return type: | QMenu |
Reimplements the QLabel.enterEvent() method.
| Parameters: | event (QEvent) – QEvent. |
|---|
Reimplements the QLabel.leaveEvent() method.
| Parameters: | event (QEvent) – QEvent. |
|---|
Reimplements the QLabel.mousePressEvent() method.
| Parameters: | event (QEvent) – QEvent. |
|---|
Reimplements the QLabel.mouseReleaseEvent() method.
| Parameters: | event (QEvent) – QEvent. |
|---|