2 * Copyright (C) 2009 Sakari Poussa
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, version 2.
14 QColor colorHoleBg(64, 64, 64);
15 QColor colorHoleFg(Qt::yellow);
16 QColor colorBirdie(00, 0x99, 00);
17 QColor colorPar(Qt::black);
18 #ifdef SC_ORANGE_THEME
19 QColor colorBogey(0xfc, 0xaf, 0x3e);
20 QColor colorDoubleBogey(0xf5, 0x79, 0x00);
21 QColor colorBad(0xce, 0x5c, 0x00);
24 QColor colorBogey(0x20, 0x4a, 0x87);
25 QColor colorDoubleBogey(0x34, 0x65, 0xa4);
26 QColor colorBad(0x72, 0x9f, 0xcf);
28 QColor colorSubTotal(Qt::black);
29 QColor colorTotal(Qt::black);
37 static QColor holeBg() { return Qt::white; }
38 static QColor holeFg() { return Qt::yellow; }
39 static QColor birdie() { return Qt::yellow; }
40 static QColor par() { return Qt::green; }
41 static QColor bogey() { return QColor(0x20, 0x4a, 0x87); }
42 static QColor doubleBogey() { return QColor(0x34, 0x65, 0xa4); }
43 static QColor bad() { return QColor(0x72, 0x9f, 0xcf); }
44 static QColor subTotal() { return Qt::white; }
45 static QColor total() { return Qt::white; }
50 static QString style()
52 return QString("QTableView {"
53 "background-color: white;"
55 "border: solid green;"
57 "font-style : italic;"
59 "QHeaderView::section {"
61 "border: solid green;"
62 "font: bold italic large;"
66 "QAbstractItemView::item[role=\"header\"]{"
67 "background : orange;"
69 "border: solid green;"
72 "QAbstractItemView::item"
73 "background : orange;"
75 "border: solid green;"
79 "alternate-background-color: yellow;"
80 "background-color: red;"
82 "border: solid green;"
83 "gridline-color: green;"
88 static QString headerView()
90 return QString("QHeaderView::section { background-color : #404040 }");
91 //return QString("QHeaderView { background-color : #404040 }");
92 return QString("QTableView { background-color : red }");