"Fossies" - the Fresh Open Source Software Archive

Member "cb2bib-2.0.1/src/c2bConfigure.h" (12 Feb 2021, 1986 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 "c2bConfigure.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 C2BCONFIGURE_H
    8 #define C2BCONFIGURE_H
    9 
   10 #include "c2bColors.h"
   11 #include "ui_c2bConfigure.h"
   12 
   13 #include <QDialog>
   14 #include <QFontDatabase>
   15 
   16 
   17 class c2bSettings;
   18 
   19 class c2bConfigure : public QDialog
   20 {
   21 
   22     Q_OBJECT
   23 
   24 public:
   25     explicit c2bConfigure(QWidget* parentw = 0);
   26     ~c2bConfigure();
   27 
   28     void setPage(int index);
   29 
   30 
   31 protected slots:
   32     void FindReplaceDialog_Delete();
   33     void FindReplaceDialog_Edit();
   34     void FindReplaceDialog_New();
   35     void accept();
   36     void apply();
   37     void changeContextColor(QTreeWidgetItem* item);
   38     void changePage(QListWidgetItem* current, QListWidgetItem* previous);
   39     void comboFamilyChanged(const QString& family);
   40     void comboSizeChanged(const QString& pt);
   41     void getAnnoteCssFile();
   42     void getBibSearcherPdf2TextBin();
   43     void getBrowserCssFile();
   44     void getCacheDirectory();
   45     void getExifToolBin();
   46     void getFmClientCopyBin();
   47     void getFmClientMoveBin();
   48     void getJournalFile();
   49     void getMathJaxHeaderFile();
   50     void getNetworkFile();
   51     void getPdfDirectory();
   52     void getPdfImportPdf2TextBin();
   53     void getPosLexiconFile();
   54     void getPostprocessBibTeXBin();
   55     void getPreparserBin();
   56     void getRegularExpressionFile();
   57     void help();
   58     void showMessage(const QString& ms);
   59     void updateFindReplaceInputButtons();
   60 
   61 
   62 private:
   63     QFont c2bMonoFont;
   64     QFont selectedFont(QFontComboBox* fc, QComboBox* sc) const;
   65     Ui::c2bConfigure ui;
   66     bool event(QEvent* qevent);
   67     c2bColors colors;
   68     c2bSettings* settings;
   69     void fontSelection(const QFont& f, QFontComboBox* fc, QComboBox* sc);
   70     void populateFontCombos();
   71 };
   72 
   73 #endif