Warning, file /education/kstars/kstars/ekos/focus/aberrationinspectorutils.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2023 John Evans <john.e.evans.email@googlemail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QString>
0010 
0011 // This header file includes constants used by several Aberration Inspector classes
0012 
0013 namespace Ekos
0014 {
0015 
0016 // tileID defines the 9 tiles in the mosaic
0017 typedef enum
0018 {
0019     TILE_TL = 0,
0020     TILE_TM,
0021     TILE_TR,
0022     TILE_CL,
0023     TILE_CM,
0024     TILE_CR,
0025     TILE_BL,
0026     TILE_BM,
0027     TILE_BR,
0028     // Add a max for array indexing
0029     NUM_TILES
0030 } tileID;
0031 
0032 // Tile names and colours
0033 static const QString TILE_NAME[NUM_TILES] = {"TL", "T", "TR", "L", "C", "R", "BL", "B", "BR"};
0034 static const QString TILE_LONGNAME[NUM_TILES] = {"Top Left", "Top", "Top Right", "Left", "Centre", "Right", "Bottom Left", "Bottom", "Bottom Right"};
0035 static const QString TILE_COLOUR[NUM_TILES] = {"red", "cyan", "green", "magenta", "blue", "grey", "darkGreen", "darkCyan", "darkRed"};
0036 
0037 // Debug flag
0038 // false - production mode
0039 // true - used for production support to enable table widget to be editable to simulate other user's data
0040 constexpr bool ABINS_DEBUG { false };
0041 }