declare class Pixmap extends QPixmap {
    loadFromData(byteArray: ByteArray, format?: string): boolean;
}