JointInspectorPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2016 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 
18 #ifndef _GAZEBO_GUI_JOINT_INSPECTOR_PRIVATE_HH_
19 #define _GAZEBO_GUI_JOINT_INSPECTOR_PRIVATE_HH_
20 
21 #include <string>
22 #include <vector>
23 
25 
26 #include "gazebo/msgs/msgs.hh"
27 
28 #include "gazebo/gui/qt.h"
29 
30 namespace gazebo
31 {
32  namespace gui
33  {
34  class ConfigChildWidget;
35  class ConfigWidget;
36  class JointMaker;
37 
40  {
43 
46 
50 
54 
56  public: QPushButton *okButton;
57 
59  public: std::vector<event::ConnectionPtr> connections;
60 
63 
65  public: std::string jointId;
66 
69  public: QLabel *parentIcon;
70 
72  public: bool validJointName;
73 
75  public: bool validLinks;
76 
79  public: msgs::Joint originalDataMsg;
80  };
81  }
82 }
83 #endif
ConfigWidget * configWidget
Config widget for configuring joint properties.
Definition: JointInspectorPrivate.hh:42
msgs::Joint originalDataMsg
Message containing the data which was in the widget when first open.
Definition: JointInspectorPrivate.hh:79
ConfigChildWidget * childLinkWidget
Custom widget for the child link to be used instead of the one generated by parsing the joint message...
Definition: JointInspectorPrivate.hh:53
A widget generated from a google protobuf message.
Definition: ConfigWidget.hh:147
ConfigChildWidget * parentLinkWidget
Custom widget for the parent link to be used instead of the one generated by parsing the joint messag...
Definition: JointInspectorPrivate.hh:49
A convenience widget that also holds pointers to a list of its child widgets.
Definition: ConfigWidget.hh:56
Private data for the JointInspector class.
Definition: JointInspectorPrivate.hh:39
JointMaker * jointMaker
Pointer to the joint maker.
Definition: JointInspectorPrivate.hh:62
Handles the creation of joints in the model editor.
Definition: JointMaker.hh:77
bool validLinks
Flag that indicates whether current links are valid.
Definition: JointInspectorPrivate.hh:75
ConfigChildWidget * nameWidget
Widget for the joint name.
Definition: JointInspectorPrivate.hh:45
QLabel * parentIcon
Label holding icon which represents the parent link.
Definition: JointInspectorPrivate.hh:69
std::string jointId
Unique ID which identifies this joint in the joint maker.
Definition: JointInspectorPrivate.hh:65
QPushButton * okButton
Ok button.
Definition: JointInspectorPrivate.hh:56
bool validJointName
Flag that indicates whether current joint name is valid.
Definition: JointInspectorPrivate.hh:72
std::vector< event::ConnectionPtr > connections
A list of gui editor events connected to this.
Definition: JointInspectorPrivate.hh:59