notification_QLabel.py
Bases: PyQt4.QtGui.QLabel
This class is a QLabel subclass providing a notification label with fading capabilities.
Parameters: |
|
---|
This signal is emited by the Notification_QLabel class when it receives a mouse press event. ( pyqtSignal )
Returns: | Current notification text. ( QString ) |
---|
This signal is emited by the Notification_QLabel class when it has faded in. ( pyqtSignal )
This signal is emited by the Notification_QLabel class when it has faded out. ( pyqtSignal )
This method is the property for self.__color attribute.
Returns: | self.__color. ( QColor ) |
---|
This method is the property for self.__backgroundColor attribute.
Returns: | self.__backgroundColor. ( QColor ) |
---|
This method is the property for self.__borderColor attribute.
Returns: | self.__borderColor. ( QColor ) |
---|
This method is the property for self.__anchor attribute.
Returns: | self.__anchor. ( Integer ) |
---|
This method is the property for self.__horizontalPadding attribute.
Returns: | self.__horizontalPadding. ( Integer ) |
---|
This method is the property for self.__verticalPadding attribute.
Returns: | self.__verticalPadding. ( Integer ) |
---|
This method is the property for self.__horizontalOffset attribute.
Returns: | self.__horizontalOffset. ( Integer ) |
---|
This method is the property for self.__verticalOffset attribute.
Returns: | self.__verticalOffset. ( Integer ) |
---|
This method is the property for self.__fadeSpeed attribute.
Returns: | self.__fadeSpeed. ( Float ) |
---|
This method is the property for self.__targetOpacity attribute.
Returns: | self.__targetOpacity. ( Float ) |
---|
This method is the property for self.__duration attribute.
Returns: | self.__duration. ( Integer ) |
---|
This method is the property for self.__opacity attribute.
Returns: | self.__opacity. ( Float ) |
---|
This method is the property for self.__style attribute.
Returns: | self.__style. ( String ) |
---|
This method reimplements the QLabel.setParent() method.
Parameters: | parent – Parent. ( QObject ) |
---|
This method reimplements the QLabel.resizeEvent() method.
Parameters: | event – QEvent. ( QEvent ) |
---|
This method reimplements the QLabel.mousePressEvent() method.
Parameters: | event – QEvent. ( QEvent ) |
---|
This method reimplements the QLabel.showEvent() method.
Parameters: | event – QEvent. ( QEvent ) |
---|
This method shows given message.
Parameters: |
|
---|---|
Returns: | Method success. ( Boolean ) |