Choreonoid  1.8
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
cnoid::MprProgramViewBase::StatementDelegate Class Reference

#include <MprProgramViewBase.h>

Inheritance diagram for cnoid::MprProgramViewBase::StatementDelegate:
cnoid::Referenced

Public Member Functions

 StatementDelegate ()
 
 ~StatementDelegate ()
 
virtual void activateStatement (MprStatement *statement) const
 
virtual int labelSpan (MprStatement *statement, int column) const
 
virtual QVariant dataOfEditRole (MprStatement *statement, int column) const
 
virtual void setDataOfEditRole (MprStatement *statement, int column, const QVariant &value) const
 
virtual QWidget * createEditor (MprStatement *statement, int column, QWidget *parent) const
 
virtual void setEditorData (MprStatement *statement, int column, QWidget *editor) const
 
virtual void setStatementData (MprStatement *statement, int column, QWidget *editor) const
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 

Public Attributes

Impl * impl
 

Static Public Attributes

static constexpr int SpanToLast = -1
 

Protected Member Functions

QWidget * createDefaultEditor () const
 
- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
int refCount () const
 

Constructor & Destructor Documentation

◆ StatementDelegate()

MprProgramViewBase::StatementDelegate::StatementDelegate ( )

◆ ~StatementDelegate()

MprProgramViewBase::StatementDelegate::~StatementDelegate ( )

Member Function Documentation

◆ activateStatement()

void MprProgramViewBase::StatementDelegate::activateStatement ( MprStatement statement) const
virtual

◆ createDefaultEditor()

QWidget * MprProgramViewBase::StatementDelegate::createDefaultEditor ( ) const
protected

◆ createEditor()

QWidget * MprProgramViewBase::StatementDelegate::createEditor ( MprStatement statement,
int  column,
QWidget *  parent 
) const
virtual

◆ dataOfEditRole()

QVariant MprProgramViewBase::StatementDelegate::dataOfEditRole ( MprStatement statement,
int  column 
) const
virtual

◆ labelSpan()

int MprProgramViewBase::StatementDelegate::labelSpan ( MprStatement statement,
int  column 
) const
virtual

◆ setDataOfEditRole()

void MprProgramViewBase::StatementDelegate::setDataOfEditRole ( MprStatement statement,
int  column,
const QVariant &  value 
) const
virtual

◆ setEditorData()

void MprProgramViewBase::StatementDelegate::setEditorData ( MprStatement statement,
int  column,
QWidget *  editor 
) const
virtual

◆ setStatementData()

void MprProgramViewBase::StatementDelegate::setStatementData ( MprStatement statement,
int  column,
QWidget *  editor 
) const
virtual

Member Data Documentation

◆ impl

Impl* cnoid::MprProgramViewBase::StatementDelegate::impl

◆ SpanToLast

constexpr int cnoid::MprProgramViewBase::StatementDelegate::SpanToLast = -1
staticconstexpr

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