summaryrefslogtreecommitdiff
path: root/src/modidlineedit.h
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2018-04-18 03:41:53 -0500
committerSilarn <jrim@rimpo.org>2018-04-18 03:41:53 -0500
commit08b56ee783131537d3f87e60819e88316ea1e062 (patch)
treea04f27fd6cbe91cee2b09a0eb84c91c9bfa3ae79 /src/modidlineedit.h
parent85faed5de109c0d5773626370bb6dbd338293f63 (diff)
Improve and fix handling of external links
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