Text size: the value and "fixed" on rows of their own

A tick box and a value in the same cell was not clear to use. Width and
height now take two rows each: "Width" / "Width fixed" and "Height" /
"Height fixed". Not fixed, the value shows the size the field has now
and cannot be edited; ticking "fixed" makes it editable at once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
DaTweety
2026-10-19 15:56:50 +02:00
parent 255def181c
commit 2222153662
38 changed files with 814 additions and 601 deletions
+20 -15
View File
@@ -3975,24 +3975,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>العرض (ثابت)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>الارتفاع (ثابت)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>عند التحديد يحتفظ حقل النص بهذا العرض ويلتف النص داخله. بدون تحديد يكون بعرض النص.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>الارتفاع</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>عند التحديد يحتفظ حقل النص بهذا الارتفاع وتُقص الأسطر التي لا تتسع. بدون تحديد يكون بارتفاع النص.</translation>
<source>Width fixed</source>
<translation>العرض ثابت</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>الارتفاع ثابت</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>عند التحديد يحتفظ حقل النص بالعرض أعلاه ويلتف النص داخله. بدون تحديد يكون بعرض النص.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>عند التحديد يحتفظ حقل النص بالارتفاع أعلاه وتُقص الأسطر التي لا تتسع. بدون تحديد يكون بارتفاع النص.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3896,24 +3896,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Amplada (fixa)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Alçada (fixa)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Marcat, el camp de text manté aquesta amplada i el text s&apos;ajusta a dins. Sense marcar, és tan ample com el text.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Alçada</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Marcat, el camp de text manté aquesta alçada i les línies que no hi caben es tallen. Sense marcar, és tan alt com el text.</translation>
<source>Width fixed</source>
<translation>Amplada fixa</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Alçada fixa</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Marcat, el camp de text manté l&apos;amplada de dalt i el text s&apos;ajusta a dins. Sense marcar, és tan ample com el text.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Marcat, el camp de text manté l&apos;alçada de dalt i les línies que no hi caben es tallen. Sense marcar, és tan alt com el text.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3922,24 +3922,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Šířka (pevná)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Výška (pevná)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Zaškrtnuto: textové pole si drží tuto šířku a text se v něm zalamuje. Nezaškrtnuto: je široké jako text.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Výška</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Zaškrtnuto: textové pole si drží tuto výšku a řádky, které se nevejdou, se oříznou. Nezaškrtnuto: je vysoké jako text.</translation>
<source>Width fixed</source>
<translation>Pevná šířka</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Pevná výška</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Zaškrtnuto: textové pole si drží šířku výše a text se v něm zalamuje. Nezaškrtnuto: je široké jako text.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Zaškrtnuto: textové pole si drží výšku výše a řádky, které se nevejdou, se oříznou. Nezaškrtnuto: je vysoké jako text.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3876,24 +3876,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Bredde (fast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Højde (fast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Markeret beholder tekstfeltet denne bredde, og teksten ombrydes i det. Ikke markeret er det lige så bredt som teksten.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Højde</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Markeret beholder tekstfeltet denne højde, og linjer der ikke er plads til, skæres af. Ikke markeret er det lige så højt som teksten.</translation>
<source>Width fixed</source>
<translation>Fast bredde</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Fast højde</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Markeret beholder tekstfeltet bredden ovenfor, og teksten ombrydes i det. Ikke markeret er det lige så bredt som teksten.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Markeret beholder tekstfeltet højden ovenfor, og linjer der ikke er plads til, skæres af. Ikke markeret er det lige så højt som teksten.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3898,24 +3898,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Breite (fixiert)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Höhe (fixiert)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Angehakt behält das Textfeld diese Breite, der Text bricht darin um. Nicht angehakt ist es so breit wie der Text.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Höhe</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Angehakt behält das Textfeld diese Höhe, Zeilen, die nicht hineinpassen, werden abgeschnitten. Nicht angehakt ist es so hoch wie der Text.</translation>
<source>Width fixed</source>
<translation>Breite fixiert</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Höhe fixiert</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Angehakt behält das Textfeld die Breite darüber, der Text bricht darin um. Nicht angehakt ist es so breit wie der Text.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Angehakt behält das Textfeld die Höhe darüber, Zeilen, die nicht hineinpassen, werden abgeschnitten. Nicht angehakt ist es so hoch wie der Text.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3895,24 +3895,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Πλάτος (σταθερό)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Ύψος (σταθερό)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Επιλεγμένο: το πεδίο κειμένου κρατά αυτό το πλάτος και το κείμενο αναδιπλώνεται μέσα του. Μη επιλεγμένο: είναι όσο φαρδύ είναι το κείμενο.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Ύψος</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Επιλεγμένο: το πεδίο κειμένου κρατά αυτό το ύψος και οι γραμμές που δεν χωρούν αποκόπτονται. Μη επιλεγμένο: είναι όσο ψηλό είναι το κείμενο.</translation>
<source>Width fixed</source>
<translation>Σταθερό πλάτος</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Σταθερό ύψος</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Επιλεγμένο: το πεδίο κειμένου κρατά το παραπάνω πλάτος και το κείμενο αναδιπλώνεται μέσα του. Μη επιλεγμένο: είναι όσο φαρδύ είναι το κείμενο.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Επιλεγμένο: το πεδίο κειμένου κρατά το παραπάνω ύψος και οι γραμμές που δεν χωρούν αποκόπτονται. Μη επιλεγμένο: είναι όσο ψηλό είναι το κείμενο.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3895,24 +3895,29 @@ Hold Shift and drag to move this text on its own</translation>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Width (fixed)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Height (fixed)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Height</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</translation>
<source>Width fixed</source>
<translation>Width fixed</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Height fixed</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3898,24 +3898,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Ancho (fijo)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Alto (fijo)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Marcado, el campo de texto mantiene este ancho y el texto se ajusta dentro. Sin marcar, es tan ancho como el texto.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Alto</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Marcado, el campo de texto mantiene este alto y las líneas que no caben se cortan. Sin marcar, es tan alto como el texto.</translation>
<source>Width fixed</source>
<translation>Ancho fijo</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Alto fijo</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Marcado, el campo de texto mantiene el ancho de arriba y el texto se ajusta dentro. Sin marcar, es tan ancho como el texto.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Marcado, el campo de texto mantiene el alto de arriba y las líneas que no caben se cortan. Sin marcar, es tan alto como el texto.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3871,24 +3871,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Leveys (kiinteä)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Korkeus (kiinteä)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Valittuna tekstikenttä pitää tämän leveyden ja teksti rivittyy sen sisään. Valitsematta se on tekstin levyinen.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Korkeus</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Valittuna tekstikenttä pitää tämän korkeuden ja rivit, jotka eivät mahdu, katkaistaan. Valitsematta se on tekstin korkuinen.</translation>
<source>Width fixed</source>
<translation>Kiinteä leveys</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Kiinteä korkeus</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Valittuna tekstikenttä pitää yllä olevan leveyden ja teksti rivittyy sen sisään. Valitsematta se on tekstin levyinen.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Valittuna tekstikenttä pitää yllä olevan korkeuden ja rivit, jotka eivät mahdu, katkaistaan. Valitsematta se on tekstin korkuinen.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3896,24 +3896,29 @@ Maintenir Maj et faire glisser pour déplacer ce texte seul</translation>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Largeur (fixe)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Hauteur (fixe)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Cochée, le champ de texte garde cette largeur et le texte y passe à la ligne. Non cochée, il est aussi large que le texte.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Hauteur</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Cochée, le champ de texte garde cette hauteur et les lignes qui ne tiennent pas sont coupées. Non cochée, il est aussi haut que le texte.</translation>
<source>Width fixed</source>
<translation>Largeur fixe</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Hauteur fixe</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Cochée, le champ de texte garde la largeur ci-dessus et le texte y passe à la ligne. Non cochée, il est aussi large que le texte.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Cochée, le champ de texte garde la hauteur ci-dessus et les lignes qui ne tiennent pas sont coupées. Non cochée, il est aussi haut que le texte.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3896,24 +3896,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Širina (fiksna)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Visina (fiksna)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Označeno: tekstno polje zadržava ovu širinu i tekst se u njemu prelama. Neoznačeno: široko je koliko i tekst.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Visina</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Označeno: tekstno polje zadržava ovu visinu, a redci koji ne stanu se odrežu. Neoznačeno: visoko je koliko i tekst.</translation>
<source>Width fixed</source>
<translation>Fiksna širina</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Fiksna visina</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Označeno: tekstno polje zadržava gornju širinu i tekst se u njemu prelama. Neoznačeno: široko je koliko i tekst.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Označeno: tekstno polje zadržava gornju visinu, a redci koji ne stanu se odrežu. Neoznačeno: visoko je koliko i tekst.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3875,24 +3875,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Szélesség (rögzített)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Magasság (rögzített)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Bejelölve a szövegmező megtartja ezt a szélességet, és a szöveg benne tördelődik. Bejelöletlenül olyan széles, mint a szöveg.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Magasság</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Bejelölve a szövegmező megtartja ezt a magasságot, és a bele nem férő sorok levágódnak. Bejelöletlenül olyan magas, mint a szöveg.</translation>
<source>Width fixed</source>
<translation>Rögzített szélesség</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Rögzített magasság</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Bejelölve a szövegmező megtartja a fenti szélességet, és a szöveg benne tördelődik. Bejelöletlenül olyan széles, mint a szöveg.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Bejelölve a szövegmező megtartja a fenti magasságot, és a bele nem férő sorok levágódnak. Bejelöletlenül olyan magas, mint a szöveg.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3895,24 +3895,29 @@ Tieni premuto Maiusc e trascina per spostare solo questo testo</translation>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Larghezza (fissa)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Altezza (fissa)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Spuntato, il campo di testo mantiene questa larghezza e il testo va a capo al suo interno. Non spuntato, è largo quanto il testo.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Altezza</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Spuntato, il campo di testo mantiene questa altezza e le righe che non entrano vengono tagliate. Non spuntato, è alto quanto il testo.</translation>
<source>Width fixed</source>
<translation>Larghezza fissa</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Altezza fissa</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Spuntato, il campo di testo mantiene la larghezza sopra e il testo va a capo al suo interno. Non spuntato, è largo quanto il testo.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Spuntato, il campo di testo mantiene l&apos;altezza sopra e le righe che non entrano vengono tagliate. Non spuntato, è alto quanto il testo.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3867,24 +3867,29 @@ Shift を押しながらドラッグすると、このテキストだけを移
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>幅(固定)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>高さ(固定)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>チェックするとテキスト欄はこの幅を保ち、テキストはその中で折り返します。チェックしないとテキストの幅になります。</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>高さ</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>チェックするとテキスト欄はこの高さを保ち、収まらない行は切り捨てられます。チェックしないとテキストの高さになります。</translation>
<source>Width fixed</source>
<translation>幅を固定</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>高さを固定</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>チェックするとテキスト欄は上の幅を保ち、テキストはその中で折り返します。チェックしないとテキストの幅になります。</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>チェックするとテキスト欄は上の高さを保ち、収まらない行は切り捨てられます。チェックしないとテキストの高さになります。</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3867,24 +3867,29 @@ Shift를 누른 채 끌면 이 텍스트만 이동합니다</translation>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>너비 (고정)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>높이 (고정)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>선택하면 텍스트 필드가 이 너비를 유지하고 텍스트가 그 안에서 줄 바꿈됩니다. 선택하지 않으면 텍스트 너비와 같습니다.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>높이</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>선택하면 텍스트 필드가 이 높이를 유지하고 들어가지 않는 줄은 잘립니다. 선택하지 않으면 텍스트 높이와 같습니다.</translation>
<source>Width fixed</source>
<translation>너비 고정</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>높이 고정</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>선택하면 텍스트 필드가 위의 너비를 유지하고 텍스트가 그 안에서 줄 바꿈됩니다. 선택하지 않으면 텍스트 너비와 같습니다.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>선택하면 텍스트 필드가 위의 높이를 유지하고 들어가지 않는 줄은 잘립니다. 선택하지 않으면 텍스트 높이와 같습니다.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3878,24 +3878,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Өргөн (тогтмол)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Өндөр (тогтмол)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Тэмдэглэсэн үед текстийн талбар энэ өргөнийг хадгалж, текст дотор нь шилжинэ. Тэмдэглээгүй үед текстийн өргөнтэй тэнцүү.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Өндөр</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Тэмдэглэсэн үед текстийн талбар энэ өндрийг хадгалж, багтахгүй мөрүүд таслагдана. Тэмдэглээгүй үед текстийн өндөртэй тэнцүү.</translation>
<source>Width fixed</source>
<translation>Тогтмол өргөн</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Тогтмол өндөр</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Тэмдэглэсэн үед текстийн талбар дээрх өргөнийг хадгалж, текст дотор нь шилжинэ. Тэмдэглээгүй үед текстийн өргөнтэй тэнцүү.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Тэмдэглэсэн үед текстийн талбар дээрх өндрийг хадгалж, багтахгүй мөрүүд таслагдана. Тэмдэглээгүй үед текстийн өндөртэй тэнцүү.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3879,24 +3879,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Bredde (fast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Høyde (fast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Avkrysset beholder tekstfeltet denne bredden, og teksten brytes inni det. Ikke avkrysset er det like bredt som teksten.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Høyde</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Avkrysset beholder tekstfeltet denne høyden, og linjer som ikke får plass, kuttes. Ikke avkrysset er det like høyt som teksten.</translation>
<source>Width fixed</source>
<translation>Fast bredde</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Fast høyde</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Avkrysset beholder tekstfeltet bredden over, og teksten brytes inni det. Ikke avkrysset er det like bredt som teksten.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Avkrysset beholder tekstfeltet høyden over, og linjer som ikke får plass, kuttes. Ikke avkrysset er det like høyt som teksten.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3876,24 +3876,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Breedte (vast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Hoogte (vast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Aangevinkt houdt het tekstveld deze breedte en loopt de tekst erin door. Niet aangevinkt is het zo breed als de tekst.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Hoogte</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Aangevinkt houdt het tekstveld deze hoogte en worden regels die niet passen afgesneden. Niet aangevinkt is het zo hoog als de tekst.</translation>
<source>Width fixed</source>
<translation>Vaste breedte</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Vaste hoogte</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Aangevinkt houdt het tekstveld de breedte hierboven en loopt de tekst erin door. Niet aangevinkt is het zo breed als de tekst.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Aangevinkt houdt het tekstveld de hoogte hierboven en worden regels die niet passen afgesneden. Niet aangevinkt is het zo hoog als de tekst.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3896,24 +3896,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Breedte (vast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Hoogte (vast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Aangevinkt houdt het tekstveld deze breedte en loopt de tekst erin door. Niet aangevinkt is het zo breed als de tekst.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Hoogte</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Aangevinkt houdt het tekstveld deze hoogte en worden regels die niet passen afgesneden. Niet aangevinkt is het zo hoog als de tekst.</translation>
<source>Width fixed</source>
<translation>Vaste breedte</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Vaste hoogte</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Aangevinkt houdt het tekstveld de breedte hierboven en loopt de tekst erin door. Niet aangevinkt is het zo breed als de tekst.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Aangevinkt houdt het tekstveld de hoogte hierboven en worden regels die niet passen afgesneden. Niet aangevinkt is het zo hoog als de tekst.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -2698,24 +2698,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Breedte (vast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Hoogte (vast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Aangevinkt houdt het tekstveld deze breedte en loopt de tekst erin door. Niet aangevinkt is het zo breed als de tekst.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Hoogte</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Aangevinkt houdt het tekstveld deze hoogte en worden regels die niet passen afgesneden. Niet aangevinkt is het zo hoog als de tekst.</translation>
<source>Width fixed</source>
<translation>Vaste breedte</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Vaste hoogte</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Aangevinkt houdt het tekstveld de breedte hierboven en loopt de tekst erin door. Niet aangevinkt is het zo breed als de tekst.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Aangevinkt houdt het tekstveld de hoogte hierboven en worden regels die niet passen afgesneden. Niet aangevinkt is het zo hoog als de tekst.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3871,24 +3871,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Bredde (fast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Høyde (fast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Avkrysset beholder tekstfeltet denne bredden, og teksten brytes inni det. Ikke avkrysset er det like bredt som teksten.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Høyde</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Avkrysset beholder tekstfeltet denne høyden, og linjer som ikke får plass, kuttes. Ikke avkrysset er det like høyt som teksten.</translation>
<source>Width fixed</source>
<translation>Fast bredde</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Fast høyde</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Avkrysset beholder tekstfeltet bredden over, og teksten brytes inni det. Ikke avkrysset er det like bredt som teksten.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Avkrysset beholder tekstfeltet høyden over, og linjer som ikke får plass, kuttes. Ikke avkrysset er det like høyt som teksten.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3936,24 +3936,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Szerokość (stała)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Wysokość (stała)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Zaznaczone: pole tekstowe zachowuje tę szerokość, a tekst jest w nim zawijany. Niezaznaczone: jest tak szerokie jak tekst.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Wysokość</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Zaznaczone: pole tekstowe zachowuje tę wysokość, a wiersze, które się nie mieszczą, są obcinane. Niezaznaczone: jest tak wysokie jak tekst.</translation>
<source>Width fixed</source>
<translation>Stała szerokość</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Stała wysokość</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Zaznaczone: pole tekstowe zachowuje szerokość powyżej, a tekst jest w nim zawijany. Niezaznaczone: jest tak szerokie jak tekst.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Zaznaczone: pole tekstowe zachowuje wysokość powyżej, a wiersze, które się nie mieszczą, są obcinane. Niezaznaczone: jest tak wysokie jak tekst.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3897,24 +3897,29 @@ Mantenha Shift premido e arraste para mover este texto sozinho</translation>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Largura (fixa)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Altura (fixa)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Marcado, o campo de texto mantém esta largura e o texto quebra dentro dele. Desmarcado, é tão largo como o texto.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Altura</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Marcado, o campo de texto mantém esta altura e as linhas que não cabem são cortadas. Desmarcado, é tão alto como o texto.</translation>
<source>Width fixed</source>
<translation>Largura fixa</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Altura fixa</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Marcado, o campo de texto mantém a largura acima e o texto quebra dentro dele. Desmarcado, é tão largo como o texto.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Marcado, o campo de texto mantém a altura acima e as linhas que não cabem são cortadas. Desmarcado, é tão alto como o texto.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3896,24 +3896,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Largura (fixa)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Altura (fixa)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Marcado, o campo de texto mantém esta largura e o texto quebra dentro dele. Desmarcado, é tão largo quanto o texto.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Altura</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Marcado, o campo de texto mantém esta altura e as linhas que não cabem são cortadas. Desmarcado, é tão alto quanto o texto.</translation>
<source>Width fixed</source>
<translation>Largura fixa</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Altura fixa</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Marcado, o campo de texto mantém a largura acima e o texto quebra dentro dele. Desmarcado, é tão largo quanto o texto.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Marcado, o campo de texto mantém a altura acima e as linhas que não cabem são cortadas. Desmarcado, é tão alto quanto o texto.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3895,24 +3895,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Lățime (fixă)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Înălțime (fixă)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Bifat, câmpul de text păstrează această lățime și textul se încadrează în el. Nebifat, este cât textul de lat.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Înălțime</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Bifat, câmpul de text păstrează această înălțime și rândurile care nu încap sunt tăiate. Nebifat, este cât textul de înalt.</translation>
<source>Width fixed</source>
<translation>Lățime fixă</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Înălțime fixă</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Bifat, câmpul de text păstrează lățimea de deasupra și textul se încadrează în el. Nebifat, este cât textul de lat.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Bifat, câmpul de text păstrează înălțimea de deasupra și rândurile care nu încap sunt tăiate. Nebifat, este cât textul de înalt.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3895,24 +3895,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Širina (fiksna)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Visina (fiksna)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Označeno: tekstualno polje zadržava ovu širinu i tekst se u njemu prelama. Neoznačeno: široko je koliko i tekst.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Visina</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Označeno: tekstualno polje zadržava ovu visinu, a redovi koji ne stanu se odsecaju. Neoznačeno: visoko je koliko i tekst.</translation>
<source>Width fixed</source>
<translation>Fiksna širina</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Fiksna visina</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Označeno: tekstualno polje zadržava gornju širinu i tekst se u njemu prelama. Neoznačeno: široko je koliko i tekst.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Označeno: tekstualno polje zadržava gornju visinu, a redovi koji ne stanu se odsecaju. Neoznačeno: visoko je koliko i tekst.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3933,24 +3933,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Ширина (фиксированная)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Высота (фиксированная)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Если отмечено, текстовое поле сохраняет эту ширину, и текст переносится внутри него. Если не отмечено, поле по ширине текста.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Высота</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Если отмечено, текстовое поле сохраняет эту высоту, а не поместившиеся строки обрезаются. Если не отмечено, поле по высоте текста.</translation>
<source>Width fixed</source>
<translation>Фиксированная ширина</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Фиксированная высота</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Если отмечено, текстовое поле сохраняет ширину выше, и текст переносится внутри него. Если не отмечено, поле по ширине текста.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Если отмечено, текстовое поле сохраняет высоту выше, а не поместившиеся строки обрезаются. Если не отмечено, поле по высоте текста.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3913,24 +3913,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Šírka (pevná)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Výška (pevná)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Začiarknuté: textové pole si drží túto šírku a text sa v ňom zalamuje. Nezačiarknuté: je široké ako text.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Výška</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Začiarknuté: textové pole si drží túto výšku a riadky, ktoré sa nezmestia, sa orežú. Nezačiarknuté: je vysoké ako text.</translation>
<source>Width fixed</source>
<translation>Pevná šírka</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Pevná výška</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Začiarknuté: textové pole si drží šírku vyššie a text sa v ňom zalamuje. Nezačiarknuté: je široké ako text.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Začiarknuté: textové pole si drží výšku vyššie a riadky, ktoré sa nezmestia, sa orežú. Nezačiarknuté: je vysoké ako text.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3919,24 +3919,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Širina (fiksna)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Višina (fiksna)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Označeno: besedilno polje ohrani to širino in besedilo se v njem prelamlja. Neoznačeno: je široko kot besedilo.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Višina</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Označeno: besedilno polje ohrani to višino, vrstice, ki ne gredo vanj, se odrežejo. Neoznačeno: je visoko kot besedilo.</translation>
<source>Width fixed</source>
<translation>Fiksna širina</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Fiksna višina</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Označeno: besedilno polje ohrani zgornjo širino in besedilo se v njem prelamlja. Neoznačeno: je široko kot besedilo.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Označeno: besedilno polje ohrani zgornjo višino, vrstice, ki ne gredo vanj, se odrežejo. Neoznačeno: je visoko kot besedilo.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3895,24 +3895,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Ширина (фиксна)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Висина (фиксна)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Означено: текстуално поље задржава ову ширину и текст се у њему прелама. Неозначено: широко је колико и текст.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Висина</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Означено: текстуално поље задржава ову висину, а редови који не стану се одсецају. Неозначено: високо је колико и текст.</translation>
<source>Width fixed</source>
<translation>Фиксна ширина</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Фиксна висина</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Означено: текстуално поље задржава горњу ширину и текст се у њему прелама. Неозначено: широко је колико и текст.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Означено: текстуално поље задржава горњу висину, а редови који не стану се одсецају. Неозначено: високо је колико и текст.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3876,24 +3876,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Bredd (fast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Höjd (fast)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Markerat behåller textfältet denna bredd och texten radbryts i det. Omarkerat är det lika brett som texten.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Höjd</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Markerat behåller textfältet denna höjd och rader som inte får plats skärs av. Omarkerat är det lika högt som texten.</translation>
<source>Width fixed</source>
<translation>Fast bredd</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Fast höjd</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Markerat behåller textfältet bredden ovan och texten radbryts i det. Omarkerat är det lika brett som texten.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Markerat behåller textfältet höjden ovan och rader som inte får plats skärs av. Omarkerat är det lika högt som texten.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3875,24 +3875,29 @@ Bu metni tek başına taşımak için Shift tuşunu basılı tutup sürükleyin<
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Genişlik (sabit)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Yükseklik (sabit)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>İşaretliyse metin alanı bu genişliği korur ve metin içinde kaydırılır. İşaretli değilse metin kadar geniştir.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Yükseklik</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>İşaretliyse metin alanı bu yüksekliği korur ve sığmayan satırlar kesilir. İşaretli değilse metin kadar yüksektir.</translation>
<source>Width fixed</source>
<translation>Sabit genişlik</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Sabit yükseklik</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>İşaretliyse metin alanı yukarıdaki genişliği korur ve metin içinde kaydırılır. İşaretli değilse metin kadar geniştir.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>İşaretliyse metin alanı yukarıdaki yüksekliği korur ve sığmayan satırlar kesilir. İşaretli değilse metin kadar yüksektir.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3923,24 +3923,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>Ширина (фіксована)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>Висота (фіксована)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Якщо позначено, текстове поле зберігає цю ширину, і текст переноситься всередині. Якщо ні, поле за шириною тексту.</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>Висота</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Якщо позначено, текстове поле зберігає цю висоту, а рядки, що не вміщуються, обрізаються. Якщо ні, поле за висотою тексту.</translation>
<source>Width fixed</source>
<translation>Фіксована ширина</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>Фіксована висота</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>Якщо позначено, текстове поле зберігає ширину вище, і текст переноситься всередині. Якщо ні, поле за шириною тексту.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>Якщо позначено, текстове поле зберігає висоту вище, а рядки, що не вміщуються, обрізаються. Якщо ні, поле за висотою тексту.</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3866,24 +3866,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>宽度(固定)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>高度(固定)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>勾选后文本框保持此宽度,文本在其中换行。不勾选时与文本同宽。</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>高度</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>勾选后文本框保持此高度,放不下的行被截断。不勾选时与文本同高。</translation>
<source>Width fixed</source>
<translation>固定宽度</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>固定高度</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>勾选后文本框保持上面的宽度,文本在其中换行。不勾选时与文本同宽。</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>勾选后文本框保持上面的高度,放不下的行被截断。不勾选时与文本同高。</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+20 -15
View File
@@ -3866,24 +3866,29 @@ Hold Shift and drag to move this text on its own</source>
<context>
<name>DynamicElementTextModel</name>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="309"/>
<source>Width (fixed)</source>
<translation>寬度(固定)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="325"/>
<source>Height (fixed)</source>
<translation>高度(固定)</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="311"/>
<source>Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>勾選後文字框保持此寬度,文字在其中換行。不勾選時與文字同寬。</translation>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height</source>
<translation>高度</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="327"/>
<source>Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>勾選後文字框保持此高度,放不下的行會被截斷。不勾選時與文字同高。</translation>
<source>Width fixed</source>
<translation>固定寬度</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="330"/>
<source>Height fixed</source>
<translation>固定高度</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="328"/>
<source>Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text.</source>
<translation>勾選後文字框保持上方的寬度,文字在其中換行。不勾選時與文字同寬。</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="331"/>
<source>Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text.</source>
<translation>勾選後文字框保持上方的高度,放不下的行會被截斷。不勾選時與文字同高。</translation>
</message>
<message>
<location filename="../sources/ui/dynamicelementtextmodel.cpp" line="649"/>
+90 -62
View File
@@ -48,12 +48,14 @@ static int font_txt_row = 5;
static int color_txt_row = 6;
static int frame_txt_row = 7;
static int width_txt_row = 8;
static int height_txt_row = 9;
static int x_txt_row = 10;
static int y_txt_row = 11;
static int rot_txt_row = 12;
static int keep_rot_row = 13;
static int align_txt_row = 14;
static int width_fix_row = 9;
static int height_txt_row = 10;
static int height_fix_row = 11;
static int x_txt_row = 12;
static int y_txt_row = 13;
static int rot_txt_row = 14;
static int keep_rot_row = 15;
static int align_txt_row = 16;
static int align_grp_row = 0;
static int x_grp_row = 1;
@@ -98,24 +100,36 @@ DynamicElementTextModel::~DynamicElementTextModel()
}
/**
@brief setSizeItems
Show the width and the height of @a deti: ticked with the size set
when it is fixed, not ticked with the size the field has now when it
follows the text, so that ticking it fixes what one sees.
@brief setSizeItem
Show one size of a text, width or height, on two rows: the value, and
whether it is fixed. Fixed, the value is the size set, and it can be
edited. Not fixed, the field follows the text: the value shows the
size it has now, ready to be fixed, and cannot be edited.
@param value : the row of the value
@param fixed : the row of the tick box
@param size : the size set, -1 when not fixed
@param now : the size the field has now
*/
static void setSizeItems(QStandardItem *width, QStandardItem *height, DynamicElementTextItem *deti)
static void setSizeItem(QStandardItem *value, QStandardItem *fixed, qreal size, qreal now)
{
if (!value || !fixed)
return;
const bool is_fixed = size > 0;
fixed->setCheckState(is_fixed ? Qt::Checked : Qt::Unchecked);
value->setData(qRound(is_fixed ? size : now), Qt::EditRole);
Qt::ItemFlags flags = Qt::ItemIsSelectable | Qt::ItemIsEnabled;
if (is_fixed)
flags |= Qt::ItemIsEditable;
value->setFlags(flags);
}
static void setSizeItems(QStandardItem *text_qsi, DynamicElementTextItem *deti)
{
const QRectF box = deti->boundingRect();
if (width) {
const bool fixed = deti->textWidth() > 0;
width->setCheckState(fixed ? Qt::Checked : Qt::Unchecked);
width->setData(qRound(fixed ? deti->textWidth() : box.width()), Qt::EditRole);
}
if (height) {
const bool fixed = deti->textHeight() > 0;
height->setCheckState(fixed ? Qt::Checked : Qt::Unchecked);
height->setData(qRound(fixed ? deti->textHeight() : box.height()), Qt::EditRole);
}
setSizeItem(text_qsi->child(width_txt_row, 1), text_qsi->child(width_fix_row, 1),
deti->textWidth(), box.width());
setSizeItem(text_qsi->child(height_txt_row, 1), text_qsi->child(height_fix_row, 1),
deti->textHeight(), box.height());
}
/**
@@ -303,41 +317,45 @@ QList<QStandardItem *> DynamicElementTextModel::itemsForText(
qsi_list << frame << frame_a;
qsi->appendRow(qsi_list);
//Width and height: ticked, the field keeps the size given beside
//it; not ticked, it follows the text, and the size shown is the
//one it has now, ready to be fixed
QStandardItem *width = new QStandardItem(tr("Width (fixed)"));
width->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
width->setToolTip(tr("Ticked, the text field keeps this width and the text wraps inside it. Not ticked, it is as wide as the text."));
QStandardItem *width_a = new QStandardItem;
width_a->setCheckable(true);
width_a->setData(DynamicElementTextModel::textWidth, Qt::UserRole+1);
width_a->setFlags(Qt::ItemIsSelectable
| Qt::ItemIsEnabled
| Qt::ItemIsEditable
| Qt::ItemIsUserCheckable);
qsi_list.clear();
qsi_list << width << width_a;
qsi->appendRow(qsi_list);
//Width and height, each on two rows: the value, and whether it
//is fixed. Not fixed, the field follows the text and the value
//only shows the size it has now.
const struct {
QString name, fixed_name, tip;
int value_type, fixed_type;
} sizes[] = {
{tr("Width"), tr("Width fixed"),
tr("Ticked, the text field keeps the width above and the text wraps inside it. Not ticked, it is as wide as the text."),
DynamicElementTextModel::textWidth, DynamicElementTextModel::textWidthFixed},
{tr("Height"), tr("Height fixed"),
tr("Ticked, the text field keeps the height above and the lines that do not fit are cut off. Not ticked, it is as high as the text."),
DynamicElementTextModel::textHeight, DynamicElementTextModel::textHeightFixed}
};
for (const auto &size : sizes)
{
QStandardItem *name = new QStandardItem(size.name);
name->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
QStandardItem *value = new QStandardItem;
value->setData(size.value_type, Qt::UserRole+1);
qsi_list.clear();
qsi_list << name << value;
qsi->appendRow(qsi_list);
QStandardItem *height = new QStandardItem(tr("Height (fixed)"));
height->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
height->setToolTip(tr("Ticked, the text field keeps this height and the lines that do not fit are cut off. Not ticked, it is as high as the text."));
QStandardItem *height_a = new QStandardItem;
height_a->setCheckable(true);
height_a->setData(DynamicElementTextModel::textHeight, Qt::UserRole+1);
height_a->setFlags(Qt::ItemIsSelectable
| Qt::ItemIsEnabled
| Qt::ItemIsEditable
| Qt::ItemIsUserCheckable);
qsi_list.clear();
qsi_list << height << height_a;
qsi->appendRow(qsi_list);
setSizeItems(width_a, height_a, deti);
QStandardItem *fixed_name = new QStandardItem(size.fixed_name);
fixed_name->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
fixed_name->setToolTip(size.tip);
QStandardItem *fixed = new QStandardItem;
fixed->setCheckable(true);
fixed->setToolTip(size.tip);
fixed->setData(size.fixed_type, Qt::UserRole+1);
fixed->setFlags(Qt::ItemIsSelectable
| Qt::ItemIsEnabled
| Qt::ItemIsUserCheckable);
qsi_list.clear();
qsi_list << fixed_name << fixed;
qsi->appendRow(qsi_list);
}
setSizeItems(qsi, deti);
if(deti->parentGroup() == nullptr)
{
@@ -630,9 +648,8 @@ QUndoCommand *DynamicElementTextModel::undoForEditedText(
quc->setText(tr("Modify the frame of an element text"));
}
QStandardItem *width_item = text_qsi->child(width_txt_row, 1);
qreal text_width = width_item->checkState() == Qt::Checked
? width_item->data(Qt::EditRole).toDouble() : -1;
qreal text_width = text_qsi->child(width_fix_row, 1)->checkState() == Qt::Checked
? text_qsi->child(width_txt_row, 1)->data(Qt::EditRole).toDouble() : -1;
if(text_width != deti->textWidth())
{
QPropertyUndoCommand *quc = new QPropertyUndoCommand(deti, "textWidth", QVariant(deti->textWidth()), QVariant(text_width), undo);
@@ -640,9 +657,8 @@ QUndoCommand *DynamicElementTextModel::undoForEditedText(
quc->setText(tr("Change the width of an element text"));
}
QStandardItem *height_item = text_qsi->child(height_txt_row, 1);
qreal text_height = height_item->checkState() == Qt::Checked
? height_item->data(Qt::EditRole).toDouble() : -1;
qreal text_height = text_qsi->child(height_fix_row, 1)->checkState() == Qt::Checked
? text_qsi->child(height_txt_row, 1)->data(Qt::EditRole).toDouble() : -1;
if(text_height != deti->textHeight())
{
QPropertyUndoCommand *quc = new QPropertyUndoCommand(deti, "textHeight", QVariant(deti->textHeight()), QVariant(text_height), undo);
@@ -1394,6 +1410,18 @@ void DynamicElementTextModel::itemDataChanged(QStandardItem *qsi)
QString text = qsi->data(Qt::DisplayRole).toString();
text_qsi->setData(text, Qt::DisplayRole);
}
else if (qsi->data().toInt() == textWidthFixed || qsi->data().toInt() == textHeightFixed)
{
//The value can be edited as soon as it is fixed
const int row = qsi->data().toInt() == textWidthFixed ? width_txt_row : height_txt_row;
if (QStandardItem *value = text_qsi->child(row, 1)) {
Qt::ItemFlags flags = Qt::ItemIsSelectable | Qt::ItemIsEnabled;
if (qsi->checkState() == Qt::Checked)
flags |= Qt::ItemIsEditable;
if (value->flags() != flags)
value->setFlags(flags);
}
}
else if (qsi->data().toInt() == infoText && deti->elementUseForInfo())
{
QString info = qsi->data(Qt::UserRole+2).toString();
@@ -1582,7 +1610,7 @@ void DynamicElementTextModel::updateDataFromText(DynamicElementTextItem *deti,
case textWidth:
case textHeight:
{
setSizeItems(qsi->child(width_txt_row,1), qsi->child(height_txt_row,1), deti);
setSizeItems(qsi, deti);
break;
}
default:break;
+2
View File
@@ -53,7 +53,9 @@ class DynamicElementTextModel : public QStandardItemModel
rotation,
keepVisualRotation,
textWidth,
textWidthFixed,
textHeight,
textHeightFixed,
grpAlignment,
grpPos,
grpRotation,
+22 -14
View File
@@ -2,9 +2,10 @@
// Width and height of a symbol's text, each fixed or not, linked against
// the application's objects.
//
// In the text's properties, "Width (fixed)" and "Height (fixed)" each
// carry a tick box. Not ticked, the field follows the text and shows the
// size it has now; ticked, it keeps the size beside the box. A fixed
// In the text's properties, width and height each take two rows: the
// value, and "fixed" with a tick box. Not fixed, the field follows the
// text, and the value shows the size it has now and cannot be edited;
// fixed, the field keeps the value, which can then be edited. A fixed
// height cuts off the lines that do not fit, to shorten a text where
// room is short: they are neither drawn nor picked. Both are saved with
// the text and undone as any other change.
@@ -70,29 +71,35 @@ int main(int argc, char **argv)
text->setTextWidth(-1);
text->setTextHeight(-1);
// The properties: not ticked, the size the field has now.
// The properties: not fixed, the size the field has now, read only.
DynamicElementTextModel model(element);
QStandardItem *width = cell(model, text, DynamicElementTextModel::textWidth);
QStandardItem *width_fixed = cell(model, text, DynamicElementTextModel::textWidthFixed);
QStandardItem *height = cell(model, text, DynamicElementTextModel::textHeight);
check(width->isCheckable() && width->checkState() == Qt::Unchecked, "width not fixed: not ticked");
check(height->isCheckable() && height->checkState() == Qt::Unchecked, "height not fixed: not ticked");
QStandardItem *height_fixed = cell(model, text, DynamicElementTextModel::textHeightFixed);
check(width_fixed->isCheckable() && width_fixed->checkState() == Qt::Unchecked, "width not fixed: not ticked");
check(height_fixed->isCheckable() && height_fixed->checkState() == Qt::Unchecked, "height not fixed: not ticked");
check(!width->isCheckable() && !height->isCheckable(), "the values are rows of their own, without a tick box");
check(qAbs(width->data(Qt::EditRole).toDouble() - text->boundingRect().width()) <= 1,
"it shows the width the field has now");
"the width shows the size the field has now");
check(!(width->flags() & Qt::ItemIsEditable) && !(height->flags() & Qt::ItemIsEditable),
"and cannot be edited while not fixed");
// Fix the width at 50: the text wraps onto more lines.
// Fix the width: the value can be edited at once; at 50 the text wraps.
const qreal one_line = text->boundingRect().height();
width_fixed->setCheckState(Qt::Checked);
check(width->flags() & Qt::ItemIsEditable, "ticking fixed makes the width editable at once");
width->setData(50, Qt::EditRole);
width->setCheckState(Qt::Checked);
scene->undoStack().push(model.undoForEditedText(text));
check(qFuzzyCompare(text->textWidth(), 50), "ticked, the width is fixed at the value beside it");
check(qFuzzyCompare(text->textWidth(), 50), "fixed, the width is the value above");
const qreal wrapped = text->boundingRect().height();
check(wrapped > one_line * 2, "the text wraps inside it");
// Fix the height at one line: the other lines are cut off.
height_fixed->setCheckState(Qt::Checked);
height->setData(qRound(one_line), Qt::EditRole);
height->setCheckState(Qt::Checked);
scene->undoStack().push(model.undoForEditedText(text));
check(qFuzzyCompare(text->textHeight(), qRound(one_line)), "ticked, the height is fixed");
check(qFuzzyCompare(text->textHeight(), qRound(one_line)), "fixed, the height is the value above");
check(qAbs(text->boundingRect().height() - qRound(one_line)) < 0.01, "the field keeps that height");
const QPointF below(text->boundingRect().center().x(), wrapped - 2);
check(!text->contains(below) && !text->shape().contains(below), "the lines cut off are not picked");
@@ -110,9 +117,10 @@ int main(int argc, char **argv)
scene->undoStack().undo();
check(text->textHeight() < 0 && qAbs(text->boundingRect().height() - wrapped) < 0.01,
"undo gives the text its full height back");
check(cell(model, text, DynamicElementTextModel::textHeight)->checkState() == Qt::Unchecked,
check(cell(model, text, DynamicElementTextModel::textHeightFixed)->checkState() == Qt::Unchecked
&& !(cell(model, text, DynamicElementTextModel::textHeight)->flags() & Qt::ItemIsEditable),
"and the properties show it not fixed");
width->setCheckState(Qt::Unchecked);
width_fixed->setCheckState(Qt::Unchecked);
scene->undoStack().push(model.undoForEditedText(text));
check(text->textWidth() < 0, "not ticked, the width follows the text again");
check(!text->toXml(doc).hasAttribute("text_height"), "a height that follows the text is not written");