MorphoGraphX
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
src
FileListWidget.hpp
1
//
2
// This file is part of MorphoGraphX - http://www.MorphoGraphX.org
3
// Copyright (C) 2012-2015 Richard S. Smith and collaborators.
4
//
5
// If you use MorphoGraphX in your work, please cite:
6
// http://dx.doi.org/10.7554/eLife.05864
7
//
8
// MorphoGraphX is free software, and is licensed under under the terms of the
9
// GNU General (GPL) Public License version 2.0, http://www.gnu.org/licenses.
10
//
11
#ifndef FILELISTWIDGET_HPP
12
#define FILELISTWIDGET_HPP
13
14
#include <Config.hpp>
15
16
#include <QListWidget>
17
18
namespace
mgx
{
19
namespace
gui {
20
class
FileListWidget
:
public
QListWidget
{
21
Q_OBJECT
22
public
:
23
FileListWidget
(
QWidget
* parent = 0);
24
25
signals:
26
void
filesDropped(
const
QStringList
& files);
27
28
protected
:
29
void
dragEnterEvent(
QDragEnterEvent
*
event
);
30
void
dragMoveEvent(
QDragMoveEvent
* event);
31
void
dragLeaveEvent(
QDragLeaveEvent
* event);
32
void
dropEvent(
QDropEvent
* event);
33
34
bool
handlingDrop;
35
};
36
}
// namespace gui
37
}
// namespace mgx
38
#endif // FILELISTWIDGET_HPP
QWidget
QDragMoveEvent
QListWidget
QDropEvent
mgx
This namespace contains all the API of MorphoGraphX.
Definition:
Assert.hpp:26
QStringList
mgx::gui::FileListWidget
Definition:
FileListWidget.hpp:20
QDragLeaveEvent
QDragEnterEvent
QListWidget::event
event(QEvent *e)
Generated on Tue Feb 27 2018 13:54:37 for MorphoGraphX by
1.8.11