YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
RobotWidgetTree Class Reference

#include </home/runner/work/yarp-documentation/yarp-documentation/yarp/src/guis/yarpmotorgui/robotWidgetTree.h>

+ Inheritance diagram for RobotWidgetTree:

Signals

void sig_partDoubleClicked (int index)
 
- Signals inherited from CustomGroupBox
void sig_titleDoubleClick ()
 

Public Member Functions

 RobotWidgetTree (QWidget *parent=nullptr)
 
void setIcons (const QIcon &okIcon, const QIcon &warningIcon)
 
void addPart (const std::string &partName, int partIndex, PartItemTree *partTreeWidget)
 
void updateRobotPart (int index, const QVector< JointItem::JointState > &modes)
 
void resizeEvent (QResizeEvent *event) override
 
- Public Member Functions inherited from CustomGroupBox
 CustomGroupBox (QWidget *parent=nullptr)
 
 ~CustomGroupBox () override
 
void setTitle (const QString &string)
 
void setTitleBackgroundColor (const QColor &backgroundColor)
 
void removeTitleBackground ()
 
void setTitleIcon (const QIcon &icon)
 
void addWidget (QWidget *widget)
 
void toggle (bool visible)
 
void enableCollapseAllContextMenu (bool enable)
 
bool visible () const
 
void toggleChildren (bool visible)
 

Detailed Description

Definition at line 19 of file robotWidgetTree.h.

Constructor & Destructor Documentation

◆ RobotWidgetTree()

RobotWidgetTree::RobotWidgetTree ( QWidget *  parent = nullptr)
explicit

Definition at line 11 of file robotWidgetTree.cpp.

Member Function Documentation

◆ addPart()

void RobotWidgetTree::addPart ( const std::string &  partName,
int  partIndex,
PartItemTree partTreeWidget 
)

Definition at line 23 of file robotWidgetTree.cpp.

◆ resizeEvent()

void RobotWidgetTree::resizeEvent ( QResizeEvent *  event)
override

Definition at line 62 of file robotWidgetTree.cpp.

◆ setIcons()

void RobotWidgetTree::setIcons ( const QIcon &  okIcon,
const QIcon &  warningIcon 
)

Definition at line 17 of file robotWidgetTree.cpp.

◆ sig_partDoubleClicked

void RobotWidgetTree::sig_partDoubleClicked ( int  index)
signal

◆ updateRobotPart()

void RobotWidgetTree::updateRobotPart ( int  index,
const QVector< JointItem::JointState > &  modes 
)

Definition at line 36 of file robotWidgetTree.cpp.


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