MorphoGraphX
2.0-1-227
src
FileListWidget.hpp
Go to the documentation of this file.
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
{
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
}
37
#endif
mgx::FileListWidget::dropEvent
void dropEvent(QDropEvent *event)
mgx::FileListWidget::dragEnterEvent
void dragEnterEvent(QDragEnterEvent *event)
mgx::FileListWidget::FileListWidget
FileListWidget(QWidget *parent=0)
mgx::FileListWidget::dragLeaveEvent
void dragLeaveEvent(QDragLeaveEvent *event)
mgx::FileListWidget::dragMoveEvent
void dragMoveEvent(QDragMoveEvent *event)
mgx
Distributed matrix library.
Definition:
Assert.hpp:26
mgx::FileListWidget::handlingDrop
bool handlingDrop
Definition:
FileListWidget.hpp:34
mgx::FileListWidget::filesDropped
void filesDropped(const QStringList &files)
mgx::FileListWidget
Definition:
FileListWidget.hpp:20
Generated on Fri Jul 9 2021 18:34:54 for MorphoGraphX by
1.8.17