28 #include <QMessageBox> 
   29 #include <QPushButton> 
   31 #include <IceUtil/UUID.h> 
   36 #include <RobotAPI/interface/components/TrajectoryPlayerInterface.h> 
   37 #include <RobotAPI/interface/core/RobotState.h> 
   39 #include <RobotComponents/gui-plugins/MMMPlayerPlugin/ui_MMMPlayerConfigDialog.h> 
   40 #include <RobotComponents/interface/components/MMMPlayerInterface.h> 
   46     connect(ui->buttonBox, SIGNAL(accepted()), 
this, SLOT(verifyConfiguration()));
 
   47     connect(ui->buttonBox, SIGNAL(rejected()), 
this, SLOT(reject()));
 
   49     ui->buttonBox->button(QDialogButtonBox::Ok)->setDefault(
true);
 
   52     kinematicUnitComponentProxyFinder->
setSearchMask(
"KinematicUnit*");
 
   53     ui->verticalLayout->addWidget(kinematicUnitComponentProxyFinder);
 
   57     ui->verticalLayout->addWidget(mmmPlayerComponentProxyFinder);
 
   60     trajPlayerComponentProxyFinder->
setSearchMask(
"TrajectoryPlayer*");
 
   61     ui->verticalLayout->addWidget(trajPlayerComponentProxyFinder);
 
   68     kinematicUnitComponentProxyFinder->setIceManager(this->getIceManager());
 
   69     mmmPlayerComponentProxyFinder->setIceManager(this->getIceManager());
 
   70     trajPlayerComponentProxyFinder->setIceManager(this->getIceManager());
 
   82     QObject::disconnect();
 
   91 armarx::MMMPlayerConfigDialog::verifyConfiguration()
 
   93     if (kinematicUnitComponentProxyFinder->getSelectedProxyName().trimmed().length() == 0)
 
   95         QMessageBox::critical(
this, 
"Invalid Configuration", 
"The proxy name must not be empty");
 
   99         if (mmmPlayerComponentProxyFinder->getSelectedProxyName().trimmed().length() == 0)
 
  101             needtoCreate = ui->needCreated->isChecked();
 
  104         kinematicTopicName = ui->topicNameEditor->text().toStdString();
 
  111 armarx::MMMPlayerConfigDialog::reject()
 
  115         getIceManager()->removeObject(
"MMMPlayerConfigDialog");