OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
uiIcon Class Reference

Manager for icons of different sizes. More...

Public Member Functions

 uiIcon ()
 
 uiIcon (const char *icon_identifier)
 
 uiIcon (const uiIcon &)
 
 ~uiIcon ()
 
bool isEmpty () const
 
QIcon & qicon ()
 
const QIcon & qicon () const
 
void setIdentifier (const char *)
 
const char * source () const
 

Static Public Member Functions

static const char * None ()
 

Protected Attributes

QIcon & qicon_
 
BufferString srcnm_
 

Detailed Description

Manager for icons of different sizes.

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

<>

Constructor & Destructor Documentation

◆ uiIcon() [1/3]

uiIcon::uiIcon ( )

◆ uiIcon() [2/3]

uiIcon::uiIcon ( const char *  icon_identifier)

◆ uiIcon() [3/3]

uiIcon::uiIcon ( const uiIcon )

◆ ~uiIcon()

uiIcon::~uiIcon ( )

Member Function Documentation

◆ isEmpty()

bool uiIcon::isEmpty ( ) const

◆ None()

static const char* uiIcon::None ( )
static

◆ qicon() [1/2]

QIcon& uiIcon::qicon ( )
inline

◆ qicon() [2/2]

const QIcon& uiIcon::qicon ( ) const
inline

◆ setIdentifier()

void uiIcon::setIdentifier ( const char *  )

◆ source()

const char* uiIcon::source ( ) const

Member Data Documentation

◆ qicon_

QIcon& uiIcon::qicon_
protected

◆ srcnm_

BufferString uiIcon::srcnm_
protected

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