Frameless Window Widget (framelesswindow)

A frameless window widget

class orangecanvas.gui.framelesswindow.FramelessWindow(parent: QWidget | None = None, radius: int = 6, **kwargs: Any)[source]

Bases: QWidget

A basic frameless window widget with rounded corners (if supported by the windowing system).

setRadius(radius: int) None[source]

Set the window rounded border radius.

radius() int[source]

Return the border radius.

radius_

Window border radius

resizeEvent(self, a0: QResizeEvent | None)[source]
paintEvent(self, a0: QPaintEvent | None)[source]