Kstars
10#include "fitshistogrameditor.h"
17#include "ui_fitsheaderdialog.h"
18#include "ui_statform.h"
19#include "ui_catalogobject.h"
20#include "ui_catalogobjecttypefilter.h"
27#include <KConfigDialog>
28#include <QNetworkAccessManager>
29#include <QStandardItemModel>
31class FITSHistogramEditor;
40class StellarSolverProfileEditor;
54 virtual ~FITSTab()
override;
69 void clearRecentFITS();
70 void selectRecentFITS(
int i);
71 void loadFile(
const QUrl &imageURL, FITSMode mode = FITS_NORMAL, FITSScale filter = FITS_NONE);
78 m_BlinkFilenames = filenames;
82 return m_BlinkFilenames;
88 void setBlinkUpto(
int index)
90 if (index >= 0 && index < m_BlinkFilenames.size())
94 bool saveImage(
const QString &filename);
100 inline QUrl *getCurrentURL()
110 return m_HistogramEditor;
120 void loadFITSHeader();
121 void loadCatalogObjects();
122 void queriedCatalogObjects();
123 void catQueryFailed(
const QString text);
125 void catHighlightChanged(
const int highlight);
126 void catHighlightRow(
const int row);
131 Q_SCRIPTABLE
void setStretchValues(
double shadows,
double midtones,
double highlights);
132 Q_SCRIPTABLE
void setAutoStretch();
134 void setUID(
int newID)
144 void tabPositionUpdated();
145 void selectGuideStar();
147 QString getPreviewText()
const;
148 void setPreviewText(
const QString &value);
149 bool shouldComputeHFR()
const;
152 void modifyFITSState(
bool clean =
true,
const QUrl &imageURL =
QUrl());
156 void displayStats(
bool roi =
false);
163 bool setupView(FITSMode mode, FITSScale filter);
165 void imageSolved(
bool success);
175 Ui::fitsHeaderDialog header;
181 Ui::CatalogObjectUI m_CatalogObjectUI;
183 Ui::CatalogObjectTypeFilterUI m_CatObjTypeFilterUI;
198 bool mDirty {
false };
202 std::unique_ptr<FITSStretchUI> stretchUI;
205 typedef enum { CAT_NUM,
219 typedef enum { CATTYPE_CODE,
228 void catCellDoubleClicked(
const QModelIndex &index);
229 void launchCatTypeFilterDialog();
230 void showCatObjNames(
bool enabled);
231 void launchSimbad(
QString name);
234 void initCatalogObject();
235 void setupCatObjTypeFilter();
236 void applyTypeFilter();
237 void checkAllTypeFilter();
238 void uncheckAllTypeFilter();
242 int m_CatalogObjectItem { 0 };
246 int m_BlinkIndex { 0 };
251 void debayerToggled(
bool);
252 void newStatus(
const QString &msg, FITSBar
id);
253 void changeStatus(
bool clean,
const QUrl &imageUrl);
256 void failed(
const QString &errorMessage);
Primary window to view monochrome and color FITS images.
Ekos is an advanced Astrophotography tool for Linux.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 25 2025 11:58:36 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.