Image Component Library (ICL)
Classes | Public Slots | Public Member Functions | Private Attributes | List of all members
icl::qt::MultiDrawHandle Class Reference

Handle class for image components. More...

#include <MultiDrawHandle.h>

Inheritance diagram for icl::qt::MultiDrawHandle:
icl::qt::GUIHandle< ICLDrawWidget > icl::qt::GUIHandleBase

Classes

class  Assigner
 

Public Slots

ICLQt_API void tabChanged (int idx)
 

Public Member Functions

ICLQt_API MultiDrawHandle ()
 Create an empty draw handle. More...
 
ICLQt_API MultiDrawHandle (ICLDrawWidget *w, QTabBar *t, std::vector< core::ImgBase * > *imageBuffer, bool bufferAll, bool bufferDeeply, GUIWidget *guiw)
 create a new ImageHandel More...
 
ICLQt_API MultiDrawHandle (const MultiDrawHandle &other)
 explicit copy constructor More...
 
ICLQt_API ~MultiDrawHandle ()
 
ICLQt_API Assigner operator[] (int idx)
 
ICLQt_API Assigner operator[] (const std::string &name)
 
ICLQt_API void render ()
 calles updated internally More...
 
ICLQt_API int getSelectedIndex ()
 
ICLQt_API int getNumTabs ()
 
ICLQt_API std::string getSelected ()
 
ICLQt_API bool isSelected (const std::string &text)
 
- Public Member Functions inherited from icl::qt::GUIHandle< ICLDrawWidget >
const ICLDrawWidgetoperator * () const
 use the *-oprator to get the wrapped component (const) More...
 
ICLDrawWidget *& operator * ()
 use the *-oprator to get the wrapped component (unconst) More...
 
ICLDrawWidgetoperator-> ()
 this can be used for direct access to wrapped type More...
 
const ICLDrawWidgetoperator-> () 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 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...
 

Private Attributes

std::vector< core::ImgBase * > * m_imageBuffer
 
QTabBar * m_tabBar
 
std::map< std::string, int > m_map
 
bool m_bufferAll
 
bool m_bufferDeeply
 

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...
 

Detailed Description

Handle class for image components.

Constructor & Destructor Documentation

◆ MultiDrawHandle() [1/3]

ICLQt_API icl::qt::MultiDrawHandle::MultiDrawHandle ( )

Create an empty draw handle.

◆ MultiDrawHandle() [2/3]

ICLQt_API icl::qt::MultiDrawHandle::MultiDrawHandle ( ICLDrawWidget w,
QTabBar *  t,
std::vector< core::ImgBase * > *  imageBuffer,
bool  bufferAll,
bool  bufferDeeply,
GUIWidget guiw 
)

create a new ImageHandel

◆ MultiDrawHandle() [3/3]

ICLQt_API icl::qt::MultiDrawHandle::MultiDrawHandle ( const MultiDrawHandle other)

explicit copy constructor

◆ ~MultiDrawHandle()

ICLQt_API icl::qt::MultiDrawHandle::~MultiDrawHandle ( )

Member Function Documentation

◆ getNumTabs()

ICLQt_API int icl::qt::MultiDrawHandle::getNumTabs ( )

◆ getSelected()

ICLQt_API std::string icl::qt::MultiDrawHandle::getSelected ( )

◆ getSelectedIndex()

ICLQt_API int icl::qt::MultiDrawHandle::getSelectedIndex ( )

◆ isSelected()

ICLQt_API bool icl::qt::MultiDrawHandle::isSelected ( const std::string &  text)

◆ operator[]() [1/2]

ICLQt_API Assigner icl::qt::MultiDrawHandle::operator[] ( int  idx)

◆ operator[]() [2/2]

ICLQt_API Assigner icl::qt::MultiDrawHandle::operator[] ( const std::string &  name)

◆ render()

ICLQt_API void icl::qt::MultiDrawHandle::render ( )

calles updated internally

◆ tabChanged

ICLQt_API void icl::qt::MultiDrawHandle::tabChanged ( int  idx)
slot

Member Data Documentation

◆ m_bufferAll

bool icl::qt::MultiDrawHandle::m_bufferAll
private

◆ m_bufferDeeply

bool icl::qt::MultiDrawHandle::m_bufferDeeply
private

◆ m_imageBuffer

std::vector<core::ImgBase*>* icl::qt::MultiDrawHandle::m_imageBuffer
private

◆ m_map

std::map<std::string,int> icl::qt::MultiDrawHandle::m_map
private

◆ m_tabBar

QTabBar* icl::qt::MultiDrawHandle::m_tabBar
private

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