mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
More DragDrop skeletons
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0a1908137b
commit
81f2ee5892
2 changed files with 32 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
|||
#include <QDialog>
|
||||
#include <QAbstractListModel>
|
||||
#include <QListView>
|
||||
#include <QDragLeaveEvent>
|
||||
|
||||
#include "../dive.h"
|
||||
#include "../divelist.h"
|
||||
|
@ -31,6 +32,12 @@ public:
|
|||
ColumnNameView(QWidget *parent);
|
||||
protected:
|
||||
void mousePressEvent(QMouseEvent *press);
|
||||
void dragLeaveEvent(QDragLeaveEvent *leave);
|
||||
void dragEnterEvent(QDragEnterEvent *event);
|
||||
void dragMoveEvent(QDragMoveEvent *event);
|
||||
void dropEvent(QDropEvent *event);
|
||||
private:
|
||||
int currentDraggedIndex;
|
||||
};
|
||||
|
||||
class DiveLogImportDialog : public QDialog {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue