mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30:44 +00:00
17 lines
341 B
C++
17 lines
341 B
C++
#ifndef MYTEXTBROWSER_H
|
|
#define MYTEXTBROWSER_H
|
|
|
|
#include <QTextBrowser>
|
|
|
|
class MyTextBrowser:public QTextBrowser
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
MyTextBrowser(QWidget * parent):QTextBrowser(parent) {}
|
|
virtual ~MyTextBrowser() {}
|
|
virtual QVariant loadResource(int type, const QUrl &url) Q_DECL_OVERRIDE;
|
|
};
|
|
|
|
|
|
#endif // MYTEXTBROWSER_H
|