SkillDashboardConfigWindow.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* Copyright (C) 2011-2016, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5
*
6
* ArmarX is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2 as
8
* published by the Free Software Foundation.
9
*
10
* ArmarX is distributed in the hope that it will be useful, but
11
* WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*
18
* @package ArmarXGui::gui-plugins::OperatorViewWidgetController
19
* @author Leonie Leven
20
* @date 2024
21
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22
* GNU General Public License
23
*/
24
25
#pragma once
26
27
28
#include <QDialog>
29
#include <QWidget>
30
31
#include <
ArmarXCore/core/logging/Logging.h
>
32
33
#include <RobotAPI/gui-plugins/ui_SkillDashboardConfig.h>
34
35
namespace
armarx
36
{
37
38
39
class
SkillDashboardConfigWindow
:
public
QDialog
40
{
41
Q_OBJECT
42
43
signals:
44
void
shortcutNameHasChanged
();
45
46
private
slots:
47
void
onShortcutNameChanged();
48
49
public
:
50
explicit
SkillDashboardConfigWindow
(QWidget* parent =
nullptr
);
51
~SkillDashboardConfigWindow
();
52
QString
getShortcutName
();
53
QString
getSkillId
();
54
QString
getSkillConfig
();
55
void
setShortcutName
(
const
std::string& name);
56
void
setSkillId
(
const
std::string&
id
);
57
void
setSkillConfig
(
const
std::string& config);
58
void
setInfoText
(
const
std::string& info);
59
60
private
:
61
Ui::SkillDashboardConfig* ui;
62
};
63
64
}
// namespace armarx
armarx::SkillDashboardConfigWindow
Definition:
SkillDashboardConfigWindow.h:39
armarx::SkillDashboardConfigWindow::getSkillConfig
QString getSkillConfig()
Definition:
SkillDashboardConfigWindow.cpp:63
armarx::SkillDashboardConfigWindow::setSkillId
void setSkillId(const std::string &id)
Definition:
SkillDashboardConfigWindow.cpp:75
armarx::SkillDashboardConfigWindow::~SkillDashboardConfigWindow
~SkillDashboardConfigWindow()
Definition:
SkillDashboardConfigWindow.cpp:93
armarx::SkillDashboardConfigWindow::setSkillConfig
void setSkillConfig(const std::string &config)
Definition:
SkillDashboardConfigWindow.cpp:81
armarx::SkillDashboardConfigWindow::setShortcutName
void setShortcutName(const std::string &name)
Definition:
SkillDashboardConfigWindow.cpp:69
Logging.h
armarx::SkillDashboardConfigWindow::setInfoText
void setInfoText(const std::string &info)
Definition:
SkillDashboardConfigWindow.cpp:87
armarx::SkillDashboardConfigWindow::getSkillId
QString getSkillId()
Definition:
SkillDashboardConfigWindow.cpp:57
armarx::SkillDashboardConfigWindow::shortcutNameHasChanged
void shortcutNameHasChanged()
armarx::SkillDashboardConfigWindow::SkillDashboardConfigWindow
SkillDashboardConfigWindow(QWidget *parent=nullptr)
Definition:
SkillDashboardConfigWindow.cpp:31
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:27
armarx::SkillDashboardConfigWindow::getShortcutName
QString getShortcutName()
Definition:
SkillDashboardConfigWindow.cpp:51
RobotAPI
gui-plugins
SkillDashboard
SkillDashboardConfigWindow.h
Generated by
1.8.17