[Companion] Implement print functions for the hell setup screen (fixes 3430) (#3554)

Fixes #3430: added print functions for the hell setup screen
This commit is contained in:
Arne Schwabe
2016-06-06 21:01:49 +02:00
committed by Damjan Adamic
parent 2cccb99e28
commit 81733b10cc
4 changed files with 74 additions and 0 deletions
+19
View File
@@ -202,6 +202,25 @@ QString ModelPrinter::printTrainerMode()
return result;
}
QString ModelPrinter::printHeliSwashType ()
{
switch (model.swashRingData.type) {
case HELI_SWASH_TYPE_90:
return tr("90");
case HELI_SWASH_TYPE_120:
return tr("120");
case HELI_SWASH_TYPE_120X:
return tr("120X");
case HELI_SWASH_TYPE_140:
return tr("140");
case HELI_SWASH_TYPE_NONE:
return tr("Off");
default:
return "???";
}
}
QString ModelPrinter::printCenterBeep()
{
QStringList strl;