Splash Screen (splashscreen
)
A splash screen widget with support for positioning of the message text.
- class orangecanvas.gui.splashscreen.SplashScreen(parent=None, pixmap=None, textRect=None, textFormat=0, **kwargs)[source]
Bases:
QSplashScreen
Splash screen widget.
- Parameters:
parent (
QWidget
) – Parent widgetpixmap (
QPixmap
) – Splash window pixmap.textRect (
QRect
) – Bounding rectangle of the shown message on the widget.textFormat (Qt.TextFormat) – How message text format should be interpreted.
- setTextRect(rect: QRect) None [source]
Set the rectangle (
QRect
) in which to show the message text.
- drawContents(painter: QPainter) None [source]
Reimplementation of drawContents to limit the drawing inside textRect.