Assign fixed order to Ekos tabs
Currently, the order in which Ekos tabs are added depends on the order devices are registered. Those tabs should keep the same order, even if some of them are not displayed because there is no relevant device. Proposal:
- Manager
- Scheduler
- Observatory
- Capture
- Focus
- Mount
- Align
- Guide
- Analyze
- (Library)
-
Define the ordered enum Ekos::Manager::EkosModule
with the list above. -
Define Ekos::Manager::AddModuleTab(Ekos::Manager::EkosModule, QWidget*)
computing the expected index of a module tab given tabs already present and adding the module widget at the right position. -
Call the function when initialising modules in Ekos::Manager
.