refs #525, stash view

* allow to stash and unstash models from vPilot and own models
* removed stash main area and moved it into mapping component
* own stash component
* use the new functions for modles/views from the prevuous steps
This commit is contained in:
Klaus Basan
2015-12-02 01:31:54 +01:00
parent 8e852b19ae
commit f7cb21c78c
9 changed files with 450 additions and 153 deletions

View File

@@ -53,17 +53,11 @@ namespace BlackGui
return this->ui->comp_DataInfoArea;
}
CDbStashComponent *CDataMainInfoAreaComponent::getStashComponent() const
{
return this->ui->comp_Stash;
}
void CDataMainInfoAreaComponent::setProvider(BlackMisc::Network::IWebDataServicesProvider *provider)
{
Q_ASSERT_X(provider, Q_FUNC_INFO, "Missing provider");
this->ui->comp_DataInfoArea->setProvider(provider);
this->ui->comp_Mapping->setProvider(provider);
this->ui->comp_Stash->setProvider(provider);
}
void CDataMainInfoAreaComponent::displayLog()
@@ -86,7 +80,6 @@ namespace BlackGui
case InfoAreaData:
case InfoAreaMapping:
case InfoAreaSettings:
case InfoAreaStash:
case InfoAreaLog:
default:
return QSize(800, 600);
@@ -106,8 +99,6 @@ namespace BlackGui
return CIcons::appSettings16();
case InfoAreaLog:
return CIcons::appLog16();
case InfoAreaStash:
return CIcons::appDbStash16();
default:
return CIcons::empty();
}