Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

uiColorInput Class Reference

small element for color selection. Has no text label. More...

Inheritance diagram for uiColorInput:
uiGroup uiParent uiBaseObject NamedObject CallBacker

List of all members.

Classes

class  Setup

Public Member Functions

 uiColorInput (uiParent *, const Setup &, const char *nm=0)
const Colorcolor () const
void setColor (const Color &)
bool doDraw () const
void setDoDraw (bool)
void setLblText (const char *)
void enableAlphaSetting (bool yn)
uiPushButtongetButton ()

Public Attributes

Notifier< uiColorInputcolorChanged
Notifier< uiColorInputdoDrawChanged

Protected Member Functions

void selCol (CallBacker *)
void dodrawSel (CallBacker *)

Protected Attributes

uiPushButtoncolbut_
uiCheckBoxdodrawbox_
uiLabeluilbl_
Color color_
BufferString dlgtxt_
bool withalpha_

Detailed Description

small element for color selection. Has no text label.

The label in this class is for displaying the current color. Another label may be created if you specify the lbltxt.


Constructor & Destructor Documentation

uiColorInput::uiColorInput ( uiParent ,
const Setup ,
const char *  nm = 0 
)

Member Function Documentation

const Color& uiColorInput::color (  )  const [inline]
bool uiColorInput::doDraw (  )  const
void uiColorInput::dodrawSel ( CallBacker  )  [protected]
void uiColorInput::enableAlphaSetting ( bool  yn  )  [inline]
uiPushButton* uiColorInput::getButton (  )  [inline]
void uiColorInput::selCol ( CallBacker  )  [protected]
void uiColorInput::setColor ( const Color  ) 
void uiColorInput::setDoDraw ( bool   ) 
void uiColorInput::setLblText ( const char *   ) 

Member Data Documentation

bool uiColorInput::withalpha_ [protected]