Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions
icl::qt::ColorHandle Class Reference

Class wrapping ColorLabel GUI compoenent handling. More...

#include <ColorHandle.h>

Inheritance diagram for icl::qt::ColorHandle:
icl::qt::GUIHandle< ColorLabel > icl::qt::GUIHandleBase

List of all members.

Public Member Functions

 ColorHandle ()
 Create an empty handle.
 ColorHandle (ColorLabel *l, GUIWidget *w)
 Create a new LabelHandle.
void operator= (const core::Color &rgb)
 sets new rgb color
void operator= (const core::Color4D &rgba)
 sets new rgba color (alpha is only used if alpha is enabled for the gui component)
core::Color getRGB () const
 returns current rgb color
core::Color4D getColor () const
 convenienc function that is the same as getRGBA()
core::Color4D getRGBA () const
 returns current rgba color
bool hasAlpha () const
 return whether wrapped ColorLabel supports alpha

Private Member Functions

ColorLabellab ()
 utitlity function
const ColorLabellab () const
 utitlity function

Detailed Description

Class wrapping ColorLabel GUI compoenent handling.


Constructor & Destructor Documentation

Create an empty handle.


Member Function Documentation

convenienc function that is the same as getRGBA()

returns current rgb color

returns current rgba color

bool icl::qt::ColorHandle::hasAlpha ( ) const [inline]

return whether wrapped ColorLabel supports alpha

ColorLabel* icl::qt::ColorHandle::lab ( ) [inline, private]

utitlity function

const ColorLabel* icl::qt::ColorHandle::lab ( ) const [inline, private]

utitlity function

void icl::qt::ColorHandle::operator= ( const core::Color rgb) [inline]

sets new rgb color

void icl::qt::ColorHandle::operator= ( const core::Color4D rgba) [inline]

sets new rgba color (alpha is only used if alpha is enabled for the gui component)


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines