Image Component Library (ICL)
Public Member Functions | List of all members
icl::qt::DrawHandle Class Reference

Handle class for image components. More...

#include <DrawHandle.h>

Inheritance diagram for icl::qt::DrawHandle:
icl::qt::GUIHandle< ICLDrawWidget > icl::qt::GUIHandleBase

Public Member Functions

 DrawHandle ()
 create an empty handle More...
 
 DrawHandle (ICLDrawWidget *w, GUIWidget *guiw)
 create a new ImageHandel More...
 
void setImage (const core::ImgBase *image)
 make the wrapped ICLWidget show a given image More...
 
void operator= (const core::ImgBase *image)
 make the wrapped ICLWidget show a given image (as set Image) More...
 
void operator= (const core::ImgBase &image)
 make the wrapped ICLWidget show a given image (as set Image) More...
 
void render ()
 re-renders the draw-component More...
 
virtual void registerCallback (const GUI::Callback &cb, const std::string &events="all")
 passes callback registration to wrapped ICLWidget instance) More...
 
virtual void registerCallback (const GUI::ComplexCallback &, const std::string &)
 complex callbacks are not allowed for image-components (this method will throw an exception) More...
 
virtual void removeCallbacks ()
 passes callback registration to wrapped ICLWidget instance) More...
 
- Public Member Functions inherited from icl::qt::GUIHandle< ICLDrawWidget >
const ICLDrawWidgetoperator* () const
 use the *-oprator to get the wrapped component (const) More...
 
ICLDrawWidget *& operator* ()
 use the *-oprator to get the wrapped component (unconst) More...
 
ICLDrawWidgetoperator-> ()
 this can be used for direct access to wrapped type More...
 
const ICLDrawWidgetoperator-> () 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...
 
GUIWidgetgetGUIWidget ()
 returns parent GUIWidget pointer More...
 
virtual void cb ()
 envokes all registered callbacks More...
 

Additional Inherited Members

- Protected Member Functions inherited from icl::qt::GUIHandle< ICLDrawWidget >
 GUIHandle ()
 as GUIHandle is just an interface, its base constructor is protected More...
 
 GUIHandle (ICLDrawWidget *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...
 

Detailed Description

Handle class for image components.

Constructor & Destructor Documentation

icl::qt::DrawHandle::DrawHandle ( )
inline

create an empty handle

icl::qt::DrawHandle::DrawHandle ( ICLDrawWidget w,
GUIWidget guiw 
)
inline

create a new ImageHandel

Member Function Documentation

void icl::qt::DrawHandle::operator= ( const core::ImgBase image)
inline

make the wrapped ICLWidget show a given image (as set Image)

void icl::qt::DrawHandle::operator= ( const core::ImgBase image)
inline

make the wrapped ICLWidget show a given image (as set Image)

virtual void icl::qt::DrawHandle::registerCallback ( const GUI::Callback cb,
const std::string &  events = "all" 
)
virtual

passes callback registration to wrapped ICLWidget instance)

Reimplemented from icl::qt::GUIHandleBase.

virtual void icl::qt::DrawHandle::registerCallback ( const GUI::ComplexCallback ,
const std::string &   
)
inlinevirtual

complex callbacks are not allowed for image-components (this method will throw an exception)

Reimplemented from icl::qt::GUIHandleBase.

virtual void icl::qt::DrawHandle::removeCallbacks ( )
virtual

passes callback registration to wrapped ICLWidget instance)

Reimplemented from icl::qt::GUIHandleBase.

void icl::qt::DrawHandle::render ( )

re-renders the draw-component

void icl::qt::DrawHandle::setImage ( const core::ImgBase image)

make the wrapped ICLWidget show a given image


The documentation for this class was generated from the following file: