![]() |
OpendTect 8.0
|
Off-screen pixel-based paint device. More...
#include <uipixmap.h>
Public Member Functions | |
| uiPixmap () | |
| uiPixmap (const char *icon_identifier) | |
| uiPixmap (const char *xpm[]) | |
| uiPixmap (const PixmapDesc &) | |
| uiPixmap (const QPixmap &) | |
| uiPixmap (const uiPixmap &) | |
| uiPixmap (const uiRGBArray &) | |
| uiPixmap (int w, int h) | |
| ~uiPixmap () | |
| void | convertFromRGBArray (const uiRGBArray &) |
| void | fill (const ColTab::Sequence &, bool hor) |
| void | fill (const OD::Color &) |
| void | fillDesc (PixmapDesc &) const |
| void | fillGradient (const OD::Color &col1, const OD::Color &col2, bool hor) |
| int | height () const |
| bool | isEmpty () const |
| uiPixmap & | operator= (const uiPixmap &) |
| QPixmap * | qpixmap () |
| const QPixmap * | qpixmap () const |
| bool | save (const char *fnm, const char *fmt=0, int quality=-1) const |
| void | scale (int w, int h) |
| void | scaleToHeight (int h) |
| void | scaleToWidth (int w) |
| const char * | source () const |
| int | width () const |
Public Member Functions inherited from NamedObject | |
| NamedObject (const char *nm=nullptr) | |
| NamedObject (const NamedObject &oth) | |
| virtual | ~NamedObject () |
| virtual BufferString | getName () const |
| bool | getNameFromPar (const IOPar &) |
| const name_type & | name () const override |
| NamedObject & | operator= (const NamedObject &) |
| bool | operator== (const NamedObject &oth) const |
| virtual void | setName (const char *nm) |
Public Member Functions inherited from ObjectWithName | |
| virtual | ~ObjectWithName () |
| bool | hasName (const char *nm) const |
| bool | hasName (const name_type &nm) const |
| void | putNameInPar (IOPar &) const |
Protected Attributes | |
| QPixmap * | qpixmap_ = nullptr |
| BufferString | source_ |
Protected Attributes inherited from NamedObject | |
| BufferString | name_ |
Private Member Functions | |
| void | initFromIcon (const char *icon_identifier) |
Additional Inherited Members | |
Public Types inherited from ObjectWithName | |
| typedef OD::String | name_type |
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.
<>
| 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 QPixmap & | ) |
| uiPixmap::uiPixmap | ( | const uiPixmap & | ) |
| uiPixmap::uiPixmap | ( | const PixmapDesc & | ) |
| uiPixmap::~uiPixmap | ( | ) |
| void uiPixmap::convertFromRGBArray | ( | const uiRGBArray & | ) |
| void uiPixmap::fill | ( | const ColTab::Sequence & | , |
| bool | hor ) |
| void uiPixmap::fill | ( | const OD::Color & | ) |
| void uiPixmap::fillDesc | ( | PixmapDesc & | ) | const |
| int uiPixmap::height | ( | ) | const |
|
private |
| bool uiPixmap::isEmpty | ( | ) | const |
|
inline |
|
inline |
| bool uiPixmap::save | ( | const char * | fnm, |
| const char * | fmt = 0, | ||
| int | quality = -1 ) const |
| void uiPixmap::scale | ( | int | w, |
| int | h ) |
| void uiPixmap::scaleToHeight | ( | int | h | ) |
| void uiPixmap::scaleToWidth | ( | int | w | ) |
| const char * uiPixmap::source | ( | ) | const |
| int uiPixmap::width | ( | ) | const |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2025