jbrowser.ui.icons
Generated from the source code of JBrowser 1.5.1.
Vector icons rendered from the Windows 11 "Segoe Fluent Icons" font (MDL2 fallback), plus the procedurally drawn JBrowser logo. No image assets are required at runtime.
Constants#
| Name | Value |
|---|---|
GLYPHS |
{'back': '\ue72b', 'forward': '\ue72a', 'refresh': '\ue72c', 'stop': '\ue711', 'cancel'… |
GlyphIconEngine#
class GlyphIconEngine(QIconEngine)source
GlyphIconEngine(char: str, color: QColor | str | None=None, scale: float=0.62)
Paints a font glyph; colour resolves from the live theme unless fixed.
GlyphIconEngine.scaledPixmap#
scaledPixmap(size: QSize, mode: QIcon.Mode, state: QIcon.State, scale: float) -> QPixmapsource
GlyphIconEngine.pixmap#
pixmap(size: QSize, mode: QIcon.Mode, state: QIcon.State) -> QPixmapsource
GlyphIconEngine.clone#
clone() -> 'GlyphIconEngine'source
Qt overrides: paint
Functions#
icon_font_family#
icon_font_family() -> strsource
glyph#
glyph(name: str) -> strsource
icon#
icon(name: str, color: QColor | str | None=None, scale: float=0.62) -> QIconsource
draw_glyph#
draw_glyph(painter: QPainter, rect: QRectF | QRect, name: str, color: QColor, px: float | None=None) -> Nonesource
draw_emoji#
draw_emoji(painter: QPainter, rect: QRectF | QRect, text: str, px: float | None=None) -> Nonesource
glyph_png#
glyph_png(name: str, color: QColor, size: int=16) -> strsource
Render a glyph to a PNG (plus @2x) for use inside Qt style sheets.
paint_logo#
paint_logo(p: QPainter, rect: QRectF) -> Nonesource
JBrowser mark: a gradient squircle with three offset 'cards' on a horizontal canvas.
logo_pixmap#
logo_pixmap(size: int) -> QPixmapsource
app_icon#
app_icon() -> QIconsource