Image Component Library (ICL)
|
Handle class for image components. More...
#include <DrawHandle.h>
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) |
Handle class for image components.
icl::qt::DrawHandle::DrawHandle | ( | ) | [inline] |
create an empty handle
icl::qt::DrawHandle::DrawHandle | ( | ICLDrawWidget * | w, |
GUIWidget * | guiw | ||
) | [inline] |
create a new ImageHandel
void icl::qt::DrawHandle::operator= | ( | const core::ImgBase * | image | ) | [inline] |
void icl::qt::DrawHandle::operator= | ( | const core::ImgBase & | image | ) | [inline] |
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.
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