Files
gcs-nf/App/ComponentUI/CommandEditor/CommandEditor.h
T

34 lines
620 B
C++
Raw Normal View History

#ifndef COMMANDEDITOR_H
#define COMMANDEDITOR_H
#include <QWidget>
#include "QDebug"
#include "QMouseEvent"
#include "QDrag"
#include "QDropEvent"
#include "QMimeData"
namespace Ui {
class CommandEditor;
}
class CommandEditor : public QWidget
{
Q_OBJECT
public:
explicit CommandEditor(QWidget *parent = nullptr);
~CommandEditor();
protected:
void mousePressEvent(QMouseEvent *event);
void dragEnterEvent(QDragEnterEvent *event);
void dragLeaveEvent(QDragLeaveEvent *event);
void dragMoveEvent(QDragMoveEvent *event);
private:
Ui::CommandEditor *ui;
};
#endif // COMMANDEDITOR_H