Kstars

aberrationinspectorutils.h
1/*
2 SPDX-FileCopyrightText: 2023 John Evans <john.e.evans.email@googlemail.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QString>
10
11// This header file includes constants used by several Aberration Inspector classes
12
13namespace Ekos
14{
15
16// tileID defines the 9 tiles in the mosaic
17typedef enum
18{
19 TILE_TL = 0,
20 TILE_TM,
21 TILE_TR,
22 TILE_CL,
23 TILE_CM,
24 TILE_CR,
25 TILE_BL,
26 TILE_BM,
27 TILE_BR,
28 // Add a max for array indexing
29 NUM_TILES
30} tileID;
31
32// Tile names and colours
33static const QString TILE_NAME[NUM_TILES] = {"TL", "T", "TR", "L", "C", "R", "BL", "B", "BR"};
34static const QString TILE_LONGNAME[NUM_TILES] = {"Top Left", "Top", "Top Right", "Left", "Centre", "Right", "Bottom Left", "Bottom", "Bottom Right"};
35static const QString TILE_COLOUR[NUM_TILES] = {"red", "cyan", "green", "magenta", "blue", "grey", "darkGreen", "darkCyan", "darkRed"};
36
37// Debug flag
38// false - production mode
39// true - used for production support to enable table widget to be editable to simulate other user's data
40constexpr bool ABINS_DEBUG { false };
41}
Ekos is an advanced Astrophotography tool for Linux.
Definition align.cpp:79
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:49:21 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.