EventSenderComponent.h
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::Gui
17
* @author Mirko Waechter ( mirko.waechter 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
#pragma once
24
25
#include "
EventSenderConfig.h
"
26
27
#include <
ArmarXCore/core/exceptions/user/NotImplementedYetException.h
>
28
29
#include <QGridLayout>
30
#include <QGroupBox>
31
#include <QToolButton>
32
#include <QObject>
33
34
namespace
armarx
35
{
36
class
EventSenderComponent
:
37
public
QGroupBox,
38
virtual
public
Logging
39
// virtual public Component
40
41
{
42
Q_OBJECT
43
public
:
44
EventSenderConfig
config
;
45
46
EventSenderComponent
(QString eventSenderName, QWidget* parent = 0);
47
~EventSenderComponent
()
override
;
48
49
50
51
// end of inherited from Component
52
// QWidget* getMainWidget();
53
void
setupUi
();
54
void
setConfig
(
const
EventSenderConfig
& conf);
55
void
setIceManager
(
IceManagerPtr
iceMan);
56
57
signals:
58
void
sendEvent
(
const
EventSenderConfig
&
config
);
59
public
slots:
60
void
sendClicked
();
61
void
openConfig
();
62
void
deleteClicked
();
63
void
configDone
();
64
65
private
:
66
67
// QGroupBox *gbEventSender;
68
QHBoxLayout* horizontalLayout;
69
QToolButton* tbSend;
70
QToolButton* tbConfig;
71
QToolButton* tbDelete;
72
EventSenderConfigDialog
* dialog;
73
74
IceManagerPtr
iceManager;
75
int
mdiId;
76
};
77
}
armarx::EventSenderComponent::config
EventSenderConfig config
Definition:
EventSenderComponent.h:44
armarx::EventSenderComponent::configDone
void configDone()
Definition:
EventSenderComponent.cpp:177
armarx::EventSenderComponent::setConfig
void setConfig(const EventSenderConfig &conf)
Definition:
EventSenderComponent.cpp:126
armarx::EventSenderComponent::deleteClicked
void deleteClicked()
Definition:
EventSenderComponent.cpp:172
armarx::EventSenderComponent::setIceManager
void setIceManager(IceManagerPtr iceMan)
Definition:
EventSenderComponent.cpp:139
armarx::EventSenderConfig
Definition:
EventSenderConfig.h:52
armarx::EventSenderComponent::sendClicked
void sendClicked()
Definition:
EventSenderComponent.cpp:153
armarx::EventSenderComponent
Definition:
EventSenderComponent.h:36
armarx::EventSenderComponent::sendEvent
void sendEvent(const EventSenderConfig &config)
armarx::EventSenderComponent::openConfig
void openConfig()
Definition:
EventSenderComponent.cpp:158
armarx::EventSenderComponent::~EventSenderComponent
~EventSenderComponent() override
Definition:
EventSenderComponent.cpp:41
NotImplementedYetException.h
armarx::EventSenderConfigDialog
Definition:
EventSenderConfig.h:86
armarx::Logging
Base Class for all Logging classes.
Definition:
Logging.h:232
IceUtil::Handle< IceManager >
armarx::EventSenderComponent::EventSenderComponent
EventSenderComponent(QString eventSenderName, QWidget *parent=0)
Definition:
EventSenderComponent.cpp:33
EventSenderConfig.h
armarx::EventSenderComponent::setupUi
void setupUi()
Definition:
EventSenderComponent.cpp:56
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:28
ArmarXGui
gui-plugins
StatechartEventSenderPlugin
EventSenderComponent.h
Generated on Sat Oct 12 2024 09:14:03 for armarx_documentation by
1.8.17