Public Slots | |
void | on_actionQuit_triggered () |
void | on_actionAbout_Aspect_triggered () |
void | on_actionAbout_Qt_triggered () |
void | on_actionLog_View_triggered () |
void | on_actionSettings_triggered () |
void | on_actionMount_triggered () |
void | settingsChanged () |
void | mcuSerialStatus (bool bOpen, McuSerial::Status eStatus) |
void | mcuSerialFirmware (const QString &qsFirmware) |
void | mcuSerialBusy (bool bBusy) |
void | on_mcuPort_activated (const QString &qsPort) |
void | on_mcuSettingsTracking_activated (int nSpeed) |
void | on_mcuSettingsPec_activated (int nIndex) |
void | on_mcuSettingsIntelly_activated (int nIndex) |
void | on_mcuSettingsRefresh_clicked () |
void | on_peFileOpen_clicked () |
void | on_peFileFollow_clicked () |
void | on_peProcMode_activated (int nMode) |
void | on_peProcBeg_valueChanged (int nBeg) |
void | on_peProcEnd_valueChanged (int nEnd) |
void | on_peProcCombining_activated (int nMethod) |
void | on_peProcSmoothWidth_valueChanged (int nWidth) |
void | on_peProcDrift_valueChanged (double dfDrift) |
void | on_peProcDecl_valueChanged (double dfDeclination) |
void | on_peProcScale_valueChanged (double dfScale) |
void | on_peProcOffset_valueChanged (double dfOffset) |
void | recalcPeData () |
void | on_pecTableAggress_valueChanged (int nAggress) |
void | on_pecTableFactor_valueChanged (int nFactor) |
void | on_pecOpenTable_clicked () |
void | on_pecSaveTable_clicked () |
void | on_pecGetTable_clicked () |
void | on_pecPutTable_clicked () |
void | on_pecVerifyTable_clicked () |
void | on_pecGenFirmware_activated (int nFirmware) |
void | on_pecGenWormWheel_valueChanged (int nTeeth) |
void | on_pecMountQuery_clicked () |
void | on_pecCalculate_clicked () |
void | on_pecFit_clicked () |
void | on_pecGraphOffset_valueChanged (double dfOffset) |
void | changePecItem (QStandardItem *pItem) |
void | on_pecProfileOffset_valueChanged (double dfOffset) |
void | on_pecProfileDrift_valueChanged (double dfDrift) |
void | on_pecProfileOpen_clicked () |
void | on_pecProfileSave_clicked () |
void | on_mcuGuideEast_clicked () |
void | on_mcuGuideWest_clicked () |
void | on_mcuStart_clicked () |
void | on_mcuPause_clicked () |
void | mcuTimer () |
void | on_toggleChartPeRaw_toggled (bool bOn) |
void | on_toggleChartPeProcessed_toggled (bool bOn) |
void | on_toggleChartPecIdeal_toggled (bool bOn) |
void | on_toggleChartPecTable_toggled (bool bOn) |
void | on_toggleChartPecProfile_toggled (bool bOn) |
Private Types | |
enum | Dir { east, west, stop } |
Private Member Functions | |
bool | mcuCommunicationBegin () |
void | mcuCommunicationEnd () |
bool | openPeFile (const QString &qsFileName) |
bool | openPecFile (const QString &qsFileName) |
bool | savePecFile (const QString &qsFileName) |
void | getPecTable () |
void | putPecTable () |
void | verifyPecTable () |
void | calcPecParams () |
double | getPecPosScale (int nFirmware) |
void | calcPecTable () |
void | fitPecTable () |
void | fillPecModel () |
void | clearPecProfile () |
bool | startPecProfile (bool bSetSpeed) |
void | stopPecProfile () |
bool | openPecProfileFile (const QString &qsFileName) |
bool | savePecProfileFile (const QString &qsFileName) |
void | recalcPeChart () |
Private Attributes | |
Ui::MainWindow * | m_pUi |
bool | m_bEnableTabProfile |
int | m_nTabProfileIndex |
QString | m_qsTabProfileLabel |
bool | m_bEnableMenuMount |
StatusBar * | m_pStatusBar |
LogDialog * | m_pLog |
SettingsDialog * | m_pSettings |
MountDialog * | m_pMount |
DataPeMcu | m_oPeData |
int | m_nPeSampleNum |
double | m_dfSiderealDay |
int | m_nFirmware |
int | m_nWormWheelTeeth |
double | m_dfPecPosScale |
PecData | m_oPecTable |
Dir | m_eGuideDir |
QList< PeRawSample > | m_lstPecProfile |
QStandardItemModel * | m_pPecModel |
QStandardItemModel * | m_pPecProfileModel |
QGraphicsScene * | m_pPeChart |
QTimer * | m_pMcuTimer |
QString | m_qsSerialPort |
McuProxy * | m_pMcuProxy |
MainWindow is the GUI main window.
void MainWindow::getPecTable | ( | ) | [private] |
Download PEC table from MCU via serial line
make port configurable
evaluate return values and do some sane error handling here ...
void MainWindow::putPecTable | ( | ) | [private] |
Upload PEC table to MCU via serial line
evaluate return values and do some sane error handling here ...
query and display PEC status after uploading PEC table
verify if writing order is ok (factor, save to EEPROM, PEC values, save PEC)
void MainWindow::verifyPecTable | ( | ) | [private] |
void MainWindow::calcPecParams | ( | ) | [private] |
void MainWindow::calcPecTable | ( | ) | [private] |
Calculate PEC table from processed PE data
void MainWindow::fitPecTable | ( | ) | [private] |
void MainWindow::recalcPeChart | ( | ) | [private] |
Recalculate and redraw all kind of charts
implement PEC profile graph properly