hpp-gui
4.9.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
{
16
Q_OBJECT
17
18
signals:
19
void
configurationChanged
();
20
21
public
:
22
ConfigurationList
(QWidget* parent);
23
virtual
~ConfigurationList
();
24
25
void
setSingleItemOnly
(
bool
set);
26
void
bindDeleteKey
();
27
28
protected
:
29
void
dragEnterEvent
(QDragEnterEvent* event);
30
void
dragMoveEvent
(QDragMoveEvent* event);
31
void
dropEvent
(QDropEvent *event);
32
void
startDrag
(Qt::DropActions supportedActions);
33
34
private
slots:
35
void
deleteSelection();
36
37
private
:
38
void
deleteItem(QListWidgetItem* item);
39
40
bool
singleItemOnly;
41
};
42
}
43
}
44
45
#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