parent
c6e990454c
commit
a8bfdc6e70
@ -0,0 +1,19 @@ |
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify |
||||||
|
* it under the terms of the GNU General Public License as published by |
||||||
|
* the Free Software Foundation, either version 3 of the License, or |
||||||
|
* (at your option) any later version. |
||||||
|
* |
||||||
|
* This program is distributed in the hope that it will be useful, |
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||||
|
* GNU General Public License for more details. |
||||||
|
* |
||||||
|
* You should have received a copy of the GNU General Public License |
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/ |
||||||
|
|
||||||
|
#ifndef IDATASTORAGE_H |
||||||
|
#define IDATASTORAGE_H |
||||||
|
|
||||||
|
#endif // IDATASTORAGE_H
|
@ -1,21 +0,0 @@ |
|||||||
#ifndef IDROPABLE_H |
|
||||||
#define IDROPABLE_H |
|
||||||
|
|
||||||
#include <QDropEvent> |
|
||||||
#include <QDragEnterEvent> |
|
||||||
#include <QDragLeaveEvent> |
|
||||||
#include <QDragMoveEvent> |
|
||||||
|
|
||||||
class IDropable |
|
||||||
{ |
|
||||||
public: |
|
||||||
virtual ~IDropable(){} |
|
||||||
|
|
||||||
protected: |
|
||||||
virtual void dropEvent(QDropEvent* pEvent) = 0; |
|
||||||
virtual void dragEnterEvent(QDragEnterEvent* pEvent) = 0; |
|
||||||
virtual void dragMoveEvent(QDragMoveEvent* pEvent) = 0; |
|
||||||
virtual void dragLeaveEvent(QDragLeaveEvent* pEvent) = 0; |
|
||||||
}; |
|
||||||
|
|
||||||
#endif // IDROPABLE_H
|
|
@ -1,15 +0,0 @@ |
|||||||
#ifndef IRESIZEABLE_H |
|
||||||
#define IRESIZEABLE_H |
|
||||||
|
|
||||||
#include <QResizeEvent> |
|
||||||
|
|
||||||
class IResizeable |
|
||||||
{ |
|
||||||
public: |
|
||||||
~IResizeable(); |
|
||||||
|
|
||||||
protected: |
|
||||||
virtual void resizeEvent(QResizeEvent* pEvent) = 0; |
|
||||||
}; |
|
||||||
|
|
||||||
#endif // IRESIZEABLE_H
|
|
@ -1,3 +1,2 @@ |
|||||||
HEADERS += src/interfaces/IDropable.h \ |
HEADERS += \ |
||||||
src/interfaces/IDropable.h \ |
src/interfaces/IDataStorage.h |
||||||
src/interfaces/IResizeable.h |
|
||||||
|
Loading…
Reference in new issue