PriorEditorConfigDialog.cpp
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::MemoryX::PriorMemoryEditorPlugin
17 * @author Alexey Kozlov (kozlov 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 
24 
25 #include <IceUtil/UUID.h>
26 
27 #include <MemoryX/gui-plugins/PriorMemoryEditor/ui_PriorEditorConfigDialog.h>
28 
29 
30 using namespace memoryx;
31 
33  QWidget* parent) :
34  QDialog(parent), ui(new Ui::PriorEditorConfigDialog)
35 {
36  uuid = IceUtil::generateUUID();
37  ui->setupUi(this);
39  // proxyFinder->setIceManager(iceManager);
40  proxyFinder->setSearchMask("RobotState*");
41  ui->gridLayout->addWidget(proxyFinder, 5, 1);
42  /* fileDialog = new QFileDialog(parent);
43  fileDialog->setModal(true);
44  fileDialog->setFileMode(QFileDialog::ExistingFiles);
45  fileDialog->setNameFilter(tr("XML (*.xml)"));
46  connect(ui->btnSelectModelFile, SIGNAL(clicked()), fileDialog, SLOT(show()));
47  connect(fileDialog, SIGNAL(accepted()), this, SLOT(modelFileSelected()));*/
48 
49  ;
50 }
51 
53 {
54  delete ui;
55 }
56 
57 void
59 {
60  // ui->editRobotFile->setText(fileDialog->selectedFiles()[0]);
61 }
memoryx
VirtualRobot headers.
Definition: CommonPlacesTester.cpp:48
Ui
ArmarX Headers.
Definition: ArmarXMainWindow.h:54
PriorEditorConfigDialog.h
memoryx::PriorEditorConfigDialog
Definition: PriorEditorConfigDialog.h:41
memoryx::PriorEditorConfigDialog::modelFileSelected
void modelFileSelected()
Definition: PriorEditorConfigDialog.cpp:58
IceUtil::Handle< IceManager >
armarx::IceProxyFinder
Definition: StatechartViewerController.h:49
memoryx::PriorEditorConfigDialog::~PriorEditorConfigDialog
~PriorEditorConfigDialog() override
Definition: PriorEditorConfigDialog.cpp:52
memoryx::PriorEditorConfigDialog::PriorEditorConfigDialog
PriorEditorConfigDialog(armarx::IceManagerPtr iceManager, QWidget *parent=0)
Definition: PriorEditorConfigDialog.cpp:32