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