mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
some qt gui changes
This commit is contained in:
@@ -2,19 +2,23 @@
|
||||
#define TEXTBROWSERTWEAKED1_H
|
||||
|
||||
#include <QTextBrowser>
|
||||
#include <QUrl>
|
||||
|
||||
class TextBrowserTweaked1 : public QTextBrowser
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
TextBrowserTweaked1();
|
||||
TextBrowserTweaked1(QWidget * parent);
|
||||
//virtual void setSource(const QUrl & url);
|
||||
|
||||
signals:
|
||||
void mouseReleased();
|
||||
//void navigatedTo(const QUrl & link);
|
||||
|
||||
protected:
|
||||
void mouseReleaseEvent(QMouseEvent *event) {
|
||||
QTextBrowser::mouseReleaseEvent(event);
|
||||
emit mouseReleased();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user