openmw-tes3coop/apps/opencs/view/world/scriptedit.hpp
2014-02-15 20:49:09 +01:00

30 lines
636 B
C++

#ifndef SCRIPTEDIT_H
#define SCRIPTEDIT_H
#include <qtextedit.h>
#include <QVector>
#include "../../model/world/universalid.hpp"
class QWidget;
namespace CSVWorld
{
class ScriptEdit : public QTextEdit
{
Q_OBJECT
public:
ScriptEdit (QWidget* parent);
private:
QVector<CSMWorld::UniversalId::Type> mAllowedTypes;
void dragEnterEvent (QDragEnterEvent* event);
void dropEvent (QDropEvent* event);
void dragMoveEvent (QDragMoveEvent* event);
};
}
#endif // SCRIPTEDIT_H
// kate: indent-mode cstyle; indent-width 4; replace-tabs on;