mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +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:
@@ -91,7 +91,7 @@ namespace BlackGui
|
||||
|
||||
QSize CDataMainInfoAreaComponent::getPreferredSizeWhenFloating(int areaIndex) const
|
||||
{
|
||||
InfoArea area = static_cast<InfoArea>(areaIndex);
|
||||
const InfoArea area = static_cast<InfoArea>(areaIndex);
|
||||
switch (area)
|
||||
{
|
||||
case InfoAreaData:
|
||||
@@ -105,19 +105,14 @@ namespace BlackGui
|
||||
|
||||
const QPixmap &CDataMainInfoAreaComponent::indexToPixmap(int areaIndex) const
|
||||
{
|
||||
InfoArea area = static_cast<InfoArea>(areaIndex);
|
||||
const InfoArea area = static_cast<InfoArea>(areaIndex);
|
||||
switch (area)
|
||||
{
|
||||
case InfoAreaData:
|
||||
return CIcons::appDatabase16();
|
||||
case InfoAreaMapping:
|
||||
return CIcons::appMappings16();
|
||||
case InfoAreaSettings:
|
||||
return CIcons::appSettings16();
|
||||
case InfoAreaLog:
|
||||
return CIcons::appLog16();
|
||||
default:
|
||||
return CIcons::empty();
|
||||
case InfoAreaData: return CIcons::appDatabase16();
|
||||
case InfoAreaMapping: return CIcons::appMappings16();
|
||||
case InfoAreaSettings: return CIcons::appSettings16();
|
||||
case InfoAreaLog: return CIcons::appLog16();
|
||||
default: return CIcons::empty();
|
||||
}
|
||||
}
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user