ObjectClassEditDialog.h
Go to the documentation of this file.
1 /*
2 * This file is part of ArmarX.
3 *
4 * ArmarX is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * ArmarX is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * @package ArmarX::MemoryX::PriorMemoryEditorPlugin
17 * @author Alexey Kozlov (kozlov at kit dot edu)
18 * @author Kai Welke (welke at kit dot edu)
19 * @date 2012
20 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
21 * GNU General Public License
22 */
23 
24 #pragma once
25 
26 #include "../EntityEditDialog.h"
27 
31 #include "GraspEditorDialog.h"
32 
34 
35 #include <QFileDialog>
36 
37 namespace Ui
38 {
39  class ObjectClassEditDialog;
40 }
41 
42 namespace memoryx
43 {
44 
46  {
47  Q_OBJECT
48 
49  public:
50  explicit ObjectClassEditDialog(armarx::RobotStateComponentInterfacePrx robotStateComponent, QWidget* parent = 0);
51  ~ObjectClassEditDialog() override;
52 
53  void setClassNameEditable(bool editable);
54 
55  void updateGui(const EntityPtr& entity) override;
56  void updateEntity(const EntityPtr& entity, std::string filesDBName) override;
57 
58  public slots:
59 
60  private:
61  Ui::ObjectClassEditDialog* ui;
62 
63  // tabs
64  ManipulationAttributesEditTab* manipulationAttributesEditTab;
65  RecognitionAttributesEditTab* recognitionAttributesEditTab;
66  MotionAttributesEditTab* motionAttributesEditTab;
67  armarx::RobotStateComponentInterfacePrx robotStateComponent;
68 
69  friend class PriorEditorController;
70  };
71 }
72 
memoryx::ObjectClassEditDialog::~ObjectClassEditDialog
~ObjectClassEditDialog() override
Definition: ObjectClassEditDialog.cpp:55
memoryx::MotionAttributesEditTab
This tab allows to change the motion model attributes of an objectclass entity.
Definition: MotionAttributesEditTab.h:42
GraspEditorDialog.h
memoryx::ObjectClassEditDialog::ObjectClassEditDialog
ObjectClassEditDialog(armarx::RobotStateComponentInterfacePrx robotStateComponent, QWidget *parent=0)
Definition: ObjectClassEditDialog.cpp:35
memoryx::ObjectClassEditDialog
Definition: ObjectClassEditDialog.h:45
memoryx
VirtualRobot headers.
Definition: CommonPlacesTester.cpp:48
IceInternal::Handle
Definition: forward_declarations.h:8
memoryx::ObjectClassEditDialog::updateGui
void updateGui(const EntityPtr &entity) override
Pure virtual method.
Definition: ObjectClassEditDialog.cpp:65
MotionAttributesEditTab.h
memoryx::EntityEditDialog
The entity edit dialog is a superclass for all edit dialogs used to set attributes of entites.
Definition: EntityEditDialog.h:35
memoryx::ManipulationAttributesEditTab
This tab allows to change the simox attributes of an objectclass entity.
Definition: ManipulationAttributesEditTab.h:41
Ui
ArmarX Headers.
Definition: ArmarXMainWindow.h:58
memoryx::ObjectClassEditDialog::setClassNameEditable
void setClassNameEditable(bool editable)
Definition: ObjectClassEditDialog.cpp:60
ManipulationAttributesEditTab.h
RecognitionAttributesEditTab.h
Entity.h
IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface >
memoryx::ObjectClassEditDialog::updateEntity
void updateEntity(const EntityPtr &entity, std::string filesDBName) override
Pure virtual method.
Definition: ObjectClassEditDialog.cpp:83
memoryx::RecognitionAttributesEditTab
This tab allows to change the recognition attributes of an objectclass entity.
Definition: RecognitionAttributesEditTab.h:41
memoryx::PriorEditorController
This widget allows to view and edit data entries in the prior memory.
Definition: PriorMemoryEditorPlugin.h:120