mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-24 13:59:29 -04:00
Add View Source in RSTextBrowser
This commit is contained in:
parent
026cadfe13
commit
bfbee1bdec
2 changed files with 55 additions and 7 deletions
|
@ -56,6 +56,11 @@ public:
|
|||
QVariant textColorQuotes() const { return highlighter->textColorQuotes();}
|
||||
bool getShowImages() const { return mShowImages; }
|
||||
|
||||
#ifndef QT_NO_CONTEXTMENU
|
||||
QMenu *createStandardContextMenu();
|
||||
QMenu *createStandardContextMenu(const QPoint &position);
|
||||
#endif
|
||||
|
||||
public slots:
|
||||
void showImages();
|
||||
void setTextColorQuote(QColor textColorQuote) { highlighter->setTextColorQuote(textColorQuote);}
|
||||
|
@ -64,6 +69,7 @@ public slots:
|
|||
private slots:
|
||||
void linkClicked(const QUrl &url);
|
||||
void destroyImageBlockWidget();
|
||||
void viewSource();
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue