i2pd/qt/i2pd_qt/textbrowsertweaked1.h
2017-08-20 13:40:14 +08:00

23 lines
354 B
C++

#ifndef TEXTBROWSERTWEAKED1_H
#define TEXTBROWSERTWEAKED1_H
#include <QTextBrowser>
class TextBrowserTweaked1 : public QTextBrowser
{
Q_OBJECT
public:
TextBrowserTweaked1();
signals:
void mouseReleased();
protected:
void mouseReleaseEvent(QMouseEvent *event) {
emit mouseReleased();
}
};
#endif // TEXTBROWSERTWEAKED1_H