Remove section Standard.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2015-08-08 18:34:09 +03:00
parent 8c79d8fa6b
commit 336dee5454
3 changed files with 1 additions and 22 deletions

View File

@ -40,7 +40,6 @@ DialogNewMeasurements::DialogNewMeasurements(QWidget *parent)
InitMTypes();
InitUnits(MeasurementsType::Individual);
InitStandards();
InitHeightsList();
InitSizesList();
@ -148,15 +147,6 @@ void DialogNewMeasurements::InitMTypes()
}
}
//---------------------------------------------------------------------------------------------------------------------
void DialogNewMeasurements::InitStandards()
{
ui->comboBoxStandard->blockSignals(true);
ui->comboBoxStandard->clear();
ui->comboBoxStandard->addItem(tr("Regular"));
ui->comboBoxStandard->blockSignals(false);
}
//---------------------------------------------------------------------------------------------------------------------
void DialogNewMeasurements::InitHeightsList()
{

View File

@ -63,7 +63,6 @@ private:
Ui::DialogNewMeasurements *ui;
void InitMTypes();
void InitStandards();
void InitHeightsList();
void InitSizesList();
void InitUnits(const MeasurementsType &type);

View File

@ -10,7 +10,7 @@
<x>0</x>
<y>0</y>
<width>244</width>
<height>212</height>
<height>185</height>
</rect>
</property>
<property name="windowTitle">
@ -71,16 +71,6 @@
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Standard:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QComboBox" name="comboBoxStandard"/>
</item>
</layout>
</item>
<item>