Image Component Library (ICL)
|
Handle class for disp components. More...
#include <DispHandle.h>
Public Member Functions | |
DispHandle () | |
create an empty handle More... | |
DispHandle (LabelMatrix *lm, GUIWidget *w) | |
Create a new DispHandle with given. More... | |
LabelHandle & | operator() (int x, int y) |
index access operator More... | |
const LabelHandle & | operator() (int x, int y) const |
index access operator (const) More... | |
int | getWidth () const |
width of the matrix (max x index is w()-1 More... | |
int | getHeight () const |
height of the matrix (max y index is h()-1 More... | |
int | getDim () const |
returns the number of matrix elements w*h More... | |
void | enable () |
enables all components More... | |
void | disable () |
disables all components More... | |
Public Member Functions inherited from icl::qt::GUIHandle< LabelMatrix > | |
const LabelMatrix * | operator * () const |
use the *-oprator to get the wrapped component (const) More... | |
LabelMatrix *& | operator * () |
use the *-oprator to get the wrapped component (unconst) More... | |
LabelMatrix * | operator-> () |
this can be used for direct access to wrapped type More... | |
const LabelMatrix * | 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 | registerCallback (const GUI::Callback &cb, const std::string &events="all") |
registers a callback on this gui widget More... | |
virtual void | registerCallback (const GUI::ComplexCallback &cb, const std::string &events="all") |
registers a complex callback on this gui component 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< LabelMatrix > | |
GUIHandle () | |
as GUIHandle is just an interface, its base constructor is protected More... | |
GUIHandle (LabelMatrix *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 disp components.
|
inline |
create an empty handle
|
inline |
Create a new DispHandle with given.
|
inline |
disables all components
|
inline |
enables all components
|
inline |
returns the number of matrix elements w*h
|
inline |
height of the matrix (max y index is h()-1
|
inline |
width of the matrix (max x index is w()-1
|
inline |
index access operator
|
inline |
index access operator (const)