Signals | Public Member Functions | Public Attributes | Private Slots | Private Attributes | List of all members
moveit_setup_assistant::SliderWidget Class Reference

#include <robot_poses_widget.h>

Inheritance diagram for moveit_setup_assistant::SliderWidget:
Inheritance graph
[legend]

Signals

void jointValueChanged (const std::string &name, double value)
 Indicate joint name and value when slider widget changed. More...
 

Public Member Functions

 SliderWidget (QWidget *parent, const robot_model::JointModel *joint_model, double init_value)
 
 ~SliderWidget ()
 

Public Attributes

QLabel * joint_label_
 
QSlider * joint_slider_
 
QLineEdit * joint_value_
 

Private Slots

void changeJointSlider ()
 Called when the joint value box is changed. More...
 
void changeJointValue (int value)
 Called when the joint value slider is changed. More...
 

Private Attributes

const robot_model::JointModel * joint_model_
 
double max_position_
 
double min_position_
 

Detailed Description

Definition at line 226 of file robot_poses_widget.h.

Constructor & Destructor Documentation

moveit_setup_assistant::SliderWidget::SliderWidget ( QWidget *  parent,
const robot_model::JointModel *  joint_model,
double  init_value 
)

Constructor

Parameters
parent- parent QWidget
joint_model_- a ptr reference to the joint this widget represents

Definition at line 843 of file robot_poses_widget.cpp.

moveit_setup_assistant::SliderWidget::~SliderWidget ( )

Deconstructor

Definition at line 911 of file robot_poses_widget.cpp.

Member Function Documentation

void moveit_setup_assistant::SliderWidget::changeJointSlider ( )
privateslot

Called when the joint value box is changed.

Definition at line 933 of file robot_poses_widget.cpp.

void moveit_setup_assistant::SliderWidget::changeJointValue ( int  value)
privateslot

Called when the joint value slider is changed.

Definition at line 918 of file robot_poses_widget.cpp.

void moveit_setup_assistant::SliderWidget::jointValueChanged ( const std::string &  name,
double  value 
)
signal

Indicate joint name and value when slider widget changed.

Member Data Documentation

QLabel* moveit_setup_assistant::SliderWidget::joint_label_

Definition at line 252 of file robot_poses_widget.h.

const robot_model::JointModel* moveit_setup_assistant::SliderWidget::joint_model_
private

Definition at line 283 of file robot_poses_widget.h.

QSlider* moveit_setup_assistant::SliderWidget::joint_slider_

Definition at line 253 of file robot_poses_widget.h.

QLineEdit* moveit_setup_assistant::SliderWidget::joint_value_

Definition at line 254 of file robot_poses_widget.h.

double moveit_setup_assistant::SliderWidget::max_position_
private

Definition at line 286 of file robot_poses_widget.h.

double moveit_setup_assistant::SliderWidget::min_position_
private

Definition at line 287 of file robot_poses_widget.h.


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


moveit_setup_assistant
Author(s): Dave Coleman
autogenerated on Sun Oct 18 2020 13:19:28