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