hpp-gui
5.1.0
Graphical interface for HPP
configurationlist.hh
Go to the documentation of this file.
1
//
2
// Copyright (c) CNRS
3
// Author: Joseph Mirabel and Heidy Dallard
4
//
5
6
#ifndef CONFIGURATIONLIST_HH
7
#define CONFIGURATIONLIST_HH
8
9
#include <QListWidget>
10
11
namespace
hpp
{
12
namespace
gui {
14
class
ConfigurationList
:
public
QListWidget {
15
Q_OBJECT
16
17
signals:
18
void
configurationChanged
();
19
20
public
:
21
ConfigurationList
(QWidget* parent);
22
virtual
~ConfigurationList
();
23
24
void
setSingleItemOnly
(
bool
set);
25
void
bindDeleteKey
();
26
27
protected
:
28
void
dragEnterEvent
(QDragEnterEvent* event);
29
void
dragMoveEvent
(QDragMoveEvent* event);
30
void
dropEvent
(QDropEvent* event);
31
void
startDrag
(Qt::DropActions supportedActions);
32
33
private
slots:
34
void
deleteSelection();
35
36
private
:
37
void
deleteItem(QListWidgetItem* item);
38
39
bool
singleItemOnly;
40
};
41
}
// namespace gui
42
}
// namespace hpp
43
44
#endif // CONFIGURATIONLIST_HH
hpp.gui::ConfigurationList::bindDeleteKey
void bindDeleteKey()
hpp.gui::ConfigurationList::ConfigurationList
ConfigurationList(QWidget *parent)
hpp.gui::ConfigurationList
A QListWidget that accept drag and drop of configurations.
Definition:
configurationlist.hh:14
hpp.gui::ConfigurationList::~ConfigurationList
virtual ~ConfigurationList()
hpp.gui::ConfigurationList::dragMoveEvent
void dragMoveEvent(QDragMoveEvent *event)
hpp
namespace that encapsulate all the softwares of humanoid-path-planner
Definition:
__init__.py:1
hpp.gui::ConfigurationList::dropEvent
void dropEvent(QDropEvent *event)
hpp.gui::ConfigurationList::startDrag
void startDrag(Qt::DropActions supportedActions)
hpp.gui::ConfigurationList::configurationChanged
void configurationChanged()
hpp.gui::ConfigurationList::setSingleItemOnly
void setSingleItemOnly(bool set)
hpp.gui::ConfigurationList::dragEnterEvent
void dragEnterEvent(QDragEnterEvent *event)
plugins
hppwidgetsplugin
configurationlist.hh
Generated by
1.8.17