mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-25 23:54:22 +01:00
Grid: snap switched on and off, and a fine, medium or coarse step
View > Snap to the grid (Ctrl+Shift+G, and on the Display toolbar) switches the snap off and on for everything that snaps: the pointer and crosshair, what is moved or placed, texts. Off, they go to the nearest point, as with Ctrl held. The choice is kept in the settings. View > Grid step, also a button on the Display toolbar, sets the step of the grid for both directions: Fine (5), Medium (10) or Coarse (20), Ctrl+Alt+1, 2 and 3. Blocks can be lined up on a coarse grid and worked out on a fine one. The button shows the step in use, also one set by hand in the settings. tst_gridsnap checks both, through the actions and their shortcuts. Translations for all languages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3698,6 +3698,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished">لون الموصل</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>خطوة الشبكة</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14150,6 +14155,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<comment>message box title</comment>
|
||||
<translation>خطأ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>الالتقاط إلى الشبكة</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>يلتقط المؤشر وما يُنقل أو يوضع إلى الشبكة؛ عند الإيقاف إلى أقرب نقطة</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>خطوة الشبكة</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>خطوة الشبكة التي تلتقط إليها الرموز والموصلات والمؤشر</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>دقيقة (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>متوسطة (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>خشنة (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>الشبكة %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>الشبكة %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3621,6 +3621,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>Color del conductor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Pas de la graella</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14208,6 +14213,51 @@ Retireu els ponts i/o elimineu els nivells dels borns afectats per tal de poder-
|
||||
<comment>edit selected item</comment>
|
||||
<translation>Edita l'objecte seleccionat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Ajusta a la graella</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Ajusta el punter i el que es mou o es col·loca a la graella; desactivat, al punt més proper</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Pas de la graella</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>El pas de la graella al qual s'ajusten símbols, conductors i el punter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fi (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Mitjà (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Gruixut (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Graella %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Graella %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3647,6 +3647,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>Barva vodiče</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Krok mřížky</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14230,6 +14235,51 @@ Chcete-li z něj vytvořit skript, požádejte svého asistenta AI: tlačítko n
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Spustí předchozí projekt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Přichytávat k mřížce</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Přichytí ukazatel a to, co se přesouvá nebo vkládá, k mřížce; vypnuto: k nejbližšímu bodu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Krok mřížky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Krok mřížky, ke kterému se přichytávají značky, vodiče a ukazatel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Jemný (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Střední (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Hrubý (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Mřížka %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Mřížka %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3603,6 +3603,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished">Leder farve</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Gittertrin</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14039,6 +14044,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Aktiver foregående projekt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Fang til gitteret</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Fanger markøren og det, der flyttes eller placeres, til gitteret; slået fra: til nærmeste punkt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Gittertrin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Gittertrinnet som symboler, ledere og markøren fanges til</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fint (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Mellem (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Groft (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Gitter %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Gitter %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3624,6 +3624,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>Leiterfarbe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rasterstufe</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14195,6 +14200,51 @@ Um daraus ein Skript zu machen, bitten Sie Ihren KI-Assistenten: Die Schaltfläc
|
||||
<comment>message box title</comment>
|
||||
<translation>Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Am Raster fangen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Zeiger und alles, was verschoben oder platziert wird, am Raster fangen; aus: auf den nächsten Punkt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rasterstufe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Das Raster, an dem Symbole, Leiter und der Zeiger gefangen werden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fein (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Mittel (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grob (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Raster %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Raster %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3621,6 +3621,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>Χρώμα αγωγού</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Βήμα πλέγματος</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14152,6 +14157,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<comment>message box title</comment>
|
||||
<translation>Άνοιγμα του αρχείου μόνο για ανάγνωση</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Προσκόλληση στο πλέγμα</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Προσκολλά τον δείκτη και ό,τι μετακινείται ή τοποθετείται στο πλέγμα· ανενεργό: στο πλησιέστερο σημείο</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Βήμα πλέγματος</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Το βήμα του πλέγματος στο οποίο προσκολλώνται σύμβολα, αγωγοί και ο δείκτης</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Λεπτό (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Μεσαίο (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Αδρό (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Πλέγμα %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Πλέγμα %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3621,6 +3621,11 @@ Hold Shift and drag to move this text on its own</translation>
|
||||
<source>Conductor color</source>
|
||||
<translation>Conductor color</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Grid step</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14206,6 +14211,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Activates the previous project</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Snap to the grid</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Grid step</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>The step of the grid that symbols, conductors and the pointer snap to</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fine (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Medium (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Coarse (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Grid %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Grid %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3624,6 +3624,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>Color del conductor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Paso de cuadrícula</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14210,6 +14215,51 @@ Para convertirla en un script, pídaselo a su asistente de IA: el botón de abaj
|
||||
<comment>message box title</comment>
|
||||
<translation>Abriendo el proyecto en sólo lectura</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Ajustar a la cuadrícula</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Ajusta el puntero y lo que se mueve o coloca a la cuadrícula; desactivado, al punto más cercano</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Paso de cuadrícula</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>El paso de la cuadrícula al que se ajustan símbolos, conductores y el puntero</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fino (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Medio (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grueso (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Cuadrícula %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Cuadrícula %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3598,6 +3598,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Ruudukon väli</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -13808,6 +13813,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<source>Texts %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Kohdista ruudukkoon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Kohdistaa osoittimen ja siirrettävän tai sijoitettavan ruudukkoon; pois: lähimpään pisteeseen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Ruudukon väli</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Ruudukon väli, johon symbolit, johtimet ja osoitin kohdistuvat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Hieno (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Keskikoko (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Karkea (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Ruudukko %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Ruudukko %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3622,6 +3622,11 @@ Maintenir Maj et faire glisser pour déplacer ce texte seul</translation>
|
||||
<source>Conductor color</source>
|
||||
<translation>Couleur des conducteurs</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Pas de la grille</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14222,6 +14227,51 @@ Déponter et/ou supprimer les niveaux des bornes concerné afin de pouvoir les s
|
||||
<source>QElectroTech project(*.qet *.qetz);;XML Files (*.xml);;All files (*)</source>
|
||||
<translation type="vanished">Projets QElectroTech (*.qet *.qetz);;Fichiers XML (*.xml);;Tous les fichiers (*)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Aimanter à la grille</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Aimante le pointeur et ce qui est déplacé ou posé à la grille ; désactivé, au point le plus proche</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Pas de la grille</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Le pas de la grille sur lequel s'aimantent symboles, conducteurs et pointeur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fin (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Moyen (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grossier (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Grille %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Grille %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3621,6 +3621,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Korak rešetke</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -13915,6 +13920,51 @@ Unbridge and/or remove the levels from the affected terminals so that they can b
|
||||
<comment>message box title</comment>
|
||||
<translation type="unfinished">Greška</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Prihvati na rešetku</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Prihvaća pokazivač i ono što se pomiče ili postavlja na rešetku; isključeno: na najbližu točku</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Korak rešetke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Korak rešetke na koji se prihvaćaju simboli, vodiči i pokazivač</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fini (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Srednji (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grubi (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Rešetka %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Rešetka %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3603,6 +3603,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>Vezető színe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rácslépés</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14102,6 +14107,51 @@ Ha szkriptet szeretne készíteni belőle, kérje meg AI-asszisztensét: az alá
|
||||
<source>Texts %1</source>
|
||||
<translation>Szövegek %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Rácshoz illesztés</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>A mutatót és amit mozgatnak vagy elhelyeznek, a rácshoz illeszti; kikapcsolva a legközelebbi ponthoz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rácslépés</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>A rácslépés, amelyhez a szimbólumok, vezetékek és a mutató illeszkednek</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Finom (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Közepes (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Durva (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Rács %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Rács %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3621,6 +3621,11 @@ Tieni premuto Maiusc e trascina per spostare solo questo testo</translation>
|
||||
<source>Conductor color</source>
|
||||
<translation>Colore del conduttore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Passo della griglia</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14180,6 +14185,51 @@ Tieni premuto Ctrl durante lo spostamento per posizionare liberamente.</translat
|
||||
<source>Adds a text field to the current sheet</source>
|
||||
<translation>Aggiunge un campo di testo sulla pagina corrente</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Aggancia alla griglia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Aggancia il puntatore e ciò che viene spostato o posato alla griglia; disattivato, al punto più vicino</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Passo della griglia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Il passo della griglia a cui si agganciano simboli, conduttori e puntatore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fine (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Medio (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grossolano (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Griglia %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Griglia %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3594,6 +3594,11 @@ Shift を押しながらドラッグすると、このテキストだけを移
|
||||
<source>Conductor color</source>
|
||||
<translation>導体色</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>グリッド間隔</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14083,6 +14088,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<source>Texts %1</source>
|
||||
<translation>テキスト %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>グリッドにスナップ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>ポインターと移動・配置するものをグリッドにスナップします。オフでは最も近い点に</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>グリッド間隔</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>シンボル、導体、ポインターがスナップするグリッドの間隔</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>細かい (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>中 (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>粗い (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>グリッド %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>グリッド %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3594,6 +3594,11 @@ Shift를 누른 채 끌면 이 텍스트만 이동합니다</translation>
|
||||
<source>Conductor color</source>
|
||||
<translation>도선 색상</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>격자 간격</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14074,6 +14079,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<comment>status bar tip</comment>
|
||||
<translation>이전 프로젝트를 활성화합니다</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>격자에 맞추기</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>포인터와 이동하거나 놓는 것을 격자에 맞춥니다. 끄면 가장 가까운 점에</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>격자 간격</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>기호, 도체, 포인터가 맞춰지는 격자 간격</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>촘촘 (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>보통 (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>넓게 (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>격자 %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>격자 %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3605,6 +3605,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Торын алхам</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -13994,6 +13999,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<source>Texts %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Торонд барих</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Заагч болон зөөж, байрлуулж буйг торонд барина; унтраавал хамгийн ойр цэгт</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Торын алхам</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Тэмдэгт, дамжуулагч ба заагч барих торын алхам</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Нарийн (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Дунд (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Бүдүүн (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Тор %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Тор %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3606,6 +3606,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished">Lederfarge</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rutenettsteg</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14009,6 +14014,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<source>Texts %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Fest til rutenettet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Fester pekeren og det som flyttes eller plasseres til rutenettet; av: til nærmeste punkt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rutenettsteg</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Rutenettsteget som symboler, ledere og pekeren festes til</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fint (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Middels (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grovt (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Rutenett %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Rutenett %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3603,6 +3603,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished">Geleiderkleur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rasterstap</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14035,6 +14040,51 @@ They are not shown, but they are kept in the file as they are, and join their te
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Activeer vorig project</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Aan het raster vangen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Vangt de aanwijzer en wat verplaatst of geplaatst wordt aan het raster; uit: op het dichtstbijzijnde punt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rasterstap</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>De rasterstap waaraan symbolen, geleiders en de aanwijzer gevangen worden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fijn (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Middel (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grof (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Raster %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Raster %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3622,6 +3622,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>Kleur geleider</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rasterstap</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14185,6 +14190,51 @@ Vraag uw AI-assistent om er een script van te maken: de knop hieronder kopieert
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Activeert vorige project</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Aan het raster vangen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Vangt de aanwijzer en wat verplaatst of geplaatst wordt aan het raster; uit: op het dichtstbijzijnde punt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rasterstap</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>De rasterstap waaraan symbolen, geleiders en de aanwijzer gevangen worden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fijn (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Middel (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grof (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Raster %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Raster %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -2458,6 +2458,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rasterstap</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -11767,6 +11772,51 @@ Unbridge and/or remove the levels from the affected terminals so that they can b
|
||||
<comment>message box title</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Aan het raster vangen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Vangt de aanwijzer en wat verplaatst of geplaatst wordt aan het raster; uit: op het dichtstbijzijnde punt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rasterstap</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>De rasterstap waaraan symbolen, geleiders en de aanwijzer gevangen worden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fijn (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Middel (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grof (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Raster %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Raster %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3598,6 +3598,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rutenettsteg</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -13808,6 +13813,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<source>Texts %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Fest til rutenettet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Fester pekeren og det som flyttes eller plasseres til rutenettet; av: til nærmeste punkt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rutenettsteg</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Rutenettsteget som symboler, ledere og pekeren festes til</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fint (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Middels (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grovt (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Rutenett %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Rutenett %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3658,6 +3658,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>Kolor przewodów</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Krok siatki</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14319,6 +14324,51 @@ Aby zrobić z niego skrypt, poproś swojego asystenta AI: poniższy przycisk kop
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Uaktywnia poprzedni projekt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Przyciągaj do siatki</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Przyciąga wskaźnik i to, co jest przesuwane lub wstawiane, do siatki; wyłączone: do najbliższego punktu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Krok siatki</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Krok siatki, do którego przyciągane są symbole, przewody i wskaźnik</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Drobny (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Średni (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Gruby (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Siatka %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Siatka %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3623,6 +3623,11 @@ Mantenha Shift premido e arraste para mover este texto sozinho</translation>
|
||||
<source>Conductor color</source>
|
||||
<translation>Cor do condutor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Passo da grelha</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14077,6 +14082,51 @@ Remova as pontes e/ou os níveis dos terminais em causa para que possam ser elim
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Activa o projecto anterior</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Ajustar à grelha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Ajusta o ponteiro e o que é movido ou colocado à grelha; desligado, ao ponto mais próximo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Passo da grelha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>O passo da grelha a que se ajustam símbolos, condutores e o ponteiro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fino (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Médio (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grosso (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Grelha %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Grelha %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3622,6 +3622,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>Cor do condutor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Passo da grade</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14184,6 +14189,51 @@ Remova as pontes e/ou exclua os níveis dos terminais envolvidos para poder excl
|
||||
<comment>message box title</comment>
|
||||
<translation>Erro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Ajustar à grade</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Ajusta o ponteiro e o que é movido ou colocado à grade; desligado, ao ponto mais próximo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Passo da grade</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>O passo da grade ao qual se ajustam símbolos, condutores e o ponteiro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fino (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Médio (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grosso (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Grade %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Grade %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3621,6 +3621,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished">Culoare conductor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Pasul grilei</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -13929,6 +13934,51 @@ Unbridge and/or remove the levels from the affected terminals so that they can b
|
||||
<comment>edit selected item</comment>
|
||||
<translation>Editează obiectele selectate</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Aliniază la grilă</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Aliniază cursorul și ce se mută sau se plasează la grilă; oprit: la cel mai apropiat punct</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Pasul grilei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Pasul grilei la care se aliniază simbolurile, conductoarele și cursorul</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fin (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Mediu (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grosier (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Grilă %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Grilă %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3621,6 +3621,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Korak mreže</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -13867,6 +13872,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<source>Texts %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Prihvati na mrežu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Prihvata pokazivač i ono što se pomera ili postavlja na mrežu; isključeno: na najbližu tačku</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Korak mreže</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Korak mreže na koji se prihvataju simboli, provodnici i pokazivač</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fini (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Srednji (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grubi (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Mreža %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Mreža %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3657,6 +3657,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>Цвет провода</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Шаг сетки</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14313,6 +14318,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<comment>edit selected item</comment>
|
||||
<translation>Редактировать выбранный объект</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Привязка к сетке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Привязывать указатель и перемещаемое или размещаемое к сетке; выключено: к ближайшей точке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Шаг сетки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Шаг сетки, к которому привязываются символы, проводники и указатель</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Мелкий (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Средний (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Крупный (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Сетка %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Сетка %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3638,6 +3638,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>Farba vodiča</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Krok mriežky</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14096,6 +14101,51 @@ Ak z toho chcete vytvoriť skript, požiadajte o to svojho AI asistenta – tla
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Spustí predchádzajúci projekt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Prichytávať k mriežke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Prichytí ukazovateľ a to, čo sa presúva alebo vkladá, k mriežke; vypnuté: k najbližšiemu bodu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Krok mriežky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Krok mriežky, ku ktorému sa prichytávajú značky, vodiče a ukazovateľ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Jemný (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Stredný (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Hrubý (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Mriežka %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Mriežka %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3644,6 +3644,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Korak mreže</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -13926,6 +13931,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<source>Texts %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Pripni na mrežo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Pripne kazalec in kar se premika ali postavlja na mrežo; izklopljeno: na najbližjo točko</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Korak mreže</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Korak mreže, na katerega se pripenjajo simboli, vodniki in kazalec</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fin (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Srednji (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grob (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Mreža %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Mreža %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3621,6 +3621,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Корак мреже</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -13867,6 +13872,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<source>Texts %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Прихвати на мрежу</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Прихвата показивач и оно што се помера или поставља на мрежу; искључено: на најближу тачку</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Корак мреже</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Корак мреже на који се прихватају симболи, проводници и показивач</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Фини (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Средњи (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Груби (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Мрежа %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Мрежа %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3603,6 +3603,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rutnätssteg</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14040,6 +14045,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<source>Texts %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Fäst mot rutnätet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Fäster pekaren och det som flyttas eller placeras mot rutnätet; av: mot närmaste punkt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Rutnätssteg</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Rutnätssteget som symboler, ledare och pekaren fästs mot</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Fint (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Mellan (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Grovt (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Rutnät %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Rutnät %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3600,6 +3600,11 @@ Bu metni tek başına taşımak için Shift tuşunu basılı tutup sürükleyin<
|
||||
<source>Conductor color</source>
|
||||
<translation>İletken rengi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Izgara adımı</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14115,6 +14120,51 @@ Bundan bir betik yapmak için yapay zekâ asistanınıza sorun: aşağıdaki dü
|
||||
<source>Texts %1</source>
|
||||
<translation>Metinler %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Izgaraya yapış</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>İşaretçiyi ve taşınan ya da yerleştirileni ızgaraya yapıştırır; kapalıyken en yakın noktaya</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Izgara adımı</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Sembollerin, iletkenlerin ve işaretçinin yapıştığı ızgara adımı</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>İnce (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Orta (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Kaba (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Izgara %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Izgara %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3648,6 +3648,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>Колір провідника</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Крок сітки</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14269,6 +14274,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<source>Texts %1</source>
|
||||
<translation>Тексти %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>Прив'язка до сітки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>Прив'язувати вказівник і те, що переміщується чи розміщується, до сітки; вимкнено: до найближчої точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>Крок сітки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>Крок сітки, до якого прив'язуються символи, провідники і вказівник</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>Дрібний (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>Середній (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>Великий (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>Сітка %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>Сітка %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3593,6 +3593,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>导线颜色</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>网格步长</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14117,6 +14122,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<source>Texts %1</source>
|
||||
<translation>文本 %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>吸附到网格</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>将指针及移动或放置的对象吸附到网格;关闭时吸附到最近的点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>网格步长</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>符号、导线和指针吸附的网格步长</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>细 (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>中 (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>粗 (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>网格 %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>网格 %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
@@ -3593,6 +3593,11 @@ Hold Shift and drag to move this text on its own</source>
|
||||
<source>Conductor color</source>
|
||||
<translation>導線顏色</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/diagramtoolbarsettings.cpp" line="280"/>
|
||||
<source>Grid step</source>
|
||||
<translation>網格步長</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DiagramView</name>
|
||||
@@ -14117,6 +14122,51 @@ To make a script of it, ask your AI assistant: the button below copies the reque
|
||||
<source>Texts %1</source>
|
||||
<translation>文本 %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="702"/>
|
||||
<source>Snap to the grid</source>
|
||||
<translation>吸附到網格</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="705"/>
|
||||
<source>Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point</source>
|
||||
<translation>將指標及移動或放置的物件吸附到網格;關閉時吸附到最近的點</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="714"/>
|
||||
<source>Grid step</source>
|
||||
<translation>網格步長</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="720"/>
|
||||
<source>The step of the grid that symbols, conductors and the pointer snap to</source>
|
||||
<translation>符號、導線和指標吸附的網格步長</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="723"/>
|
||||
<source>Fine (5)</source>
|
||||
<translation>細 (5)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="724"/>
|
||||
<source>Medium (10)</source>
|
||||
<translation>中 (10)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="725"/>
|
||||
<source>Coarse (20)</source>
|
||||
<translation>粗 (20)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5125"/>
|
||||
<source>Grid %1</source>
|
||||
<translation>網格 %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="5126"/>
|
||||
<source>Grid %1 × %2</source>
|
||||
<translation>網格 %1 × %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QETElementEditor</name>
|
||||
|
||||
+23
-3
@@ -3603,7 +3603,7 @@ QPointF Diagram::snapToGrid(const QPointF &p)
|
||||
const int yGrid = FolioGrid::step(settings.value(FolioGrid::y_key), Diagram::yGrid);
|
||||
|
||||
//Return a point rounded to the nearest pixel
|
||||
if (QApplication::keyboardModifiers().testFlag(Qt::ControlModifier))
|
||||
if (!gridSnap() || QApplication::keyboardModifiers().testFlag(Qt::ControlModifier))
|
||||
{
|
||||
int p_x = qRound(p.x());
|
||||
int p_y = qRound(p.y());
|
||||
@@ -3616,10 +3616,30 @@ QPointF Diagram::snapToGrid(const QPointF &p)
|
||||
return (QPointF(p_x, p_y));
|
||||
}
|
||||
|
||||
namespace {
|
||||
/// -1 until read from the settings
|
||||
int s_grid_snap = -1;
|
||||
const QString grid_snap_key = QStringLiteral("diagrameditor/grid_snap");
|
||||
}
|
||||
|
||||
bool Diagram::gridSnap()
|
||||
{
|
||||
if (s_grid_snap < 0)
|
||||
s_grid_snap = QSettings().value(grid_snap_key, true).toBool() ? 1 : 0;
|
||||
return s_grid_snap == 1;
|
||||
}
|
||||
|
||||
void Diagram::setGridSnap(bool snap)
|
||||
{
|
||||
s_grid_snap = snap ? 1 : 0;
|
||||
QSettings().setValue(grid_snap_key, snap);
|
||||
}
|
||||
|
||||
/**
|
||||
@brief Diagram::snapToTextGrid
|
||||
Return the nearest point of p on the text grid, see TextGrid.
|
||||
Ctrl held rounds to the nearest pixel instead, as snapToGrid() does.
|
||||
Ctrl held, or the snap switched off, rounds to the nearest pixel
|
||||
instead, as snapToGrid() does.
|
||||
@param p point to find the nearest snapped point
|
||||
@return
|
||||
*/
|
||||
@@ -3627,7 +3647,7 @@ QPointF Diagram::snapToTextGrid(const QPointF &p)
|
||||
{
|
||||
QSettings settings;
|
||||
const qreal divisor =
|
||||
QApplication::keyboardModifiers().testFlag(Qt::ControlModifier)
|
||||
!gridSnap() || QApplication::keyboardModifiers().testFlag(Qt::ControlModifier)
|
||||
? 0
|
||||
: settings.value(TextGrid::settings_key, 1).toReal();
|
||||
|
||||
|
||||
@@ -323,6 +323,11 @@ class Diagram : public QGraphicsScene
|
||||
BorderOptions borderOptions();
|
||||
DiagramPosition convertPosition(const QPointF &);
|
||||
static QPointF snapToGrid(const QPointF &p);
|
||||
/// Snap to the grid on (the default) or off: off, snapToGrid()
|
||||
/// gives the nearest point, as with Ctrl held. Kept in the
|
||||
/// settings.
|
||||
static bool gridSnap();
|
||||
static void setGridSnap(bool snap);
|
||||
static QPointF snapToTextGrid(const QPointF &p);
|
||||
|
||||
bool drawTerminals() const;
|
||||
|
||||
@@ -183,6 +183,8 @@ QStringList DiagramToolbarSettings::defaultIds(const QString &name)
|
||||
QStringLiteral("widget:handler_size"),
|
||||
sep,
|
||||
QStringLiteral("diagrameditor.draw_grid"),
|
||||
QStringLiteral("diagrameditor.grid_snap"),
|
||||
QStringLiteral("widget:grid_step"),
|
||||
QStringLiteral("widget:text_grid"),
|
||||
QStringLiteral("diagrameditor.draw_guides"),
|
||||
QStringLiteral("widget:background_color"),
|
||||
@@ -260,6 +262,7 @@ QString DiagramToolbarSettings::separatorId()
|
||||
QStringList DiagramToolbarSettings::widgetIds()
|
||||
{
|
||||
return {QStringLiteral("widget:handler_size"),
|
||||
QStringLiteral("widget:grid_step"),
|
||||
QStringLiteral("widget:text_grid"),
|
||||
QStringLiteral("widget:background_color"),
|
||||
QStringLiteral("widget:conductor_color")};
|
||||
@@ -274,6 +277,8 @@ QString DiagramToolbarSettings::widgetTitle(const QString &id)
|
||||
{
|
||||
if (id == QLatin1String("widget:handler_size"))
|
||||
return QCoreApplication::translate("DiagramToolbarSettings", "Handle size");
|
||||
if (id == QLatin1String("widget:grid_step"))
|
||||
return QCoreApplication::translate("DiagramToolbarSettings", "Grid step");
|
||||
if (id == QLatin1String("widget:text_grid"))
|
||||
return QCoreApplication::translate("DiagramToolbarSettings", "Text grid");
|
||||
if (id == QLatin1String("widget:background_color"))
|
||||
|
||||
@@ -128,6 +128,42 @@
|
||||
#include <QLabel>
|
||||
#include <QUrl>
|
||||
#include <algorithm>
|
||||
#include "foliogrid.h"
|
||||
|
||||
namespace {
|
||||
/**
|
||||
The icon of View > Snap to the grid: a grid of dots and a pointer
|
||||
whose tip sits on the middle one, in the palette's text color.
|
||||
*/
|
||||
QIcon gridSnapIcon()
|
||||
{
|
||||
QIcon icon;
|
||||
const QColor ink = QApplication::palette().color(QPalette::WindowText);
|
||||
for (int size : {16, 22, 32, 48})
|
||||
{
|
||||
QPixmap pixmap(size, size);
|
||||
pixmap.fill(Qt::transparent);
|
||||
QPainter painter(&pixmap);
|
||||
painter.setRenderHint(QPainter::Antialiasing);
|
||||
painter.scale(size / 24.0, size / 24.0);
|
||||
painter.setPen(Qt::NoPen);
|
||||
painter.setBrush(ink);
|
||||
for (int x : {4, 12, 20})
|
||||
for (int y : {4, 12, 20})
|
||||
painter.drawEllipse(QPointF(x, y), 1.4, 1.4);
|
||||
//The pointer, its tip on the middle dot
|
||||
painter.setPen(QPen(ink, 1.2));
|
||||
painter.setBrush(QApplication::palette().color(QPalette::Window));
|
||||
painter.drawPolygon(QPolygonF({{12, 12}, {12, 23}, {14.8, 20.3}, {16.8, 24}, {18.6, 23.1}, {16.6, 19.4}, {20.5, 19.4}}));
|
||||
painter.setPen(Qt::NoPen);
|
||||
painter.setBrush(ink);
|
||||
painter.drawEllipse(QPointF(12, 12), 2.4, 2.4);
|
||||
painter.end();
|
||||
icon.addPixmap(pixmap);
|
||||
}
|
||||
return icon;
|
||||
}
|
||||
}
|
||||
#ifdef BUILD_WITHOUT_KF
|
||||
# include "ui/nokde/kautosavefile.h"
|
||||
#else
|
||||
@@ -661,6 +697,52 @@ void QETDiagramEditor::setUpActions()
|
||||
view->viewport()->update();
|
||||
});
|
||||
|
||||
//Snap to the grid, on or off: off, the pointer and whatever is
|
||||
//moved or placed go to the nearest point, as with Ctrl held
|
||||
m_grid_snap = new QAction(gridSnapIcon(), tr("Snap to the grid"), this);
|
||||
ShortcutManager::instance().registerAction(m_grid_snap, "diagrameditor.grid_snap", tr("Diagram editors"),
|
||||
QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_G));
|
||||
m_grid_snap->setStatusTip(tr("Snap the pointer and what is moved or placed to the grid; off, they go to the nearest point"));
|
||||
m_grid_snap->setCheckable(true);
|
||||
m_grid_snap->setChecked(Diagram::gridSnap());
|
||||
connect(m_grid_snap, &QAction::triggered, this, [](bool on) {
|
||||
Diagram::setGridSnap(on);
|
||||
});
|
||||
|
||||
//The grid step, fine, medium or coarse: align blocks on a coarse
|
||||
//grid, work them out on a fine one
|
||||
m_grid_step_menu = new QMenu(tr("Grid step"), this);
|
||||
m_grid_step_menu->setIcon(QET::Icons::Grid);
|
||||
m_grid_step_button = new QToolButton(this);
|
||||
m_grid_step_button->setMenu(m_grid_step_menu);
|
||||
m_grid_step_button->setPopupMode(QToolButton::InstantPopup);
|
||||
m_grid_step_button->setToolButtonStyle(Qt::ToolButtonTextOnly);
|
||||
m_grid_step_button->setToolTip(tr("The step of the grid that symbols, conductors and the pointer snap to"));
|
||||
auto grid_step_group = new QActionGroup(this);
|
||||
const struct { const char *id; const char *name; int step; Qt::Key key; } grid_steps[] = {
|
||||
{"diagrameditor.grid_step_fine", QT_TR_NOOP("Fine (5)"), 5, Qt::Key_1},
|
||||
{"diagrameditor.grid_step_medium", QT_TR_NOOP("Medium (10)"), 10, Qt::Key_2},
|
||||
{"diagrameditor.grid_step_coarse", QT_TR_NOOP("Coarse (20)"), 20, Qt::Key_3},
|
||||
};
|
||||
for (const auto &grid_step : grid_steps)
|
||||
{
|
||||
QAction *action = m_grid_step_menu->addAction(tr(grid_step.name));
|
||||
ShortcutManager::instance().registerAction(action, grid_step.id, tr("Diagram editors"),
|
||||
QKeySequence(Qt::CTRL | Qt::ALT | grid_step.key));
|
||||
action->setCheckable(true);
|
||||
action->setData(grid_step.step);
|
||||
grid_step_group->addAction(action);
|
||||
}
|
||||
connect(grid_step_group, &QActionGroup::triggered, this, [this](QAction *action) {
|
||||
QSettings settings;
|
||||
settings.setValue(FolioGrid::x_key, action->data());
|
||||
settings.setValue(FolioGrid::y_key, action->data());
|
||||
updateGridStepButton();
|
||||
for (DiagramView *view : findChildren<DiagramView *>())
|
||||
view->viewport()->update();
|
||||
});
|
||||
updateGridStepButton();
|
||||
|
||||
//Snap step for dragged texts, as a fraction of the folio grid
|
||||
m_text_grid_menu = new QMenu(tr("Text grid"), this);
|
||||
m_text_grid_menu->setIcon(QET::Icons::Grid);
|
||||
@@ -1507,6 +1589,7 @@ void QETDiagramEditor::setUpToolBar()
|
||||
};
|
||||
add_widget(QStringLiteral("widget:handler_size"), new DiagramEditorHandlerSizeWidget(this));
|
||||
add_widget(QStringLiteral("widget:text_grid"), m_text_grid_button);
|
||||
add_widget(QStringLiteral("widget:grid_step"), m_grid_step_button);
|
||||
add_widget(QStringLiteral("widget:background_color"), m_background_color_button);
|
||||
//Sits with the conductor actions it works alongside: it colours
|
||||
//the selected conductors and sets the colour of the next one drawn.
|
||||
@@ -1775,6 +1858,8 @@ void QETDiagramEditor::setUpMenu()
|
||||
menu_affichage -> addAction(m_mode_visualise);
|
||||
menu_affichage -> addSeparator();
|
||||
menu_affichage -> addAction(m_draw_grid);
|
||||
menu_affichage -> addAction(m_grid_snap);
|
||||
menu_affichage -> addMenu(m_grid_step_menu);
|
||||
menu_affichage -> addAction(m_crosshair);
|
||||
menu_affichage -> addMenu(m_text_grid_menu);
|
||||
menu_affichage -> addAction(m_draw_guides);
|
||||
@@ -5024,6 +5109,23 @@ void QETDiagramEditor::updateShownKinds()
|
||||
m_hidden_kinds_label->setVisible(hidden > 0);
|
||||
}
|
||||
|
||||
/**
|
||||
@brief QETDiagramEditor::updateGridStepButton
|
||||
Show the current grid step on its toolbar button and check it in its
|
||||
menu; a step set in the settings that the menu does not offer shows
|
||||
as its number.
|
||||
*/
|
||||
void QETDiagramEditor::updateGridStepButton()
|
||||
{
|
||||
QSettings settings;
|
||||
const int x_step = FolioGrid::step(settings.value(FolioGrid::x_key), Diagram::xGrid);
|
||||
const int y_step = FolioGrid::step(settings.value(FolioGrid::y_key), Diagram::yGrid);
|
||||
for (QAction *action : m_grid_step_menu->actions())
|
||||
action->setChecked(x_step == y_step && action->data().toInt() == x_step);
|
||||
m_grid_step_button->setText(x_step == y_step ? tr("Grid %1").arg(x_step)
|
||||
: tr("Grid %1 × %2").arg(x_step).arg(y_step));
|
||||
}
|
||||
|
||||
/**
|
||||
@brief QETDiagramEditor::updateTextGridButton
|
||||
Show the current text grid on its toolbar button and check it in its menu.
|
||||
|
||||
@@ -214,6 +214,7 @@ class QETDiagramEditor : public QETMainWindow
|
||||
|
||||
private slots:
|
||||
void updateTextGridButton();
|
||||
void updateGridStepButton();
|
||||
void updateShownKinds();
|
||||
void selectionChanged();
|
||||
|
||||
@@ -323,6 +324,9 @@ class QETDiagramEditor : public QETMainWindow
|
||||
///< Diagram background color picker, in the "Affichage" toolbar
|
||||
DiagramBgColorToolButton *m_background_color_button = nullptr;
|
||||
QMenu *m_text_grid_menu = nullptr; ///< Snap step used when dragging texts
|
||||
QAction *m_grid_snap = nullptr; ///< Snap to the grid, on or off
|
||||
QMenu *m_grid_step_menu = nullptr; ///< Fine, medium or coarse grid
|
||||
QToolButton *m_grid_step_button = nullptr;
|
||||
QToolButton *m_text_grid_button = nullptr;
|
||||
QMenu *m_shown_kinds_menu = nullptr; ///< View > Show, kinds of items (#301)
|
||||
QLabel *m_hidden_kinds_label = nullptr; ///< Status bar: how many kinds are hidden
|
||||
|
||||
@@ -355,6 +355,10 @@ qet_add_app_test(tst_selectionpanelheight tst_selectionpanelheight.cpp)
|
||||
# asks for; a fixed 55 px cut the number off on Windows (#1566).
|
||||
qet_add_app_test(tst_autonumincrementwidth tst_autonumincrementwidth.cpp)
|
||||
|
||||
# View > Snap to the grid switches every snap off and on, as Ctrl held does;
|
||||
# View > Grid step sets a fine, medium or coarse step.
|
||||
qet_add_app_test(tst_gridsnap tst_gridsnap.cpp)
|
||||
|
||||
# Opening a project before the elements panel's first reload() left its tree
|
||||
# item detached, and selecting the item's first child crashed in QTreeModel
|
||||
# (pre-existing since a82f6de23).
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
Copyright 2006-2026 The QElectroTech Team
|
||||
This file is part of QElectroTech.
|
||||
|
||||
QElectroTech is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
QElectroTech is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "qetapptest.h"
|
||||
#include "diagram.h"
|
||||
#include "foliogrid.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QSettings>
|
||||
|
||||
/**
|
||||
View > Snap to the grid switches the snap off and on for everything
|
||||
that snaps (snapToGrid(), snapToTextGrid()), as Ctrl held does, and is
|
||||
kept in the settings. View > Grid step sets the step, fine, medium or
|
||||
coarse, for both directions.
|
||||
*/
|
||||
class tst_gridsnap : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
static QAction *action(const QString &text)
|
||||
{
|
||||
for (QAction *a : QetAppTest::editor()->findChildren<QAction *>())
|
||||
if (a->text() == text) return a;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
private slots:
|
||||
void snapCanBeSwitchedOff()
|
||||
{
|
||||
QSettings().setValue(FolioGrid::x_key, 10);
|
||||
QSettings().setValue(FolioGrid::y_key, 10);
|
||||
QAction *snap = action(QStringLiteral("Snap to the grid"));
|
||||
QVERIFY(snap && snap->isCheckable());
|
||||
QVERIFY(snap->isChecked());
|
||||
QCOMPARE(snap->shortcut(), QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_G));
|
||||
QCOMPARE(Diagram::snapToGrid(QPointF(13.4, 26.7)), QPointF(10, 30));
|
||||
|
||||
snap->trigger();
|
||||
QVERIFY(!Diagram::gridSnap());
|
||||
QCOMPARE(Diagram::snapToGrid(QPointF(13.4, 26.7)), QPointF(13, 27));
|
||||
QCOMPARE(Diagram::snapToTextGrid(QPointF(13.4, 26.7)), QPointF(13, 27));
|
||||
QVERIFY(!QSettings().value(QStringLiteral("diagrameditor/grid_snap")).toBool());
|
||||
|
||||
snap->trigger();
|
||||
QVERIFY(Diagram::gridSnap());
|
||||
QCOMPARE(Diagram::snapToGrid(QPointF(13.4, 26.7)), QPointF(10, 30));
|
||||
}
|
||||
|
||||
void gridSteps()
|
||||
{
|
||||
const struct { const char *text; int step; Qt::Key key; } steps[] = {
|
||||
{"Fine (5)", 5, Qt::Key_1}, {"Medium (10)", 10, Qt::Key_2}, {"Coarse (20)", 20, Qt::Key_3}};
|
||||
for (const auto &s : steps) {
|
||||
QAction *a = action(QString::fromLatin1(s.text));
|
||||
QVERIFY2(a, s.text);
|
||||
QCOMPARE(a->shortcut(), QKeySequence(Qt::CTRL | Qt::ALT | s.key));
|
||||
a->trigger();
|
||||
QCOMPARE(QSettings().value(FolioGrid::x_key).toInt(), s.step);
|
||||
QCOMPARE(QSettings().value(FolioGrid::y_key).toInt(), s.step);
|
||||
QVERIFY(a->isChecked());
|
||||
QCOMPARE(Diagram::snapToGrid(QPointF(23, 23)),
|
||||
QPointF(qRound(23.0 / s.step) * s.step, qRound(23.0 / s.step) * s.step));
|
||||
}
|
||||
action(QStringLiteral("Medium (10)"))->trigger();
|
||||
}
|
||||
};
|
||||
|
||||
QET_APP_TEST_MAIN(tst_gridsnap)
|
||||
|
||||
#include "tst_gridsnap.moc"
|
||||
Reference in New Issue
Block a user