API Documentation
Loading...
Searching...
No Matches
DesignPixmapResolver Class Reference

Resolves images that are stored in NDV files or are a part of ImageFactory This class opens and pulls icons stored in NDV files and also converts NDEVR native images into the QPixmap fomrat. More...

#include <DesignPixmapResolver.h>

Inheritance diagram for DesignPixmapResolver:
[legend]
Collaboration diagram for DesignPixmapResolver:
[legend]

Public Member Functions

virtual bool canPotentiallyResolve (const String &pixmap_resource) override
 
virtual UUID id () const override
 
virtual QPixmap resolve (const String &pixmap_resource, QIcon::Mode, const QSize &, Dictionary< String, QPixmap > &pixmaps) override
 
- Public Member Functions inherited from PixmapResolver

Static Public Member Functions

static QImage Convert (const ImageData &image)
 
static ImageData Convert (const String &to_id, const QImage &qimage)
 
static void SaveToImageFactory (const String &image_id, const QImage &image)
 

Detailed Description

Resolves images that are stored in NDV files or are a part of ImageFactory This class opens and pulls icons stored in NDV files and also converts NDEVR native images into the QPixmap fomrat.


Member Function Documentation

◆ canPotentiallyResolve()

virtual bool canPotentiallyResolve ( const String & pixmap_resource)
overridevirtual

Implements PixmapResolver.

◆ Convert() [1/2]

static QImage Convert ( const ImageData & image)
static

◆ Convert() [2/2]

static ImageData Convert ( const String & to_id,
const QImage & qimage )
static

◆ id()

virtual UUID id ( ) const
overridevirtual

Implements PixmapResolver.

◆ resolve()

virtual QPixmap resolve ( const String & pixmap_resource,
QIcon::Mode ,
const QSize & ,
Dictionary< String, QPixmap > & pixmaps )
overridevirtual

Implements PixmapResolver.

◆ SaveToImageFactory()

static void SaveToImageFactory ( const String & image_id,
const QImage & image )
static

The documentation for this class was generated from the following file: