vlp-28 Moving editor to use QtDesigner files.
[vlp.git] / src / edit / my_edit.h
diff --git a/src/edit/my_edit.h b/src/edit/my_edit.h
new file mode 100644 (file)
index 0000000..3a319fa
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef VLP_EDITOR_AREA_H
+#define VLP_EDITOR_AREA_H
+
+#include <QtGui/QTextEdit>
+
+class My_Edit : public QTextEdit {
+       Q_OBJECT
+public:
+       My_Edit(QWidget *parent = 0, const char *name = 0);
+signals:
+       void cursorMove();
+protected:
+       virtual void keyPressEvent(QKeyEvent*);
+};
+
+#endif /* VLP_EDITOR_AREA */