summaryrefslogtreecommitdiff
path: root/src/modidlineedit.h
diff options
context:
space:
mode:
authorBrian Munro <brian.alexander.munro@gmail.com>2018-05-08 12:47:54 +0200
committerGitHub <noreply@github.com>2018-05-08 12:47:54 +0200
commit0da6af17b2d6a6965849aa0effd5a1a876f447c4 (patch)
tree306056296c7a35504e85825ec6965b5193c74b24 /src/modidlineedit.h
parentbc75009169ecbf378fa90891dc8183a8cb3ef499 (diff)
parent44111d12c181ff062d7936480fdc380e33232e0e (diff)
Merge pull request #336 from Modorganizer2/Develop
Release 2.1.3
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