populse_mia.user_interface.data_viewer.anatomist_2.resources_snd_window¶
Resource object code.
Functions
Unregisters and cleans up the embedded Qt resources. |
|
Initializes and registers the embedded Qt resources with the application. |
- populse_mia.user_interface.data_viewer.anatomist_2.resources_snd_window.qInitResources()[source]¶
Initializes and registers the embedded Qt resources with the application.
This function must be called before any resource files (e.g., images, icons) are accessed in the application. It loads the binary resource data, structural metadata, and resource names into Qt’s resource system, allowing them to be referenced using the ‘:/’ prefix (e.g., ‘:/sag-01.png’).
- populse_mia.user_interface.data_viewer.anatomist_2.resources_snd_window.qCleanupResources()[source]¶
Unregisters and cleans up the embedded Qt resources.
This function removes the resource data from Qt’s resource system, freeing associated memory. It is typically called during application shutdown, though in most cases, Python’s garbage collection will handle this automatically.