PriorEditorConfigDialog.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* @date 2012
19* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20* GNU General Public License
21*/
22
23#pragma once
24
25#include <QDialog>
26#include <QFileDialog>
27
29
31
32#include <RobotAPI/interface/core/RobotState.h>
33
34namespace Ui
35{
36 class PriorEditorConfigDialog;
37}
38
39namespace memoryx
40{
42 {
43 Q_OBJECT
44
45 public:
46 explicit PriorEditorConfigDialog(armarx::IceManagerPtr iceManager, QWidget* parent = 0);
47 ~PriorEditorConfigDialog() override;
48
49 public slots:
50 void modelFileSelected();
51
52 private:
53 Ui::PriorEditorConfigDialog* ui;
54 QFileDialog* fileDialog;
57 std::string uuid;
58 // ManagedIceObject interface
59 protected:
60 void
61 onInitComponent() override
62 {
63 proxyFinder->setIceManager(getIceManager());
64 }
65
66 void
68 {
69 }
70
71 std::string
72 getDefaultName() const override
73 {
74 return "PriorEditorConfigDialog" + uuid;
75 }
76 };
77} // namespace memoryx
Widget to conveniently retrieve a proxy instance name of a specific interface type (the template para...
The ManagedIceObject is the base class for all ArmarX objects.
IceManagerPtr getIceManager() const
Returns the IceManager.
void onInitComponent() override
Pure virtual hook for the subclass.
void onConnectComponent() override
Pure virtual hook for the subclass.
PriorEditorConfigDialog(armarx::IceManagerPtr iceManager, QWidget *parent=0)
std::string getDefaultName() const override
Retrieve default name of component.
ArmarX Headers.
IceUtil::Handle< IceManager > IceManagerPtr
IceManager smart pointer.
Definition ArmarXFwd.h:39
VirtualRobot headers.