Public Slots | Public Member Functions | Private Member Functions | Private Attributes | List of all members
thormang3_offset_tuner_client::MainWindow Class Reference

Qt central, all operations relating to the view part here. More...

#include <main_window.hpp>

Inheritance diagram for thormang3_offset_tuner_client::MainWindow:
Inheritance graph
[legend]

Public Slots

void all_torque_off_button_clicked (QObject *button_group)
 
void all_torque_on_button_clicked (QObject *button_group)
 
void on_actionAbout_triggered ()
 
void on_inipose_button_clicked (bool checck)
 
void on_refresh_button_clicked (bool check)
 
void on_save_button_clicked (bool check)
 
void spinBox_valueChanged (QString joint_name)
 
void torque_checkbox_clicked (QWidget *widget)
 
void update_joint_offset_data_spinbox (thormang3_offset_tuner_msgs::JointOffsetPositionData msg)
 
void updateLoggingView ()
 

Public Member Functions

void closeEvent (QCloseEvent *event)
 
 MainWindow (int argc, char **argv, QWidget *parent=0)
 
 ~MainWindow ()
 

Private Member Functions

void MakeTabUI (QGroupBox *joint_widget, QGroupBox *torque_widget, QButtonGroup *button_group, std::map< int, std::string > &offset_group)
 
void MakeUI ()
 
void publish_torque_msgs (std::string &joint_name, bool torque_on)
 

Private Attributes

bool all_torque_on_
 
QButtonGroup * body_button_group_
 
std::map< std::string, QList< QAbstractSpinBox * > > joint_spinbox_map_
 
QButtonGroup * left_arm_button_group_
 
QButtonGroup * legs_button_group_
 
QNode offset_tuner_qnode_
 
QButtonGroup * right_arm_button_group_
 
std::vector< std::string > spinBox_list_
 
Ui::MainWindowDesign ui_
 

Detailed Description

Qt central, all operations relating to the view part here.

Definition at line 49 of file main_window.hpp.

Constructor & Destructor Documentation

thormang3_offset_tuner_client::MainWindow::MainWindow ( int  argc,
char **  argv,
QWidget *  parent = 0 
)

Definition at line 41 of file main_window.cpp.

thormang3_offset_tuner_client::MainWindow::~MainWindow ( )

Definition at line 91 of file main_window.cpp.

Member Function Documentation

void thormang3_offset_tuner_client::MainWindow::all_torque_off_button_clicked ( QObject *  button_group)
slot

Definition at line 140 of file main_window.cpp.

void thormang3_offset_tuner_client::MainWindow::all_torque_on_button_clicked ( QObject *  button_group)
slot

Definition at line 120 of file main_window.cpp.

void thormang3_offset_tuner_client::MainWindow::closeEvent ( QCloseEvent *  event)

Definition at line 481 of file main_window.cpp.

void thormang3_offset_tuner_client::MainWindow::MakeTabUI ( QGroupBox *  joint_widget,
QGroupBox *  torque_widget,
QButtonGroup *  button_group,
std::map< int, std::string > &  offset_group 
)
private

Definition at line 340 of file main_window.cpp.

void thormang3_offset_tuner_client::MainWindow::MakeUI ( )
private

Definition at line 331 of file main_window.cpp.

void thormang3_offset_tuner_client::MainWindow::on_actionAbout_triggered ( )
slot

Definition at line 472 of file main_window.cpp.

void thormang3_offset_tuner_client::MainWindow::on_inipose_button_clicked ( bool  checck)
slot

Definition at line 107 of file main_window.cpp.

void thormang3_offset_tuner_client::MainWindow::on_refresh_button_clicked ( bool  check)
slot

Definition at line 115 of file main_window.cpp.

void thormang3_offset_tuner_client::MainWindow::on_save_button_clicked ( bool  check)
slot

Definition at line 99 of file main_window.cpp.

void thormang3_offset_tuner_client::MainWindow::publish_torque_msgs ( std::string &  joint_name,
bool  torque_on 
)
private

Definition at line 175 of file main_window.cpp.

void thormang3_offset_tuner_client::MainWindow::spinBox_valueChanged ( QString  joint_name)
slot

Definition at line 191 of file main_window.cpp.

void thormang3_offset_tuner_client::MainWindow::torque_checkbox_clicked ( QWidget *  widget)
slot

Definition at line 155 of file main_window.cpp.

void thormang3_offset_tuner_client::MainWindow::update_joint_offset_data_spinbox ( thormang3_offset_tuner_msgs::JointOffsetPositionData  msg)
slot

Definition at line 258 of file main_window.cpp.

void thormang3_offset_tuner_client::MainWindow::updateLoggingView ( )
slot

This function is signalled by the underlying model. When the model changes, this will drop the cursor down to the last line in the QListview to ensure the user can always see the latest log message.

Definition at line 326 of file main_window.cpp.

Member Data Documentation

bool thormang3_offset_tuner_client::MainWindow::all_torque_on_
private

Definition at line 90 of file main_window.hpp.

QButtonGroup* thormang3_offset_tuner_client::MainWindow::body_button_group_
private

Definition at line 95 of file main_window.hpp.

std::map<std::string, QList<QAbstractSpinBox *> > thormang3_offset_tuner_client::MainWindow::joint_spinbox_map_
private

Definition at line 98 of file main_window.hpp.

QButtonGroup* thormang3_offset_tuner_client::MainWindow::left_arm_button_group_
private

Definition at line 93 of file main_window.hpp.

QButtonGroup* thormang3_offset_tuner_client::MainWindow::legs_button_group_
private

Definition at line 94 of file main_window.hpp.

QNode thormang3_offset_tuner_client::MainWindow::offset_tuner_qnode_
private

Definition at line 88 of file main_window.hpp.

QButtonGroup* thormang3_offset_tuner_client::MainWindow::right_arm_button_group_
private

Definition at line 92 of file main_window.hpp.

std::vector<std::string> thormang3_offset_tuner_client::MainWindow::spinBox_list_
private

Definition at line 96 of file main_window.hpp.

Ui::MainWindowDesign thormang3_offset_tuner_client::MainWindow::ui_
private

Definition at line 87 of file main_window.hpp.


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


thormang3_offset_tuner_client
Author(s): Kayman
autogenerated on Mon Jun 10 2019 15:38:36