OpendTect  7.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
PixmapDesc Class Reference

Public Member Functions

 PixmapDesc ()
 
 PixmapDesc (const char *src, int width, int height, OD::Color)
 
 PixmapDesc (const PixmapDesc &)
 
 ~PixmapDesc ()
 
void fromString (const char *)
 
bool isValid () const
 
PixmapDescoperator= (const PixmapDesc &)
 
void set (const char *src, int width, int height, OD::Color col=OD::Color::NoColor())
 
bool sourceIsIcon () const
 
BufferString toString () const
 

Static Public Member Functions

static const char * sKeyColorTabSrc ()
 
static const char * sKeyGradientSrc ()
 
static const char * sKeyNoSrc ()
 
static const char * sKeyRgbSrc ()
 
static const char * sKeySingleColorSrc ()
 
static const char * sKeyXpmSrc ()
 

Public Attributes

OD::Color color_ = OD::Color::NoColor()
 
int height_ = 0
 
BufferString source_
 
int width_ = 0
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ PixmapDesc() [1/3]

PixmapDesc::PixmapDesc ( )

◆ PixmapDesc() [2/3]

PixmapDesc::PixmapDesc ( const PixmapDesc )

◆ PixmapDesc() [3/3]

PixmapDesc::PixmapDesc ( const char *  src,
int  width,
int  height,
OD::Color   
)

◆ ~PixmapDesc()

PixmapDesc::~PixmapDesc ( )

Member Function Documentation

◆ fromString()

void PixmapDesc::fromString ( const char *  )

◆ isValid()

bool PixmapDesc::isValid ( ) const

◆ operator=()

PixmapDesc& PixmapDesc::operator= ( const PixmapDesc )

◆ set()

void PixmapDesc::set ( const char *  src,
int  width,
int  height,
OD::Color  col = OD::Color::NoColor() 
)

◆ sKeyColorTabSrc()

static const char* PixmapDesc::sKeyColorTabSrc ( )
inlinestatic

◆ sKeyGradientSrc()

static const char* PixmapDesc::sKeyGradientSrc ( )
inlinestatic

◆ sKeyNoSrc()

static const char* PixmapDesc::sKeyNoSrc ( )
inlinestatic

◆ sKeyRgbSrc()

static const char* PixmapDesc::sKeyRgbSrc ( )
inlinestatic

◆ sKeySingleColorSrc()

static const char* PixmapDesc::sKeySingleColorSrc ( )
inlinestatic

◆ sKeyXpmSrc()

static const char* PixmapDesc::sKeyXpmSrc ( )
inlinestatic

◆ sourceIsIcon()

bool PixmapDesc::sourceIsIcon ( ) const

◆ toString()

BufferString PixmapDesc::toString ( ) const

Member Data Documentation

◆ color_

OD::Color PixmapDesc::color_ = OD::Color::NoColor()

◆ height_

int PixmapDesc::height_ = 0

◆ source_

BufferString PixmapDesc::source_

◆ width_

int PixmapDesc::width_ = 0

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