mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 00:05:17 +03:00
Added status information for wixard mix data.
This commit is contained in:
parent
0a867bcc22
commit
898496a85d
5 changed files with 26 additions and 8 deletions
|
@ -65,11 +65,18 @@ QString Channel::toString()
|
|||
return str;
|
||||
}
|
||||
|
||||
Mix::Mix()
|
||||
{
|
||||
complete = false;
|
||||
name = "";
|
||||
vehicle = NOVEHICLE;
|
||||
}
|
||||
|
||||
QString Mix::toString()
|
||||
{
|
||||
QString str;
|
||||
str = QString(tr("Model Name: ")) + name + "\n";
|
||||
str += QString(tr("Model Type: ")) + vehicleName(vehicleType) + "\n";
|
||||
str += QString(tr("Model Type: ")) + vehicleName(vehicle) + "\n";
|
||||
for (int i=0; i<MAX_CHANNELS; i++){
|
||||
if (!channel[i].isEmpty()){
|
||||
str += QString(tr("Channel %1: ").arg(i+1));
|
||||
|
@ -78,4 +85,4 @@ QString Mix::toString()
|
|||
}
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue