Image Component Library (ICL)
|
Handle class for image components. More...
#include <DrawHandle.h>
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 ICLDrawWidget * | operator * () const |
use the *-oprator to get the wrapped component (const) More... | |
ICLDrawWidget *& | operator * () |
use the *-oprator to get the wrapped component (unconst) More... | |
ICLDrawWidget * | operator-> () |
this can be used for direct access to wrapped type More... | |
const ICLDrawWidget * | 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< 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... | |
Handle class for image components.
|
inline |
create an empty handle
|
inline |
create a new ImageHandel
|
inline |
|
inline |
|
virtual |
passes callback registration to wrapped ICLWidget instance)
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::DrawHandle::render | ( | ) |
re-renders the draw-component
void icl::qt::DrawHandle::setImage | ( | const core::ImgBase * | image | ) |
make the wrapped ICLWidget show a given image