Image Component Library (ICL)
|
Handle class for image components. More...
#include <ImageHandle.h>
Public Member Functions | |
ImageHandle () | |
Create an empty handle. More... | |
ImageHandle (ICLWidget *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 () |
calles updated internally 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< ICLWidget > | |
const ICLWidget * | operator * () const |
use the *-oprator to get the wrapped component (const) More... | |
ICLWidget *& | operator * () |
use the *-oprator to get the wrapped component (unconst) More... | |
ICLWidget * | operator-> () |
this can be used for direct access to wrapped type More... | |
const ICLWidget * | 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 | cb () |
envokes all registered callbacks More... | |
Additional Inherited Members | |
Protected Member Functions inherited from icl::qt::GUIHandle< ICLWidget > | |
GUIHandle () | |
as GUIHandle is just an interface, its base constructor is protected More... | |
GUIHandle (ICLWidget *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... | |
Handle class for image components.
|
inline |
Create an empty handle.
create a new ImageHandel
|
inline |
|
inline |
|
virtual |
passes callback registration to wrapped ICLWidget instance)
allowed event names are all,move,drag,press,release,enter,leave
Reimplemented from icl::qt::GUIHandleBase.
|
inlinevirtual |
complex callbacks are not allowed for image-components (this method will throw an exception)
Reimplemented from icl::qt::GUIHandleBase.
|
virtual |
passes callback registration to wrapped ICLWidget instance)
Reimplemented from icl::qt::GUIHandleBase.
void icl::qt::ImageHandle::render | ( | ) |
calles updated internally
void icl::qt::ImageHandle::setImage | ( | const core::ImgBase * | image | ) |
make the wrapped ICLWidget show a given image