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(); InitMTypes();
InitUnits(MeasurementsType::Individual); InitUnits(MeasurementsType::Individual);
InitStandards();
InitHeightsList(); InitHeightsList();
InitSizesList(); 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() void DialogNewMeasurements::InitHeightsList()
{ {

View File

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

View File

@ -10,7 +10,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>244</width> <width>244</width>
<height>212</height> <height>185</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -71,16 +71,6 @@
</property> </property>
</widget> </widget>
</item> </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> </layout>
</item> </item>
<item> <item>