1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 04:53:53 +00:00
openmw/apps/opencs/view/world/scriptedit.hpp

31 lines
636 B
C++
Raw Normal View History

2014-02-15 16:55:18 +00:00
#ifndef SCRIPTEDIT_H
#define SCRIPTEDIT_H
#include <qtextedit.h>
#include <QVector>
#include "../../model/world/universalid.hpp"
class QWidget;
2014-02-15 16:55:18 +00:00
namespace CSVWorld
{
class ScriptEdit : public QTextEdit
{
Q_OBJECT
public:
ScriptEdit (QWidget* parent);
private:
QVector<CSMWorld::UniversalId::Type> mAllowedTypes;
2014-02-15 16:55:18 +00:00
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;