"Fossies" - the Fresh Open Source Software Archive

Member "cb2bib-2.0.1/src/c2bColors.h" (12 Feb 2021, 1172 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 "c2bColors.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 C2BCOLORS_H
    8 #define C2BCOLORS_H
    9 
   10 #include <QColor>
   11 #include <QHash>
   12 
   13 
   14 class c2bSettings;
   15 
   16 /**
   17     cb2Bib Color Scheme
   18 */
   19 class c2bColors
   20 {
   21 
   22 public:
   23     c2bColors();
   24     ~c2bColors();
   25 
   26     QColor bib_delimiter_color;
   27     QColor bib_reference_field_color;
   28     QColor bib_reference_type_color;
   29     QColor cb2bib_digit_color;
   30     QColor cb2bib_highly_relevant_color;
   31     QColor cb2bib_metadata_color;
   32     QColor cb2bib_relevant_color;
   33     QColor cb2bib_tag_color;
   34     QColor cb2bib_unrelevant_color;
   35     QColor comment_color;
   36     QColor netqinf_command_content_color;
   37     QColor netqinf_command_key_color;
   38     QHash<QString, QColor*> colorList;
   39     void loadColors(c2bSettings* settings);
   40     void saveColors(c2bSettings* settings);
   41     void updateColor(const QColor& color, const QString& colorName);
   42 };
   43 
   44 #endif