mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add class skeleton that will handle the drag starts
This class will handle the drag 'n drop "drag" part. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d57d86f5dc
commit
2034508c07
3 changed files with 27 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <QDialog>
|
||||
#include <QAbstractListModel>
|
||||
#include <QListView>
|
||||
|
||||
#include "../dive.h"
|
||||
#include "../divelist.h"
|
||||
|
|
@ -24,6 +25,14 @@ private:
|
|||
QStringList columnNames;
|
||||
};
|
||||
|
||||
class ColumnNameView : public QListView {
|
||||
Q_OBJECT
|
||||
public:
|
||||
ColumnNameView(QWidget *parent);
|
||||
protected:
|
||||
void mousePressEvent(QMouseEvent *press);
|
||||
};
|
||||
|
||||
class DiveLogImportDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue