cb2bib  2.0.1
About: cb2Bib is a multiplatform application for rapidly extracting unformatted, or unstandardized bibliographic references from email alerts, journal Web pages, and PDF files.
  Fossies Dox: cb2bib-2.0.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

c2bTextBrowser.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2004-2021 by Pere Constans
3  * constans@molspaces.com
4  * cb2Bib version 2.0.1. Licensed under the GNU GPL version 3.
5  * See the LICENSE file that comes with this distribution.
6  ***************************************************************************/
7 #ifndef C2BTEXTBROWSER_H
8 #define C2BTEXTBROWSER_H
9 
10 #include <QTextBrowser>
11 
12 
13 class QAction;
14 
15 
16 /**
17  @author Pere Constans
18 */
19 class c2bTextBrowser : public QTextBrowser
20 {
21  Q_OBJECT
22 
23 public:
24  explicit c2bTextBrowser(QWidget* parentw = 0);
26 
27  void updateHtml(const QString& newHtml);
28 
29 
30 public slots:
31  virtual void setSource(const QUrl& name);
32 
33 
34 protected:
35  virtual void contextMenuEvent(QContextMenuEvent* qevent);
36 };
37 
38 #endif
virtual void contextMenuEvent(QContextMenuEvent *qevent)
void updateHtml(const QString &newHtml)
virtual void setSource(const QUrl &name)
c2bTextBrowser(QWidget *parentw=0)