OSCAR-code/oscar/mytextbrowser.h
2019-02-22 19:23:39 -05:00

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