10#include "fitshistogrameditor.h"
17#include "ui_fitsheaderdialog.h"
18#include "ui_statform.h"
19#include "ui_platesolve.h"
20#include "ui_catalogobject.h"
21#include "ui_catalogobjecttypefilter.h"
28#include "ekos/auxiliary/solverutils.h"
29#include <KConfigDialog>
30#include <QNetworkAccessManager>
31#include <QStandardItemModel>
33class FITSHistogramEditor;
41class StellarSolverProfileEditor;
70 void clearRecentFITS();
71 void selectRecentFITS(
int i);
72 void loadFile(
const QUrl &imageURL, FITSMode mode = FITS_NORMAL, FITSScale filter = FITS_NONE);
79 m_BlinkFilenames = filenames;
83 return m_BlinkFilenames;
89 void setBlinkUpto(
int index)
91 if (index >= 0 && index < m_BlinkFilenames.
size())
95 bool saveImage(
const QString &filename);
101 inline QUrl *getCurrentURL()
111 return m_HistogramEditor;
121 void loadFITSHeader();
122 void loadCatalogObjects();
123 void queriedCatalogObjects();
124 void catQueryFailed(
const QString text);
126 void catHighlightChanged(
const int highlight);
127 void catHighlightRow(
const int row);
132 Q_SCRIPTABLE
void setStretchValues(
double shadows,
double midtones,
double highlights);
133 Q_SCRIPTABLE
void setAutoStretch();
135 void setUID(
int newID)
145 void tabPositionUpdated();
146 void selectGuideStar();
148 QString getPreviewText()
const;
149 void setPreviewText(
const QString &value);
150 bool shouldComputeHFR()
const;
153 void modifyFITSState(
bool clean =
true,
const QUrl &imageURL =
QUrl());
157 void displayStats(
bool roi =
false);
164 bool setupView(FITSMode mode, FITSScale filter);
166 void imageSolved(
bool success);
176 Ui::fitsHeaderDialog header;
182 Ui::PlateSolveUI m_PlateSolveUI;
185 Ui::CatalogObjectUI m_CatalogObjectUI;
187 Ui::CatalogObjectTypeFilterUI m_CatObjTypeFilterUI;
202 bool mDirty {
false };
206 std::unique_ptr<FITSStretchUI> stretchUI;
209 void setupSolver(
bool extractOnly =
false);
210 void solverDone(
bool timedOut,
bool success,
const FITSImage::Solution &solution,
double elapsedSeconds);
211 void extractorDone(
bool timedOut,
bool success,
const FITSImage::Solution &solution,
double elapsedSeconds);
213 void setupProfiles(
int profileIndex);
214 int getProfileIndex(
int moduleIndex);
215 void setProfileIndex(
int moduleIndex,
int profileIndex);
218 typedef enum { CAT_NUM,
232 typedef enum { CATTYPE_CODE,
241 void catCellDoubleClicked(
const QModelIndex &index);
242 void launchCatTypeFilterDialog();
243 void showCatObjNames(
bool enabled);
244 void launchSimbad(
QString name);
247 void initCatalogObject();
248 void setupCatObjTypeFilter();
249 void applyTypeFilter();
250 void checkAllTypeFilter();
251 void uncheckAllTypeFilter();
255 int m_CatalogObjectItem { 0 };
261 int m_BlinkIndex { 0 };
270 void debayerToggled(
bool);
271 void newStatus(
const QString &msg, FITSBar
id);
272 void changeStatus(
bool clean,
const QUrl &imageUrl);
275 void failed(
const QString &errorMessage);
The FITSTab class holds information on the current view (drawing area) in addition to the undo/redo s...
Primary window to view monochrome and color FITS images.
Ekos is an advanced Astrophotography tool for Linux.
qsizetype size() const const
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.