9#include "ui_buildfilteroffsets.h"
10#include "filtermanager.h"
11#include "ekos/focus/focusutils.h"
16class BuildFilterOffsets :
public QDialog,
public Ui::buildOffsetsDialog
23 ~BuildFilterOffsets();
26 void autoFocusComplete(FocusState completionState,
int currentPosition,
double currentTemperature,
double currentAlt);
30 void runAutoFocus(AutofocusReason autofocusReason,
const QString &reasonInfo);
32 void abortAutoFocus();
34 void newFocusOffset(
int value,
bool useAbsoluteOffset);
85 double deltaTicksTemperature;
86 double deltaTicksAltitude;
87 double deltaTicksTotal;
91 void setupConnections();
95 void initBuildFilterOffsets();
97 void setupBuildFilterOffsetsTable();
99 void setBuildFilterOffsetsButtons(
const BFOButtonState state);
101 void buildTheOffsets();
103 void stopProcessing();
105 void saveTheOffsets();
107 void setCellsEditable();
109 void runBuildOffsets();
111 void buildTheOffsetsTaskComplete();
113 void buildOffsetsDialogResize();
115 void calculateAFAverage(
const int row,
const int col);
117 void calculateOffset(
const int row);
119 void processQItem(
const buildOffsetsQItem qitem);
121 void processAFcomplete(
const int position,
const double temperature,
const double altitude);
123 void loadPosition(
const bool checked,
const int row,
const int col);
125 void reloadPositions(
const bool checked);
127 int getColumn(
const BFOColID
id);
129 int getNumRuns(
const int row);
135 QVector <QString> m_filters;
136 int m_refFilter { -1 };
137 double m_refTemperature { INVALID_VALUE };
138 double m_refAltitude { INVALID_VALUE };
141 buildOffsetsQItem m_qItemInProgress;
145 bool m_inBuildOffsets {
false };
150 bool m_problemFlag {
false };
151 bool m_stopFlag {
false };
152 bool m_abortAFPending {
false };
153 bool m_tableInEditMode {
false};
Ekos is an advanced Astrophotography tool for Linux.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:45 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.