moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
moveit_rviz_plugin::ProgressBarDelegate Class Reference

Delegate to show the joint value as with a progress bar indicator between min and max. More...

#include <motion_planning_frame_joints_widget.h>

Inheritance diagram for moveit_rviz_plugin::ProgressBarDelegate:
Inheritance graph
[legend]
Collaboration diagram for moveit_rviz_plugin::ProgressBarDelegate:
Collaboration graph
[legend]

Public Types

enum  CustomRole { JointTypeRole = Qt::UserRole , VariableBoundsRole }
 

Public Member Functions

 ProgressBarDelegate (QWidget *parent=nullptr)
 
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 

Detailed Description

Delegate to show the joint value as with a progress bar indicator between min and max.

Definition at line 161 of file motion_planning_frame_joints_widget.h.

Member Enumeration Documentation

◆ CustomRole

Enumerator
JointTypeRole 
VariableBoundsRole 

Definition at line 166 of file motion_planning_frame_joints_widget.h.

Constructor & Destructor Documentation

◆ ProgressBarDelegate()

moveit_rviz_plugin::ProgressBarDelegate::ProgressBarDelegate ( QWidget *  parent = nullptr)
inline

Definition at line 172 of file motion_planning_frame_joints_widget.h.

Member Function Documentation

◆ createEditor()

QWidget * moveit_rviz_plugin::ProgressBarDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

Definition at line 444 of file motion_planning_frame_joints_widget.cpp.

Here is the call graph for this function:

◆ paint()

void moveit_rviz_plugin::ProgressBarDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

Definition at line 395 of file motion_planning_frame_joints_widget.cpp.


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