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 
32 
33 namespace Ui
34 {
35  class KinematicUnitConfigDialog;
36 }
37 
38 namespace armarx
39 {
41  public QDialog,
42  virtual public ManagedIceObject
43  {
44  Q_OBJECT
45 
46  public:
47  explicit KinematicUnitConfigDialog(QWidget* parent = 0);
48  ~KinematicUnitConfigDialog() override;
49 
50  // inherited from ManagedIceObject
51  std::string getDefaultName() const override
52  {
53  return "KinematicUnitConfigDialog" + uuid;
54  }
55  void onInitComponent() override;
56  void onConnectComponent() override;
57  void onExitComponent() override;
58 
60  signals:
61 
62  public slots:
63  //void modelFileSelected();
64  void verifyConfig();
65 
66  void selectionChanged(int nr);
67  void proxyNameChanged(QString);
68  protected slots:
69  void updateSubconfig(std::string kinematicUnitName);
70 
71  private:
72 
73  IceProxyFinderBase* proxyFinder;
74  Ui::KinematicUnitConfigDialog* ui;
75  std::string uuid;
77  };
78 }
79 
armarx::IceProxyFinderBase
The IceProxyFinderBase class provides a convenient way to query online proxies in the ice network,...
Definition: IceProxyFinder.h:53
armarx::KinematicUnitConfigDialog::~KinematicUnitConfigDialog
~KinematicUnitConfigDialog() override
Definition: KinematicUnitConfigDialog.cpp:61
armarx::KinematicUnitConfigDialog::updateKinematicUnitList
void updateKinematicUnitList()
armarx::KinematicUnitConfigDialog::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: KinematicUnitConfigDialog.cpp:66
armarx::KinematicUnitConfigDialog::verifyConfig
void verifyConfig()
Definition: KinematicUnitConfigDialog.cpp:82
armarx::KinematicUnitConfigDialog::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: KinematicUnitConfigDialog.cpp:76
RunningTask.h
armarx::KinematicUnitConfigDialog::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: KinematicUnitConfigDialog.cpp:71
Ui
ArmarX Headers.
Definition: ArmarXMainWindow.h:54
ManagedIceObject.h
armarx::KinematicUnitConfigDialog
Definition: KinematicUnitConfigDialog.h:40
armarx::KinematicUnitWidgetController
Definition: KinematicUnitGuiPlugin.h:116
IceProxyFinder.h
IceManager.h
armarx::KinematicUnitConfigDialog::proxyNameChanged
void proxyNameChanged(QString)
Definition: KinematicUnitConfigDialog.cpp:131
armarx::KinematicUnitConfigDialog::getDefaultName
std::string getDefaultName() const override
Retrieve default name of component.
Definition: KinematicUnitConfigDialog.h:51
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition: ManagedIceObject.h:163
armarx::KinematicUnitConfigDialog::KinematicUnitConfigDialog
KinematicUnitConfigDialog(QWidget *parent=0)
Definition: KinematicUnitConfigDialog.cpp:42
armarx::KinematicUnitConfigDialog::updateSubconfig
void updateSubconfig(std::string kinematicUnitName)
Definition: KinematicUnitConfigDialog.cpp:94
armarx::KinematicUnitConfigDialog::selectionChanged
void selectionChanged(int nr)
Definition: KinematicUnitConfigDialog.cpp:115
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28