OSCAR-code/oscar/common_gui.h
2024-01-31 19:14:19 -05:00

113 lines
3.9 KiB
C

/* Common GUI Functions Header
*
* Copyright (c) 2019-2024 The OSCAR Team
* Copyright (C) 2011-2018 Mark Watkins
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the source code
* for more details. */
#ifndef COMMON_GUI_H
#define COMMON_GUI_H
#include <QString>
#include <QColor>
// Internal graph identifiers -- must NOT be translated
const QString STR_GRAPH_EventBreakdown = "EventBreakdown";
const QString STR_GRAPH_SleepFlags = "SF"; // aka Event Flags
const QString STR_GRAPH_FlowRate = "FlowRate";
const QString STR_GRAPH_Pressure = "Pressure";
const QString STR_GRAPH_LeakRate = "Leak";
const QString STR_GRAPH_FlowLimitation = "FLG";
const QString STR_GRAPH_Snore = "Snore";
const QString STR_GRAPH_TidalVolume = "TidalVolume";
const QString STR_GRAPH_MaskPressure = "MaskPressure";
const QString STR_GRAPH_RespRate = "RespRate";
const QString STR_GRAPH_MinuteVent = "MinuteVent";
const QString STR_GRAPH_PTB = "PTB";
const QString STR_GRAPH_RespEvent = "RespEvent";
const QString STR_GRAPH_Ti = "Ti";
const QString STR_GRAPH_Te = "Te";
const QString STR_GRAPH_IE = "I/E";
const QString STR_GRAPH_SleepStage = "SleepStage";
const QString STR_GRAPH_Inclination = "Inclination";
const QString STR_GRAPH_Orientation = "Orientation";
const QString STR_GRAPH_Motion = "Motion";
const QString STR_GRAPH_TestChan1 = "TestChan1";
const QString STR_GRAPH_TestChan2 = "TestChan2";
const QString STR_GRAPH_AHI = "AHI";
const QString STR_GRAPH_Weight = "Weight";
const QString STR_GRAPH_BMI = "BMI";
const QString STR_GRAPH_Zombie = "Feeling";
const QString STR_GRAPH_Sessions = "Sessions";
const QString STR_GRAPH_SessionTimes = "SessionTimes";
const QString STR_GRAPH_Usage = "Usage";
const QString STR_GRAPH_PeakAHI = "PeakAHI";
const QString STR_GRAPH_TAP = "TimeAtPressure";
const QString STR_GRAPH_Oxi_Pulse = "Pulse";
const QString STR_GRAPH_Oxi_SPO2 = "SPO2";
const QString STR_GRAPH_Oxi_Plethy = "Plethy";
const QString STR_GRAPH_Oxi_Perf = "Perf. Index";
const QString STR_GRAPH_Oxi_PulseChange = "PulseChange";
const QString STR_GRAPH_Oxi_SPO2Drop = "SPO2Drop";
const QString STR_GRAPH_ObstructLevel = "ObstructLevel";
const QString STR_GRAPH_PressureMeasured = "PressureMeasured";
const QString STR_GRAPH_rRMV = "rRMV";
const QString STR_GRAPH_rMVFluctuation = "rMVFluctuation";
const QString STR_GRAPH_FlowFull = "FlowFull";
//OXI_Pulse, OXI_SPO2, OXI_Perf, OXI_Plethy
// Flag Colors
extern QColor COLOR_Hypopnea;
extern QColor COLOR_Obstructive;
extern QColor COLOR_Apnea;
extern QColor COLOR_CSR;
extern QColor COLOR_LargeLeak;
extern QColor COLOR_Ramp;
extern QColor COLOR_ClearAirway;
extern QColor COLOR_RERA;
extern QColor COLOR_VibratorySnore;
extern QColor COLOR_FlowLimit;
extern QColor COLOR_SensAwake;
extern QColor COLOR_LeakFlag;
extern QColor COLOR_NRI;
extern QColor COLOR_ExP;
extern QColor COLOR_PressurePulse;
extern QColor COLOR_PulseChange;
extern QColor COLOR_SPO2Drop;
extern QColor COLOR_UserFlag1;
extern QColor COLOR_UserFlag2;
// Chart Colors
extern QColor COLOR_EPAP;
extern QColor COLOR_IPAP;
extern QColor COLOR_IPAPLo;
extern QColor COLOR_IPAPHi;
extern QColor COLOR_Plethy;
extern QColor COLOR_Pulse;
extern QColor COLOR_SPO2;
extern QColor COLOR_FlowRate;
extern QColor COLOR_Pressure;
extern QColor COLOR_RDI;
extern QColor COLOR_AHI;
extern QColor COLOR_Leak;
extern QColor COLOR_LeakTotal;
extern QColor COLOR_MaxLeak;
extern QColor COLOR_Snore;
extern QColor COLOR_RespRate;
extern QColor COLOR_MaskPressure;
extern QColor COLOR_PTB; // Patient Triggered Breathing
extern QColor COLOR_MinuteVent;
extern QColor COLOR_TgMV;
extern QColor COLOR_TidalVolume;
extern QColor COLOR_FLG; // Flow Limitation Graph
extern QColor COLOR_IE; // Inspiratory Expiratory Ratio
extern QColor COLOR_Te;
extern QColor COLOR_Ti;
extern QColor COLOR_SleepStage;
#endif // COMMON_GUI_H