"Fossies" - the Fresh Open Source Software Archive

Member "cb2bib-2.0.1/src/c2bAnnote.h" (12 Feb 2021, 1068 Bytes) of package /linux/privat/cb2bib-2.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "c2bAnnote.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 2.0.0_vs_2.0.1.

    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 C2BANNOTE_H
    8 #define C2BANNOTE_H
    9 
   10 #include <QMainWindow>
   11 
   12 
   13 class c2bFileSystemWatcher;
   14 class c2bSettings;
   15 class c2bWebBrowser;
   16 class texToHtml;
   17 
   18 class c2bAnnote : public QMainWindow
   19 {
   20 
   21     Q_OBJECT
   22 
   23 public:
   24     explicit c2bAnnote(QWidget* parentw = 0);
   25     ~c2bAnnote();
   26 
   27     bool show();
   28 
   29 
   30 private:
   31     QString _annote_filename;
   32     QString _html_filename;
   33     c2bFileSystemWatcher* _fsw;
   34     c2bSettings* _settingsP;
   35     c2bWebBrowser* _view_port;
   36     texToHtml* _t2h;
   37 
   38 
   39 private slots:
   40     void annote();
   41     void configure();
   42     void edit();
   43     void help();
   44     void loadSettings();
   45     void setWindowTitle(const QString& title);
   46     void showMessage(const QString& ms);
   47     void update();
   48 };
   49 
   50 #endif