2018-03-12 09:41:16 +00:00
|
|
|
#ifndef THEME_H
|
|
|
|
#define THEME_H
|
|
|
|
#include <QColor>
|
2018-03-14 06:43:16 +00:00
|
|
|
#include <QString>
|
2018-03-26 12:41:46 +00:00
|
|
|
#include <map>
|
2018-04-07 08:44:39 +00:00
|
|
|
#include "QtAwesome.h"
|
2018-03-12 09:41:16 +00:00
|
|
|
|
|
|
|
class Theme
|
|
|
|
{
|
|
|
|
public:
|
2018-03-26 12:41:46 +00:00
|
|
|
static QColor red;
|
|
|
|
static QColor green;
|
|
|
|
static QColor blue;
|
2018-04-01 14:21:47 +00:00
|
|
|
static QColor white;
|
2018-04-09 03:39:04 +00:00
|
|
|
static QColor black;
|
2018-04-18 01:49:23 +00:00
|
|
|
static QColor dark;
|
|
|
|
static QColor altDark;
|
2018-03-26 12:41:46 +00:00
|
|
|
static float normalAlpha;
|
|
|
|
static float checkedAlpha;
|
2018-03-29 01:46:43 +00:00
|
|
|
static float branchAlpha;
|
2018-03-26 12:41:46 +00:00
|
|
|
static float fillAlpha;
|
2018-03-30 07:41:29 +00:00
|
|
|
static float edgeAlpha;
|
2018-03-26 12:41:46 +00:00
|
|
|
static int skeletonNodeBorderSize;
|
|
|
|
static int skeletonEdgeWidth;
|
2018-03-14 06:43:16 +00:00
|
|
|
static QString tabButtonSelectedStylesheet;
|
|
|
|
static QString tabButtonStylesheet;
|
2018-03-26 12:41:46 +00:00
|
|
|
static std::map<QString, QString> nextSideColorNameMap;
|
|
|
|
static std::map<QString, QColor> sideColorNameToColorMap;
|
2018-04-07 08:44:39 +00:00
|
|
|
static QtAwesome *awesome();
|
|
|
|
static int toolIconFontSize;
|
|
|
|
static int toolIconSize;
|
|
|
|
static int previewImageSize;
|
2018-04-07 11:51:33 +00:00
|
|
|
static int miniIconFontSize;
|
|
|
|
static int miniIconSize;
|
2018-03-12 09:41:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|