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
25
#include <IceUtil/UUID.h>
26
27
#include <MemoryX/gui-plugins/PriorMemoryEditor/ui_PriorEditorConfigDialog.h>
28
29
30
using namespace
memoryx
;
31
32
PriorEditorConfigDialog::PriorEditorConfigDialog
(
armarx::IceManagerPtr
iceManager,
33
QWidget* parent) :
34
QDialog(parent), ui(new
Ui
::
PriorEditorConfigDialog
)
35
{
36
uuid = IceUtil::generateUUID();
37
ui->setupUi(
this
);
38
proxyFinder =
new
armarx::IceProxyFinder<armarx::RobotStateComponentInterfacePrx>
(
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
52
PriorEditorConfigDialog::~PriorEditorConfigDialog
()
53
{
54
delete
ui;
55
}
56
57
void
58
PriorEditorConfigDialog::modelFileSelected
()
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
MemoryX
gui-plugins
PriorMemoryEditor
PriorEditorConfigDialog.cpp
Generated on Sat Apr 12 2025 09:13:32 for armarx_documentation by
1.8.17