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); SCASSERT(bApply != nullptr);
bApply->setEnabled(enable); bApply->setEnabled(enable);
applyAllowed = enable; applyAllowed = enable;
ui->tabSeamAllowance->setEnabled(applyAllowed);
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------

View File

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