|
lmms
Cross-platform music production software
|
Functions | |
| auto | getIconPixmap (std::string_view name, int width=-1, int height=-1, const char *const *xpm=nullptr) -> QPixmap |
| Return an image for the icon pixmap cache. | |
| auto | getText (std::string_view name) -> QString |
| auto | logicalSize (const QPixmap &pixmap) noexcept |
| Temporary shim for QPixmap::deviceIndependentSize. | |
| auto LMMS_EXPORT lmms::embed::getIconPixmap | ( | std::string_view | name, |
| int | width = -1, | ||
| int | height = -1, | ||
| const char *const * | xpm = nullptr ) -> QPixmap |
Return an image for the icon pixmap cache.
| name | Identifier for the pixmap. If it is not in the icon pixmap cache, it will be loaded from the artwork QDir search paths (exceptions are compiled-in XPMs, you need to provide xpm for loading them). |
| width | A specific pixmap width. When this and height are provided, the pixmap is cached. |
| height | A specific pixmap height. When this and width are provided, the pixmap is cached. |
| xpm | Must be XPM data if the source should be raw XPM data instead of a file |
| auto LMMS_EXPORT lmms::embed::getText | ( | std::string_view | name | ) | -> QString |
|
inlinenoexcept |
Temporary shim for QPixmap::deviceIndependentSize.
| pixmap | The pixmap to get the size of. |