YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
yscopewindow.cpp
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3
* SPDX-License-Identifier: LGPL-2.1-or-later
4
*/
5
6
#include "
yscopewindow.h
"
7
#include "ui_yscopewindow.h"
8
9
YscopeWindow::YscopeWindow
(QWidget *parent) :
10
QDialog(parent),
11
ui(new
Ui
::
YscopeWindow
)
12
{
13
ui->setupUi(
this
);
14
index = 0;
15
connect(ui->cancelBtn,
SIGNAL
(clicked()),
this
,SLOT(onCancel()));
16
connect(ui->inspectBtn,
SIGNAL
(clicked()),
this
,SLOT(onInspect()));
17
connect(ui->spinBox,
SIGNAL
(valueChanged(
int
)),
this
,SLOT(onIndexChanged(
int
)));
18
}
19
20
YscopeWindow::~YscopeWindow
()
21
{
22
delete
ui;
23
}
24
25
void
YscopeWindow::onCancel()
26
{
27
reject();
28
}
29
30
void
YscopeWindow::onInspect()
31
{
32
accept();
33
}
34
35
void
YscopeWindow::onIndexChanged(
int
val)
36
{
37
index = val;
38
}
39
40
int
YscopeWindow::getIndex
()
41
{
42
return
index;
43
}
SIGNAL
int SIGNAL(int pid, int signum)
Definition
RunProcManager.cpp:76
YscopeWindow
Definition
yscopewindow.h:16
YscopeWindow::YscopeWindow
YscopeWindow(QWidget *parent=0)
Definition
yscopewindow.cpp:9
YscopeWindow::~YscopeWindow
~YscopeWindow()
Definition
yscopewindow.cpp:20
YscopeWindow::getIndex
int getIndex()
Definition
yscopewindow.cpp:40
Ui
Definition
aboutdlg.h:11
yscopewindow.h
YARP
3.11.100+20250603.4+gitaa77f8b5c
src
guis
yarpmanager
src-manager
yscopewindow.cpp
Generated on Wed Jun 4 2025 02:40:09 for YARP by
1.9.8