KinematicUnitConfigDialog.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::
17* @author Mirko Waechter ( mirko.waechter 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
31
33
34namespace Ui
35{
36 class KinematicUnitConfigDialog;
37}
38
39namespace armarx
40{
41 class KinematicUnitConfigDialog : public QDialog, virtual public ManagedIceObject
42 {
43 Q_OBJECT
44
45 public:
46 explicit KinematicUnitConfigDialog(QWidget* parent = 0);
48
49 // inherited from ManagedIceObject
50 std::string
51 getDefaultName() const override
52 {
53 return "KinematicUnitConfigDialog" + uuid;
54 }
55
56 void onInitComponent() override;
57 void onConnectComponent() override;
58 void onExitComponent() override;
59
61 signals:
62
63 public slots:
64 //void modelFileSelected();
65 void verifyConfig();
66
67 void selectionChanged(int nr);
68 void proxyNameChanged(QString);
69 protected slots:
70 void updateSubconfig(std::string kinematicUnitName);
71
72 private:
73 IceProxyFinderBase* proxyFinder;
74 Ui::KinematicUnitConfigDialog* ui;
75 std::string uuid;
77 };
78} // namespace armarx
The IceProxyFinderBase class provides a convenient way to query online proxies in the ice network,...
void onInitComponent() override
Pure virtual hook for the subclass.
void onConnectComponent() override
Pure virtual hook for the subclass.
void onExitComponent() override
Hook for subclass.
void updateSubconfig(std::string kinematicUnitName)
std::string getDefaultName() const override
Retrieve default name of component.
ManagedIceObject(ManagedIceObject const &other)
ArmarX Headers.
This file offers overloads of toIce() and fromIce() functions for STL container types.