jbrowser.ui.glass
Generated from the source code of JBrowser 2.0.0.
GlassPopup: a small popup window with the system Acrylic behind it, like the Archive and menus.
Constants#
| Name | Value |
|---|---|
GLASS_ALPHA |
(0.42, 0.5) |
GlassPopup#
class GlassPopup(QFrame)source
GlassPopup(parent: QWidget | None)
Closes when the user clicks elsewhere (Qt.Popup). Subclasses add their own layout.
GlassPopup.show_below#
show_below(anchor: QWidget, align_right: bool=True) -> Nonesource
Open under anchor (right edges aligned), kept on the anchor's screen.
Qt overrides: paintEvent