MIRA
Public Slots | Public Member Functions | Public Attributes | Protected Attributes | List of all members
VisualizationTextItem Class Reference

#include <views/VisualizationTextView.h>

Inheritance diagram for VisualizationTextItem:
Inheritance graph
[legend]

Public Slots

void onSetClicked ()
 

Public Member Functions

 VisualizationTextItem (QTableWidget *t, int row)
 
void setName (const std::string &name)
 
void setText (const std::string &text)
 
virtual void setStamped (const Time &timestamp, const std::string &frameID, uint32 sequenceID)
 
int row () const
 
virtual void enableEdit (bool enable)
 
virtual void registerTextEditRequestCallback (boost::function< void()> fn)
 
virtual void setSize (const Size2i &size)
 
virtual Size2i getSize () const
 
template<typename T >
void setStamped (const Stamped< T > &stamped)
 

Public Attributes

QTableWidget * table
 
QTableWidgetItem * nameItem
 
QPlainTextEdit * textItem
 
QTableWidgetItem * timestampItem
 
QTableWidgetItem * sequenceidItem
 
QTableWidgetItem * frameidItem
 
QPushButton * setButton
 
QWidget * setItem
 

Protected Attributes

boost::function< void()> mEditRequestCb
 

Constructor & Destructor Documentation

◆ VisualizationTextItem()

VisualizationTextItem ( QTableWidget *  t,
int  row 
)

Member Function Documentation

◆ onSetClicked

void onSetClicked ( )
slot

◆ setName()

void setName ( const std::string &  name)
virtual

◆ setText()

void setText ( const std::string &  text)
virtual

◆ setStamped() [1/2]

virtual void setStamped ( const Time timestamp,
const std::string &  frameID,
uint32  sequenceID 
)
virtual

◆ row()

int row ( ) const

◆ enableEdit()

virtual void enableEdit ( bool  enable)
virtual

◆ registerTextEditRequestCallback()

virtual void registerTextEditRequestCallback ( boost::function< void()>  fn)
virtual

◆ setSize()

virtual void setSize ( const Size2i size)
virtual

◆ getSize()

virtual Size2i getSize ( ) const
virtual

◆ setStamped() [2/2]

void setStamped ( const Stamped< T > &  stamped)
inlineinherited

Member Data Documentation

◆ table

QTableWidget* table

◆ nameItem

QTableWidgetItem* nameItem

◆ textItem

QPlainTextEdit* textItem

◆ timestampItem

QTableWidgetItem* timestampItem

◆ sequenceidItem

QTableWidgetItem* sequenceidItem

◆ frameidItem

QTableWidgetItem* frameidItem

◆ setButton

QPushButton* setButton

◆ setItem

QWidget* setItem

◆ mEditRequestCb

boost::function<void ()> mEditRequestCb
protected

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