mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user