Ref T259, Ref T243 split mapping info area, new interpolation info area

* new interpolation info area
* added interpolation and parts history to that area
* adjusted keypad and main swift GUI
This commit is contained in:
Klaus Basan
2018-03-19 21:08:21 +01:00
parent 624eb7ca93
commit 8df74ce0e6
15 changed files with 296 additions and 294 deletions

View File

@@ -201,6 +201,13 @@ void SwiftGuiStd::setMainPageInfoArea(CMainInfoAreaComponent::InfoArea infoArea)
ui->comp_MainInfoArea->selectArea(infoArea);
}
void SwiftGuiStd::setSettingsPage(int settingsTabIndex)
{
this->setMainPageInfoArea(CMainInfoAreaComponent::InfoAreaSettings);
if (settingsTabIndex < 0) { return; }
ui->comp_MainInfoArea->getSettingsComponent()->setCurrentIndex(settingsTabIndex);
}
bool SwiftGuiStd::isMainPageSelected(SwiftGuiStd::MainPageIndex mainPage) const
{
return ui->sw_MainMiddle->currentIndex() == static_cast<int>(mainPage);