All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ModelListWidget_TEST.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2014 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 _MODELLISTWIDGET_TEST_HH_
19 #define _MODELLISTWIDGET_TEST_HH_
20 
21 #include <string>
23 
24 class QtProperty;
26 
29 {
30  Q_OBJECT
31 
34  private: void OnResponse(ConstResponsePtr &_msg);
35 
39  private: void CheckPoseProperty(QList<QtProperty *> _properties,
40  const gazebo::math::Pose &_pose);
41 
46  private: void SetPoseProperty(QtTreePropertyBrowser *propTreeBrowser,
47  QList<QtProperty *> _properties,
48  const gazebo::math::Pose &_pose);
49 
57  private: void CheckLinkProperty(QList<QtProperty *> _properties,
58  const std::string &_name, bool _selfCollide, bool _gravity, bool _kinematic,
59  bool _canonical, const gazebo::math::Pose &_pose);
60 
71  private: void SetLinkProperty(QtTreePropertyBrowser *propTreeBrowser,
72  QList<QtProperty *> _properties, const std::string &_name,
73  bool _selfCollide, bool _gravity, bool _kinematic, bool _canonical,
74  const gazebo::math::Pose &_pose);
75 
77  private slots: void TreeWidget();
78 
80  private slots: void ModelsTree();
81 
85  private slots: void ModelProperties();
86 
91  private slots: void LinkProperties();
92 };
93 
94 #endif
Encapsulates a position and rotation in three space.
Definition: Pose.hh:40
Base class for all Gazebo GUI unit tests.
Definition: QTestFixture.hh:37
Definition: qttreepropertybrowser.h:142
A test class for the ModelListWidget.
Definition: ModelListWidget_TEST.hh:28
Definition: qtpropertybrowser.h:77