![]() |
Image Component Library (ICL)
|
Class wrapping ColorLabel GUI compoenent handling. More...
#include <ColorHandle.h>
Public Member Functions | |
| ColorHandle () | |
| Create an empty handle. More... | |
| ColorHandle (ColorLabel *l, GUIWidget *w) | |
| Create a new LabelHandle. More... | |
| void | operator= (const core::Color &rgb) |
| sets new rgb color More... | |
| void | operator= (const core::Color4D &rgba) |
| sets new rgba color (alpha is only used if alpha is enabled for the gui component) More... | |
| core::Color | getRGB () const |
| returns current rgb color More... | |
| core::Color4D | getColor () const |
| convenienc function that is the same as getRGBA() More... | |
| core::Color4D | getRGBA () const |
| returns current rgba color More... | |
| bool | hasAlpha () const |
| return whether wrapped ColorLabel supports alpha More... | |
Public Member Functions inherited from icl::qt::GUIHandle< ColorLabel > | |
| const ColorLabel * | operator * () const |
| use the *-oprator to get the wrapped component (const) More... | |
| ColorLabel *& | operator * () |
| use the *-oprator to get the wrapped component (unconst) More... | |
| ColorLabel * | operator-> () |
| this can be used for direct access to wrapped type More... | |
| const ColorLabel * | operator-> () const |
| this can be used for direct access to wrapped type More... | |
| bool | isNull () const |
| returns whether wrapped pointer is null or not More... | |
| void | enable () |
| enables the wrapped GUI component More... | |
| void | disable () |
| disables the wrapped GUI component More... | |
Public Member Functions inherited from icl::qt::GUIHandleBase | |
| virtual | ~GUIHandleBase () |
| virtual destructor More... | |
| GUIWidget * | getGUIWidget () |
| returns parent GUIWidget pointer More... | |
| virtual void | registerCallback (const GUI::Callback &cb, const std::string &events="all") |
| registers a callback on this gui widget More... | |
| virtual void | registerCallback (const GUI::ComplexCallback &cb, const std::string &events="all") |
| registers a complex callback on this gui component More... | |
| virtual void | removeCallbacks () |
| removes all callbacks from parent GUIWidget component More... | |
| virtual void | cb () |
| envokes all registered callbacks More... | |
Private Member Functions | |
| ColorLabel * | lab () |
| utitlity function More... | |
| const ColorLabel * | lab () const |
| utitlity function More... | |
Additional Inherited Members | |
Protected Member Functions inherited from icl::qt::GUIHandle< ColorLabel > | |
| GUIHandle () | |
| as GUIHandle is just an interface, its base constructor is protected More... | |
| GUIHandle (ColorLabel *t, GUIWidget *w) | |
| as GUIHandle is just an interface, its base constructor is protected More... | |
Protected Member Functions inherited from icl::qt::GUIHandleBase | |
| GUIHandleBase (GUIWidget *w=0) | |
| create a new GUIHandleBase More... | |
Class wrapping ColorLabel GUI compoenent handling.
|
inline |
Create an empty handle.
|
inline |
Create a new LabelHandle.
|
inline |
convenienc function that is the same as getRGBA()
|
inline |
returns current rgb color
|
inline |
returns current rgba color
|
inline |
return whether wrapped ColorLabel supports alpha
|
inlineprivate |
utitlity function
|
inlineprivate |
utitlity function
|
inline |
sets new rgb color
|
inline |
sets new rgba color (alpha is only used if alpha is enabled for the gui component)
1.8.15