EntityAttributesEditTab.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 MemoryX::MemoryX::PriorMemoryEditorPlugin
17
* @author Kai Welke (welke at kit dot edu)
18
* @date 2013
19
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
23
#pragma once
24
25
#include <QWidget>
26
#include <QFileDialog>
27
#include <
MemoryX/core/entity/Entity.h
>
28
29
namespace
memoryx
30
{
31
32
/**
33
* The entity edit dialog is a superclass for all edit dialogs used to set attributes of
34
* entites. Currently the dialogs are used by the PriorMemoryEditor gui plugin.
35
**/
36
class
EntityAttributesEditTab
:
public
QWidget
37
{
38
Q_OBJECT
39
40
public
:
41
explicit
EntityAttributesEditTab
(QWidget* parent = 0)
42
: QWidget(parent)
43
{};
44
45
/**
46
* Pure virtual method. Implement this in order to update the dialog with the information
47
* contained in the entity provided as parameter.
48
*
49
* @param entity the entity used for updating the Gui
50
**/
51
virtual
void
updateGui
(
const
EntityPtr
& entity) = 0;
52
53
/**
54
* Pure virtual method. Implement this in order to update the entity with information
55
* edited in the gui
56
*
57
* @param entity the entity to update
58
**/
59
virtual
void
updateEntity
(
const
EntityPtr
& entity, std::string filesDBName) = 0;
60
};
61
}
62
memoryx::EntityAttributesEditTab::updateGui
virtual void updateGui(const EntityPtr &entity)=0
Pure virtual method.
memoryx
VirtualRobot headers.
Definition:
CommonPlacesTester.cpp:48
IceInternal::Handle
Definition:
forward_declarations.h:8
memoryx::EntityAttributesEditTab::updateEntity
virtual void updateEntity(const EntityPtr &entity, std::string filesDBName)=0
Pure virtual method.
Entity.h
memoryx::EntityAttributesEditTab
The entity edit dialog is a superclass for all edit dialogs used to set attributes of entites.
Definition:
EntityAttributesEditTab.h:36
memoryx::EntityAttributesEditTab::EntityAttributesEditTab
EntityAttributesEditTab(QWidget *parent=0)
Definition:
EntityAttributesEditTab.h:41
MemoryX
gui-plugins
PriorMemoryEditor
EntityAttributesEditTab.h
Generated on Sat Oct 12 2024 09:14:05 for armarx_documentation by
1.8.17