ORE Studio 0.0.4
Loading...
Searching...
No Matches
ColorConstants.hpp
1/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 *
3 * Copyright (C) 2024 Marco Craveiro <marco.craveiro@gmail.com>
4 *
5 * This program is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License as published by the Free Software
7 * Foundation; either version 3 of the License, or (at your option) any later
8 * version.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13 * details.
14 *
15 * You should have received a copy of the GNU General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc., 51
17 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 *
19 */
20#ifndef ORES_QT_COLOR_CONSTANTS_HPP
21#define ORES_QT_COLOR_CONSTANTS_HPP
22
23#include <QColor>
24
25namespace ores::qt {
26
40 static inline const QColor stale_indicator{255, 215, 0};
41
45 static inline const QColor icon_color{220, 220, 220};
46
53 static inline const QColor synthetic_indicator{100, 149, 237}; // Cornflower blue
54
58 static inline const QColor level_trace{107, 114, 128}; // Gray
59 static inline const QColor level_debug{59, 130, 246}; // Blue
60 static inline const QColor level_info{34, 197, 94}; // Green
61 static inline const QColor level_warn{234, 179, 8}; // Amber
62 static inline const QColor level_error{239, 68, 68}; // Red
63 static inline const QColor level_text{255, 255, 255}; // White text on badges
64
68 static inline const QColor active_session{34, 197, 94}; // Green (same as INFO)
69};
70
77 // Common text color for all badges
78 static inline const QColor text{255, 255, 255};
79
80 // Default/unknown state
81 static inline const QColor default_bg{107, 114, 128}; // Gray
82
83 // Boolean/enabled state badges
84 static inline const QColor enabled{34, 197, 94}; // Green
85 static inline const QColor disabled{107, 114, 128}; // Gray
86 static inline const QColor yes{34, 197, 94}; // Green
87 static inline const QColor no{107, 114, 128}; // Gray
88
89 // Status indicators
90 static inline const QColor online{34, 197, 94}; // Green
91 static inline const QColor recent{59, 130, 246}; // Blue
92 static inline const QColor old{234, 179, 8}; // Amber
93 static inline const QColor never{107, 114, 128}; // Gray
94 static inline const QColor locked{239, 68, 68}; // Red
95 static inline const QColor unlocked{107, 114, 128}; // Gray
96
97 // Data governance dimension badges
98 static inline const QColor origin_primary{59, 130, 246}; // Blue
99 static inline const QColor origin_derived{139, 92, 246}; // Purple
100 static inline const QColor nature_actual{34, 197, 94}; // Green
101 static inline const QColor nature_estimated{234, 179, 8}; // Amber
102 static inline const QColor nature_simulated{236, 72, 153}; // Pink
103 static inline const QColor treatment_raw{107, 114, 128}; // Gray
104 static inline const QColor treatment_cleaned{14, 165, 233}; // Sky blue
105 static inline const QColor treatment_enriched{168, 85, 247}; // Purple
106};
107
108// Backward compatibility alias
110
111}
112
113#endif
Qt-based graphical user interface for ORE Studio.
Definition AboutDialog.hpp:35
Centralized color constants for consistent UI styling.
Definition ColorConstants.hpp:33
static const QColor level_trace
Log level colors for telemetry viewer badges and filters.
Definition ColorConstants.hpp:58
static const QColor stale_indicator
Color for indicating stale/changed data that needs attention.
Definition ColorConstants.hpp:40
static const QColor icon_color
Standard icon color for toolbar icons in dark theme.
Definition ColorConstants.hpp:45
static const QColor synthetic_indicator
Color for indicating synthetic/generated data that hasn't been saved.
Definition ColorConstants.hpp:53
static const QColor active_session
Color for indicating active sessions in tree view.
Definition ColorConstants.hpp:68
Common badge colors for item delegates.
Definition ColorConstants.hpp:76