Image Component Library (ICL)
Public Member Functions | List of all members
icl::qt::PlotHandle Class Reference

Handle class for image components. More...

#include <PlotHandle.h>

Inheritance diagram for icl::qt::PlotHandle:
icl::qt::GUIHandle< PlotWidget > icl::qt::GUIHandleBase

Public Member Functions

 PlotHandle ()
 Create an empty handle. More...
 
 PlotHandle (PlotWidget *w, GUIWidget *guiw)
 create a new ImageHandel More...
 
void render ()
 re-renders the widget More...
 
virtual void registerCallback (const GUI::Callback &cb, const std::string &events="all")
 callback registration is not supported for this compoment 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...
 
- Public Member Functions inherited from icl::qt::GUIHandle< PlotWidget >
const PlotWidgetoperator * () const
 use the *-oprator to get the wrapped component (const) More...
 
PlotWidget *& operator * ()
 use the *-oprator to get the wrapped component (unconst) More...
 
PlotWidgetoperator-> ()
 this can be used for direct access to wrapped type More...
 
const PlotWidgetoperator-> () 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...
 
GUIWidgetgetGUIWidget ()
 returns parent GUIWidget pointer More...
 
virtual void removeCallbacks ()
 removes all callbacks from parent GUIWidget component More...
 
virtual void cb ()
 envokes all registered callbacks More...
 

Additional Inherited Members

- Protected Member Functions inherited from icl::qt::GUIHandle< PlotWidget >
 GUIHandle ()
 as GUIHandle is just an interface, its base constructor is protected More...
 
 GUIHandle (PlotWidget *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...
 

Detailed Description

Handle class for image components.

Constructor & Destructor Documentation

◆ PlotHandle() [1/2]

icl::qt::PlotHandle::PlotHandle ( )
inline

Create an empty handle.

◆ PlotHandle() [2/2]

icl::qt::PlotHandle::PlotHandle ( PlotWidget w,
GUIWidget guiw 
)
inline

create a new ImageHandel

Member Function Documentation

◆ registerCallback() [1/2]

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

callback registration is not supported for this compoment

Reimplemented from icl::qt::GUIHandleBase.

◆ registerCallback() [2/2]

virtual void icl::qt::PlotHandle::registerCallback ( const GUI::ComplexCallback ,
const std::string &   
)
inlinevirtual

complex callbacks are not allowed for image-components (this method will throw an exception)

Reimplemented from icl::qt::GUIHandleBase.

◆ render()

void icl::qt::PlotHandle::render ( )

re-renders the widget


The documentation for this class was generated from the following file: