Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
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

List of all members.

Public Member Functions

 DrawHandle ()
 create an empty handle
 DrawHandle (ICLDrawWidget *w, GUIWidget *guiw)
 create a new ImageHandel
void setImage (const core::ImgBase *image)
 make the wrapped ICLWidget show a given image
void operator= (const core::ImgBase *image)
 make the wrapped ICLWidget show a given image (as set Image)
void operator= (const core::ImgBase &image)
 make the wrapped ICLWidget show a given image (as set Image)
void render ()
 re-renders the draw-component
virtual void registerCallback (const GUI::Callback &cb, const std::string &events="all")
 passes callback registration to wrapped ICLWidget instance)
virtual void registerCallback (const GUI::ComplexCallback &, const std::string &)
 complex callbacks are not allowed for image-components (this method will throw an exception)
virtual void removeCallbacks ()
 passes callback registration to wrapped ICLWidget instance)

Detailed Description

Handle class for image components.


Constructor & Destructor Documentation

create an empty handle

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 &   
) [inline, virtual]

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.

re-renders the draw-component

make the wrapped ICLWidget show a given image


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