OSCAR-code/oscar/mytextbrowser.h

17 lines
341 B
C
Raw Normal View History

2018-05-29 03:48:59 +00:00
#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