summaryrefslogtreecommitdiffstats
path: root/src/core/tellico_config_addons.h
blob: 757325771fe1de526c79c2785f0661802ef30b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/***************************************************************************
    copyright            : (C) 2006 by Robby Stephenson
    email                : [email protected]
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of version 2 of the GNU General Public License as  *
 *   published by the Free Software Foundation;                            *
 *                                                                         *
 ***************************************************************************/

// this file gets included by tellico_config.h

public:
  static void deleteAndReset();

  static QStringList noCapitalizationList();
  static QStringList articleList();
  static QStringList nameSuffixList();
  static QStringList surnamePrefixList();

  static QString templateName(int type);
  static QFont templateFont(int type);
  static QColor templateBaseColor(int type);
  static QColor templateTextColor(int type);
  static QColor templateHighlightedBaseColor(int type);
  static QColor templateHighlightedTextColor(int type);

  static void setTemplateName(int type, const QString& name);
  static void setTemplateFont(int type, const QFont& font);
  static void setTemplateBaseColor(int type, const QColor& color);
  static void setTemplateTextColor(int type, const QColor& color);
  static void setTemplateHighlightedBaseColor(int type, const QColor& color);
  static void setTemplateHighlightedTextColor(int type, const QColor& color);