Choreonoid  1.8
Public Member Functions | Friends | List of all members
cnoid::LinkDeviceTreeItem Class Reference

#include <LinkDeviceTreeWidget.h>

Inheritance diagram for cnoid::LinkDeviceTreeItem:

Public Member Functions

 LinkDeviceTreeItem (const std::string &name, LinkDeviceTreeWidget::Impl *treeImpl=nullptr)
 
int rowIndex () const
 
const std::string & name () const
 
const QString & nameText () const
 
Linklink ()
 
const Linklink () const
 
const Devicedevice () const
 
bool isLinkGroup () const
 
int numberColumnMode () const
 
virtual QVariant data (int column, int role) const override
 
virtual void setData (int column, int role, const QVariant &value) override
 

Friends

class LinkDeviceTreeWidget
 
class LinkDeviceTreeWidget::Impl
 

Constructor & Destructor Documentation

◆ LinkDeviceTreeItem()

LinkDeviceTreeItem::LinkDeviceTreeItem ( const std::string &  name,
LinkDeviceTreeWidget::Impl *  treeImpl = nullptr 
)

Member Function Documentation

◆ data()

QVariant LinkDeviceTreeItem::data ( int  column,
int  role 
) const
overridevirtual

◆ device()

const Device* cnoid::LinkDeviceTreeItem::device ( ) const
inline

◆ isLinkGroup()

bool cnoid::LinkDeviceTreeItem::isLinkGroup ( ) const
inline

◆ link() [1/2]

Link* cnoid::LinkDeviceTreeItem::link ( )
inline

◆ link() [2/2]

const Link* cnoid::LinkDeviceTreeItem::link ( ) const
inline

◆ name()

const std::string& cnoid::LinkDeviceTreeItem::name ( ) const
inline

◆ nameText()

const QString& cnoid::LinkDeviceTreeItem::nameText ( ) const
inline

◆ numberColumnMode()

int LinkDeviceTreeItem::numberColumnMode ( ) const

◆ rowIndex()

int cnoid::LinkDeviceTreeItem::rowIndex ( ) const
inline

◆ setData()

void LinkDeviceTreeItem::setData ( int  column,
int  role,
const QVariant &  value 
)
overridevirtual

Friends And Related Function Documentation

◆ LinkDeviceTreeWidget

friend class LinkDeviceTreeWidget
friend

◆ LinkDeviceTreeWidget::Impl

friend class LinkDeviceTreeWidget::Impl
friend

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