ViewSelectionConfigDialog.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 #include <QDialog>
5 
7 
8 
10 
11 namespace Ui
12 {
14 }
15 
16 class ViewSelectionConfigDialog : public QDialog,
17  virtual public armarx::ManagedIceObject
18 {
19  Q_OBJECT
20 
21 public:
22  explicit ViewSelectionConfigDialog(QWidget* parent = 0);
23  ~ViewSelectionConfigDialog() override;
24 
25  std::string getViewSelectionName()
26  {
27  return viewSelectionProxyFinder->getSelectedProxyName().toStdString();
28  }
29 
30 signals:
31 
32 public slots:
33  void verifyConfig();
34 
35  // ManagedIceObject interface
36 protected:
37  void onInitComponent() override;
38  void onConnectComponent() override;
39  void onExitComponent() override;
40  std::string getDefaultName() const override;
41 
42 private:
43 
44  Ui::ViewSelectionConfigDialog* ui;
45 
46  armarx::IceProxyFinderBase* viewSelectionProxyFinder;
47 
48  std::string uuid;
49 
50 };
51 
armarx::IceProxyFinderBase
The IceProxyFinderBase class provides a convenient way to query online proxies in the ice network,...
Definition: IceProxyFinder.h:53
ViewSelectionConfigDialog::getViewSelectionName
std::string getViewSelectionName()
Definition: ViewSelectionConfigDialog.h:25
ViewSelectionConfigDialog::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: ViewSelectionConfigDialog.cpp:41
Ui
ArmarX Headers.
Definition: ArmarXMainWindow.h:54
ManagedIceObject.h
ViewSelectionConfigDialog::verifyConfig
void verifyConfig()
Definition: ViewSelectionConfigDialog.cpp:51
IceProxyFinder.h
ViewSelectionConfigDialog::getDefaultName
std::string getDefaultName() const override
Retrieve default name of component.
Definition: ViewSelectionConfigDialog.cpp:46
ViewSelectionConfigDialog::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: ViewSelectionConfigDialog.cpp:36
ViewSelectionConfigDialog::ViewSelectionConfigDialog
ViewSelectionConfigDialog(QWidget *parent=0)
Definition: ViewSelectionConfigDialog.cpp:12
ViewSelectionConfigDialog
Definition: ViewSelectionConfigDialog.h:16
armarx::IceProxyFinderBase::getSelectedProxyName
QString getSelectedProxyName() const
Definition: IceProxyFinder.cpp:73
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition: ManagedIceObject.h:163
ViewSelectionConfigDialog::~ViewSelectionConfigDialog
~ViewSelectionConfigDialog() override
Definition: ViewSelectionConfigDialog.cpp:26
ViewSelectionConfigDialog::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: ViewSelectionConfigDialog.cpp:32