packageadderview.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 ArmarXCore::core
19
* @author Cedric Seehausen (usdnr at kit dot edu)
20
* @date 2016
21
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22
* GNU General Public License
23
*/
24
25
26
#pragma once
27
28
#include <QDialog>
29
30
namespace
Ui
31
{
32
class
PackageAdderView
;
33
}
34
35
/**
36
* @class PackageAdderView
37
* @brief View that allows the user to find and add new packages.
38
*/
39
class
PackageAdderView
:
public
QDialog
40
{
41
Q_OBJECT
42
43
public
:
44
/**
45
* Constructor that sets up the ui.
46
* @param parent parent widget
47
*/
48
explicit
PackageAdderView
(QWidget* parent = 0);
49
50
/**
51
* Destructor.
52
*/
53
~PackageAdderView
()
override
;
54
55
signals:
56
void
created
(std::string name);
57
58
private
slots:
59
void
on_okButton_clicked();
60
61
void
on_cancelButton_clicked();
62
63
void
on_packageName_textChanged(
const
QString& text);
64
65
private
:
66
Ui::PackageAdderView* ui;
67
bool
found;
68
};
69
PackageAdderView
View that allows the user to find and add new packages.
Definition:
packageadderview.h:39
Ui
ArmarX Headers.
Definition:
ArmarXMainWindow.h:54
PackageAdderView::PackageAdderView
PackageAdderView(QWidget *parent=0)
Constructor that sets up the ui.
Definition:
packageadderview.cpp:33
PackageAdderView::~PackageAdderView
~PackageAdderView() override
Destructor.
Definition:
packageadderview.cpp:42
PackageAdderView::created
void created(std::string name)
ArmarXGui
gui-plugins
ScenarioManager
gui
packageadderview.h
Generated on Sat Oct 5 2024 09:13:55 for armarx_documentation by
1.8.17