OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
uiPixmap Class Reference

Off-screen pixel-based paint device. More...

Inheritance diagram for uiPixmap:
[legend]

Public Member Functions

 uiPixmap ()
 
 uiPixmap (int w, int h)
 
 uiPixmap (const char *icon_identifier)
 
 uiPixmap (const uiRGBArray &)
 
 uiPixmap (const char *xpm[])
 
 uiPixmap (const mQtclass(QPixmap &))
 
 uiPixmap (const uiPixmap &)
 
virtual ~uiPixmap ()
 
void convertFromRGBArray (const uiRGBArray &)
 
 mQtclass (QPixmap *) qpixmap()
 
const mQtclass (QPixmap *) qpixmap() const
 
void fill (const Color &)
 
void fill (const ColTab::Sequence &, bool hor)
 
int width () const
 
int height () const
 
bool isEmpty () const
 
const char * source () const
 
bool save (const char *fnm, const char *fmt=0, int quality=-1) const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Static Public Member Functions

static bool isPresent (const char *)
 

Protected Member Functions

 mQtclass (QPixmap *) qpixmap_
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

BufferString srcname_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Detailed Description

Off-screen pixel-based paint device.

Icons pixmaps can be created from the identifier, see odiconfile.h. It is, basically, the file name without extension.

Constructor & Destructor Documentation

uiPixmap::uiPixmap ( )
uiPixmap::uiPixmap ( int  w,
int  h 
)
uiPixmap::uiPixmap ( const char *  icon_identifier)
uiPixmap::uiPixmap ( const uiRGBArray &  )
uiPixmap::uiPixmap ( const char *  xpm[])
uiPixmap::uiPixmap ( const   mQtclassQPixmap &)
uiPixmap::uiPixmap ( const uiPixmap )
virtual uiPixmap::~uiPixmap ( )
virtual

Member Function Documentation

void uiPixmap::convertFromRGBArray ( const uiRGBArray &  )
void uiPixmap::fill ( const Color )
void uiPixmap::fill ( const ColTab::Sequence ,
bool  hor 
)
int uiPixmap::height ( ) const
bool uiPixmap::isEmpty ( ) const
static bool uiPixmap::isPresent ( const char *  )
static
uiPixmap::mQtclass ( QPixmap *  )
inline
const uiPixmap::mQtclass ( QPixmap *  ) const
inline
uiPixmap::mQtclass ( QPixmap *  )
protected
bool uiPixmap::save ( const char *  fnm,
const char *  fmt = 0,
int  quality = -1 
) const
const char* uiPixmap::source ( ) const
inline
int uiPixmap::width ( ) const

Member Data Documentation

BufferString uiPixmap::srcname_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019