Added tab Seam allowance. Disabled if Apply button is not active.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-11-10 11:27:59 +02:00
parent 836df6e309
commit 2489f525f7
2 changed files with 6 additions and 0 deletions

View file

@ -72,6 +72,7 @@ void DialogSeamAllowance::EnableApply(bool enable)
SCASSERT(bApply != nullptr);
bApply->setEnabled(enable);
applyAllowed = enable;
ui->tabSeamAllowance->setEnabled(applyAllowed);
}
//---------------------------------------------------------------------------------------------------------------------

View file

@ -80,6 +80,11 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="tabSeamAllowance">
<attribute name="title">
<string>Seam allowance</string>
</attribute>
</widget>
</widget>
</item>
<item>