Added tab Seam allowance. Disabled if Apply button is not active.
--HG-- branch : feature
This commit is contained in:
parent
836df6e309
commit
2489f525f7
|
@ -72,6 +72,7 @@ void DialogSeamAllowance::EnableApply(bool enable)
|
|||
SCASSERT(bApply != nullptr);
|
||||
bApply->setEnabled(enable);
|
||||
applyAllowed = enable;
|
||||
ui->tabSeamAllowance->setEnabled(applyAllowed);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -80,6 +80,11 @@
|
|||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tabSeamAllowance">
|
||||
<attribute name="title">
|
||||
<string>Seam allowance</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
|
Loading…
Reference in New Issue
Block a user