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);
|
SCASSERT(bApply != nullptr);
|
||||||
bApply->setEnabled(enable);
|
bApply->setEnabled(enable);
|
||||||
applyAllowed = enable;
|
applyAllowed = enable;
|
||||||
|
ui->tabSeamAllowance->setEnabled(applyAllowed);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user