Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
icl::qt::ImageHandle Class Reference

Handle class for image components. More...

#include <ImageHandle.h>

Inheritance diagram for icl::qt::ImageHandle:
icl::qt::GUIHandle< ICLWidget > icl::qt::GUIHandleBase

List of all members.

Public Member Functions

 ImageHandle ()
 Create an empty handle.
 ImageHandle (ICLWidget *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 ()
 calles updated internally
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.

icl::qt::ImageHandle::ImageHandle ( ICLWidget w,
GUIWidget guiw 
) [inline]

create a new ImageHandel


Member Function Documentation

void icl::qt::ImageHandle::operator= ( const core::ImgBase image) [inline]

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

void icl::qt::ImageHandle::operator= ( const core::ImgBase image) [inline]

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

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

passes callback registration to wrapped ICLWidget instance)

allowed event names are all,move,drag,press,release,enter,leave

Reimplemented from icl::qt::GUIHandleBase.

virtual void icl::qt::ImageHandle::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::ImageHandle::removeCallbacks ( ) [virtual]

passes callback registration to wrapped ICLWidget instance)

Reimplemented from icl::qt::GUIHandleBase.

calles updated internally

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