00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef ASPECT_MOUNT_H
00013 #define ASPECT_MOUNT_H
00014
00015
00016 #include <QDialog>
00017 #include <QString>
00018
00019 class McuProxy;
00020
00021
00022 namespace Ui { class MountDialog; };
00023
00024
00025 class MountDialog: public QDialog
00026 {
00027 Q_OBJECT
00028
00029 public:
00030 MountDialog(QWidget *pParent = 0);
00031 ~MountDialog();
00032
00033 public slots:
00034 void settingsChanged();
00035 void mcuSerialBusy(bool bBusy);
00036 void on_mcuPort_activated(const QString &qsPort);
00037 void on_mcuFirmwareRefresh_clicked();
00038 void on_mcuSettingsTracking_activated(int nSpeed);
00039 void on_mcuSettingsPec_activated(int nIndex);
00040 void on_mcuSettingsIntelly_activated(int nIndex);
00041 void on_mcuSettingsRotation_activated(int nIndex);
00042 void on_mcuSettingsRefresh_clicked();
00043 void on_mcuGearsQuery_clicked();
00044 void on_mcuGearsSet_clicked();
00045 void on_mcuCommandSend_clicked();
00046
00047 private:
00048 bool mcuCommunicationBegin();
00049 void mcuCommunicationEnd();
00050
00051 private:
00052 Ui::MountDialog *m_pUi;
00053 McuProxy *m_pMcuProxy;
00054 };
00055
00056
00057 #endif // ASPECT_MOUNT_H
00058