Swap hip and waist.
This commit is contained in:
parent
7b34bd3a32
commit
e65363546b
|
@ -30,7 +30,7 @@
|
|||
<item>
|
||||
<widget class="QGroupBox" name="groupBoxXDimension">
|
||||
<property name="title">
|
||||
<string>Height</string>
|
||||
<string comment="dimension">Height</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
|
@ -120,7 +120,7 @@
|
|||
<item>
|
||||
<widget class="QGroupBox" name="groupBoxYDimension">
|
||||
<property name="title">
|
||||
<string>Size</string>
|
||||
<string comment="dimension">Size</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
|
@ -220,7 +220,7 @@
|
|||
<item>
|
||||
<widget class="QGroupBox" name="groupBoxWDimension">
|
||||
<property name="title">
|
||||
<string>Hip</string>
|
||||
<string comment="dimension">Waist</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
|
@ -310,7 +310,7 @@
|
|||
<item>
|
||||
<widget class="QGroupBox" name="groupBoxZDimension">
|
||||
<property name="title">
|
||||
<string>Waist</string>
|
||||
<string comment="dimension">Hip</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
|
|
|
@ -166,13 +166,13 @@ QString VAbstartMeasurementDimension::DimensionName(MeasurementDimension type)
|
|||
switch(type)
|
||||
{
|
||||
case MeasurementDimension::X:
|
||||
return tr("Height");
|
||||
return tr("Height", "dimension");
|
||||
case MeasurementDimension::Y:
|
||||
return tr("Size");
|
||||
return tr("Size", "dimension");
|
||||
case MeasurementDimension::W:
|
||||
return tr("Hip");
|
||||
return tr("Waist", "dimension");
|
||||
case MeasurementDimension::Z:
|
||||
return tr("Waist");
|
||||
return tr("Hip", "dimension");
|
||||
default:
|
||||
return QString();
|
||||
}
|
||||
|
@ -184,21 +184,21 @@ QString VAbstartMeasurementDimension::DimensionToolTip(MeasurementDimension type
|
|||
switch(type)
|
||||
{
|
||||
case MeasurementDimension::X:
|
||||
return tr("Height");
|
||||
return tr("Height", "dimension");
|
||||
case MeasurementDimension::Y:
|
||||
if (circumference)
|
||||
{
|
||||
return fc ? tr("Chest full circumference") : tr("Chest half circumference");
|
||||
return fc ? tr("Chest full circumference", "dimension") : tr("Chest half circumference", "dimension");
|
||||
}
|
||||
else
|
||||
{
|
||||
return tr("Size");
|
||||
}
|
||||
return circumference ? tr("Chest circumference") : tr("Size");
|
||||
return circumference ? tr("Chest circumference", "dimension") : tr("Size", "dimension");
|
||||
case MeasurementDimension::W:
|
||||
return fc ? tr("Hip full circumference") : tr("Hip half circumference");
|
||||
return fc ? tr("Waist full circumference", "dimension") : tr("Waist half circumference", "dimension");
|
||||
case MeasurementDimension::Z:
|
||||
return fc ? tr("Waist full circumference") : tr("Waist half circumference");
|
||||
return fc ? tr("Hip full circumference", "dimension") : tr("Hip half circumference", "dimension");
|
||||
default:
|
||||
return QString();
|
||||
}
|
||||
|
|
|
@ -37,8 +37,8 @@ enum class MeasurementDimension: qint8
|
|||
{
|
||||
X = 0, // height
|
||||
Y = 1, // size (chest half circumference)
|
||||
W = 2, // hip half circumference
|
||||
Z = 3 // waist half circumference
|
||||
W = 2, // waist half circumference
|
||||
Z = 3 // hip half circumference
|
||||
};
|
||||
|
||||
class VAbstartMeasurementDimension;
|
||||
|
|
Loading…
Reference in New Issue
Block a user