OSCAR-code/sleepyhead/mytextbrowser.h
2018-05-29 13:48:59 +10: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