summaryrefslogtreecommitdiff
path: root/src/modidlineedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modidlineedit.h')
-rw-r--r--src/modidlineedit.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/modidlineedit.h b/src/modidlineedit.h
new file mode 100644
index 00000000..2a3db36c
--- /dev/null
+++ b/src/modidlineedit.h
@@ -0,0 +1,22 @@
+#ifndef MODIDLINEEDIT_H
+#define MODIDLINEEDIT_H
+
+#include <QLineEdit>
+
+class ModIDLineEdit : public QLineEdit
+{
+ Q_OBJECT
+
+public:
+ explicit ModIDLineEdit(QWidget *parent = 0);
+ explicit ModIDLineEdit(const QString &text, QWidget *parent = 0);
+
+public:
+ virtual bool event(QEvent* event) override;
+
+signals:
+ void linkClicked(QString);
+
+};
+
+#endif //MODIDLINEEDIT_H \ No newline at end of file