polyfoammesh.gui.branding
Branding assets for PolyFoamMesh.
All assets are generated programmatically (QPainter) so the bundle has zero external image dependencies. Resolution-independent and theme-aware.
Functions
|
Set the application-wide icon. |
|
|
|
Return a QIcon with the logo at the requested size (multi-resolution). |
|
Single-resolution logo pixmap (for the splash and About dialog). |
|
Render the splash screen pixmap — ANSYS-grade commercial style. |
- polyfoammesh.gui.branding.make_app_icon(size=256, dark=False)[source]
Return a QIcon with the logo at the requested size (multi-resolution).
- polyfoammesh.gui.branding.make_logo_pixmap(size=96, dark=False)[source]
Single-resolution logo pixmap (for the splash and About dialog).
- polyfoammesh.gui.branding.make_splash_pixmap(width=520, height=300, dark=False)[source]
Render the splash screen pixmap — ANSYS-grade commercial style.
- polyfoammesh.gui.branding.apply_app_icon(app, dark=False)[source]
Set the application-wide icon.
- Return type:
- Parameters:
app (QApplication)
dark (bool)