15 #include "uibasemod.h" 23 namespace
ColTab {
class Sequence; }
40 uiPixmap(
const char* icon_identifier);
48 void convertFromRGBArray(
const uiRGBArray&);
50 mQtclass(QPixmap*) qpixmap() {
return qpixmap_; }
51 const mQtclass(QPixmap*) qpixmap()
const {
return qpixmap_; }
53 void fill(
const Color&);
60 const char*
source()
const {
return srcname_.buf(); }
62 bool save(
const char* fnm,
const char* fmt=0,
63 int quality=-1)
const;
65 static bool isPresent(
const char*);
76 bool withprintformats=false);
78 bool withprintformats=false);
80 bool withprintformats=false);
#define mExpClass(module)
Definition: commondefs.h:160
void supportedImageFormats(BufferStringSet &, bool forread=false, bool withprintformats=false)
#define mQtclass(cls)
Definition: commondefs.h:229
const mQtclass(QPixmap *) qpixmap() const
Definition: uipixmap.h:51
Maps from [0,1] -> Color.
Definition: coltabsequence.h:37
#define mGlobal(module)
Definition: commondefs.h:163
mFDQtclass(QBitmap) mFDQtclass(QPaintDevice) mFDQtclass(QPixmap) class BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:28
void getImageFormatDescs(BufferStringSet &descs, bool forread, bool withprintformats=false)
void getImageFileFilter(BufferString &filter, bool forread, bool withprintformats=false)
BufferString srcname_
Definition: uipixmap.h:70
Off-screen pixel-based paint device.
Definition: uipixmap.h:34
mQtclass(QPixmap *) qpixmap()
Definition: uipixmap.h:50
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Object with a name.
Definition: namedobj.h:35
const char * source() const
Definition: uipixmap.h:60
Color Table
Definition: coltab.h:22
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
bool isEmpty(const NLAModel *mdl)