diff options
| author | Silarn <jrim@rimpo.org> | 2018-04-18 03:41:53 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2018-04-18 03:41:53 -0500 |
| commit | 08b56ee783131537d3f87e60819e88316ea1e062 (patch) | |
| tree | a04f27fd6cbe91cee2b09a0eb84c91c9bfa3ae79 /src/modidlineedit.h | |
| parent | 85faed5de109c0d5773626370bb6dbd338293f63 (diff) | |
Improve and fix handling of external links
Diffstat (limited to 'src/modidlineedit.h')
| -rw-r--r-- | src/modidlineedit.h | 22 |
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 |
