[TechDraw] Add new Insert Repetition Count command

This commit is contained in:
pavltom
2024-02-19 17:37:09 +01:00
committed by WandererFan
parent c356223702
commit 74d0c2e2c1
6 changed files with 158 additions and 9 deletions

View File

@@ -51,6 +51,11 @@ void DlgTemplateField::setFieldName(std::string name)
ui->lblName->setText(qs);
}
void DlgTemplateField::setFieldLength(int length)
{
ui->leInput->setMaxLength(length);
}
void DlgTemplateField::setFieldContent(std::string content)
{
QString qs = QString::fromUtf8(content.data(), content.size());