mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-21 22:04:13 +02:00
Merge pull request #1563 from DaTweety/feature/place-symbol-texts
Place symbol texts: label and notes as one block, at one of nine points
This commit is contained in:
@@ -386,6 +386,8 @@ set(QET_SRC_FILES
|
||||
|
||||
${QET_DIR}/sources/autobreakconductor.cpp
|
||||
${QET_DIR}/sources/autobreakconductor.h
|
||||
${QET_DIR}/sources/symboltextplacement.cpp
|
||||
${QET_DIR}/sources/symboltextplacement.h
|
||||
|
||||
${QET_DIR}/sources/diagramevent/diagrameventaddelement.cpp
|
||||
${QET_DIR}/sources/diagramevent/diagrameventaddelement.h
|
||||
|
||||
@@ -11972,6 +11972,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>وضع نصوص الرمز</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>وضع التسمية والملاحظات للرموز المحددة ككتلة واحدة بجانبها</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>أعلى، يسار</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>أعلى</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>أعلى، يمين</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>يسار</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>على الرمز</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>يمين</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>أسفل، يسار</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>أسفل</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>أسفل، يمين</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24776,4 +24832,12 @@ The following variables can be used:
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>وضع نصوص الرمز</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -12054,6 +12054,62 @@ Opcions disponibles:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Col·locar els textos del símbol</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Col·loca l'etiqueta i les notes dels símbols seleccionats com un sol bloc al costat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>A dalt, a l'esquerra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>A dalt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>A dalt, a la dreta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Esquerra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Sobre el símbol</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Dreta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>A baix, a l'esquerra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>A baix</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>A baix, a la dreta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24823,4 +24879,12 @@ associar el nom "volta" amb el valor "1745" substituirà %{v
|
||||
<translation>Què :</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Col·locar els textos del símbol</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -12069,6 +12069,62 @@ Dostupné volby:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Umístit texty symbolu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Umístí označení a poznámky vybraných symbolů jako jeden blok vedle nich</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Nahoře vlevo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Nahoře</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Nahoře vpravo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Vlevo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Na symbolu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Vpravo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Dole vlevo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Dole</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Dole vpravo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="1542"/>
|
||||
<source>Displ&ay</source>
|
||||
@@ -24871,4 +24927,12 @@ Přiřazení názvu "volta" a hodnoty "1745" v záhlaví vý
|
||||
<translation>Co:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Umístit texty symbolu</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11921,6 +11921,62 @@ Kommandovalg:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Placer symboltekster</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Placerer mærkat og noter for de valgte symboler som én blok ved siden af dem</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Over, til venstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Over</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Over, til højre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Venstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>På symbolet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Højre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Under, til venstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Under</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Under, til højre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="1542"/>
|
||||
<source>Displ&ay</source>
|
||||
@@ -24552,4 +24608,12 @@ Eksempel: forbind navn "volta" og værdi "1745" erstat %{vol
|
||||
<translation>Hvad:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Placer symboltekster</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -12040,6 +12040,62 @@ Verfügbare Optionen:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Symboltexte platzieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Setzt BMK und Anmerkungen der ausgewählten Symbole als einen Block neben das Symbol</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Oben links</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Oben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Oben rechts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Links</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Auf dem Symbol</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Rechts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Unten links</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Unten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Unten rechts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="480"/>
|
||||
<source>Copy text format</source>
|
||||
@@ -24876,4 +24932,12 @@ die Variable "volta" kombiniert mit dem Wert "1745" lässt i
|
||||
<translation>Was:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Symboltexte platzieren</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -12012,6 +12012,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Τοποθέτηση κειμένων συμβόλου</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Τοποθετεί την ετικέτα και τις σημειώσεις των επιλεγμένων συμβόλων ως ένα μπλοκ δίπλα τους</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Πάνω, αριστερά</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Πάνω</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Πάνω, δεξιά</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Αριστερά</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Πάνω στο σύμβολο</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Δεξιά</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Κάτω, αριστερά</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Κάτω</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Κάτω, δεξιά</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="1542"/>
|
||||
<source>Displ&ay</source>
|
||||
@@ -24747,4 +24803,12 @@ The following variables can be used:
|
||||
<translation>Τι:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Τοποθέτηση κειμένων συμβόλου</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -12052,6 +12052,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Place symbol texts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Place the label and the notes of the selected symbols as one block beside them</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Above, left</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Above</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Above, right</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Left</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>On the symbol</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Right</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Below, left</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Below</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Below, right</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="1542"/>
|
||||
<source>Displ&ay</source>
|
||||
@@ -24888,4 +24944,12 @@ The following variables can be used:
|
||||
<translation>What:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Place symbol texts</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -12055,6 +12055,62 @@ Opciones disponibles:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Colocar los textos del símbolo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Coloca la etiqueta y las notas de los símbolos seleccionados como un solo bloque a su lado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Arriba, izquierda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Arriba</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Arriba, derecha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Izquierda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Sobre el símbolo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Derecha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Abajo, izquierda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Abajo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Abajo, derecha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="313"/>
|
||||
<source>No modification</source>
|
||||
@@ -24826,4 +24882,12 @@ asociar el nombre de "volta" y el valor "1745" reemplazara %
|
||||
<translation>Que:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Colocar los textos del símbolo</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11694,6 +11694,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Sijoita symbolin tekstit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Sijoittaa valittujen symbolien tunnuksen ja huomautukset yhtenä lohkona niiden viereen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Yllä vasemmalla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Yllä</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Yllä oikealla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Vasemmalla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Symbolin päällä</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Oikealla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Alla vasemmalla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Alla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Alla oikealla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24228,4 +24284,12 @@ The following variables can be used:
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Sijoita symbolin tekstit</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -12064,6 +12064,62 @@ Options disponibles :
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Placer les textes du symbole</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Place le repère et les notes des symboles sélectionnés en un seul bloc à côté d'eux</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>En haut à gauche</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>En haut</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>En haut à droite</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>À gauche</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Sur le symbole</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>À droite</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>En bas à gauche</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>En bas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>En bas à droite</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="480"/>
|
||||
<source>Copy text format</source>
|
||||
@@ -24904,4 +24960,12 @@ associer le nom "volta" et la valeur "1745" remplacera %{vol
|
||||
<translation>Quoi :</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Placer les textes du symbole</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11786,6 +11786,62 @@ Dostupne opcije:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Postavi tekstove simbola</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Postavlja oznaku i napomene odabranih simbola kao jedan blok pokraj njih</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Gore lijevo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Gore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Gore desno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Lijevo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Na simbolu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Desno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Dolje lijevo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Dolje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Dolje desno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24386,4 +24442,12 @@ The following variables can be used:
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Postavi tekstove simbola</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11979,6 +11979,62 @@ Elérhető lehetőségek:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Szimbólumszövegek elhelyezése</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>A kijelölt szimbólumok jelölését és megjegyzéseit egy blokként melléjük helyezi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Fent balra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Fent</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Fent jobbra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Balra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>A szimbólumon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Jobbra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Lent balra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Lent</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Lent jobbra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24666,4 +24722,12 @@ A következő változók használhatók:
|
||||
<translation>Adatai :</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Szimbólumszövegek elhelyezése</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -12026,6 +12026,62 @@ Ecco gli ultimi messaggi registrati prima della chiusura — puoi salvarli per i
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Posiziona i testi del simbolo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Posiziona la sigla e le note dei simboli selezionati come un unico blocco accanto a essi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>In alto a sinistra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>In alto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>In alto a destra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>A sinistra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Sul simbolo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>A destra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>In basso a sinistra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>In basso</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>In basso a destra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="313"/>
|
||||
<source>No modification</source>
|
||||
@@ -24779,4 +24835,12 @@ si possono utilizzare le seguenti variabili:
|
||||
<translation>Conduttore</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Posiziona i testi del simbolo</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11953,6 +11953,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>シンボルのテキストを配置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>選択したシンボルのラベルと注記を1つのブロックとして横に配置します</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>左上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>右上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>左</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>シンボル上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>右</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>左下</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>下</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>右下</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24642,4 +24698,12 @@ The following variables can be used:
|
||||
<translation>項目 :</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>シンボルのテキストを配置</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11955,6 +11955,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>심볼 텍스트 배치</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>선택한 심볼의 라벨과 메모를 하나의 블록으로 옆에 배치합니다</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>위, 왼쪽</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>위</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>위, 오른쪽</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>왼쪽</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>심볼 위</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>오른쪽</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>아래, 왼쪽</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>아래</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>아래, 오른쪽</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="1542"/>
|
||||
<source>Displ&ay</source>
|
||||
@@ -24592,4 +24648,12 @@ The following variables can be used:
|
||||
<translation>검색어 :</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>심볼 텍스트 배치</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11876,6 +11876,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Тэмдгийн текстийг байрлуулах</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Сонгосон тэмдгүүдийн шошго, тэмдэглэлийг нэг блок болгон хажууд нь байрлуулна</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Дээд зүүн</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Дээд</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Дээд баруун</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Зүүн</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Тэмдэг дээр</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Баруун</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Доод зүүн</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Доод</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Доод баруун</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24472,4 +24528,12 @@ The following variables can be used:
|
||||
<translation>Юу :</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Тэмдгийн текстийг байрлуулах</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11891,6 +11891,62 @@ Tilgjengelige opsjoner:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Plasser symboltekster</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Plasserer merke og merknader for de valgte symbolene som én blokk ved siden av dem</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Over, til venstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Over</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Over, til høyre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Venstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>På symbolet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Høyre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Under, til venstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Under</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Under, til høyre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24508,4 +24564,12 @@ variablen "volta" kombiniert med verdi "1745" I tegningsmale
|
||||
<translation>Hva:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Plasser symboltekster</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11917,6 +11917,62 @@ Opties :
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Symbolteksten plaatsen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Plaatst het label en de opmerkingen van de geselecteerde symbolen als één blok ernaast</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Boven, links</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Boven</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Boven, rechts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Links</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Op het symbool</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Rechts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Onder, links</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Onder</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Onder, rechts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="1542"/>
|
||||
<source>Displ&ay</source>
|
||||
@@ -24549,4 +24605,12 @@ Door de associatie van de naam "volta" met de waarde "1745"
|
||||
<translation>Welke :</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Symbolteksten plaatsen</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -12039,6 +12039,62 @@ Beschikbare opties:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Symbolteksten plaatsen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Plaatst het label en de opmerkingen van de geselecteerde symbolen als één blok ernaast</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Boven, links</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Boven</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Boven, rechts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Links</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Op het symbool</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Rechts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Onder, links</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Onder</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Onder, rechts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="1542"/>
|
||||
<source>Displ&ay</source>
|
||||
@@ -24791,4 +24847,12 @@ De volgende variabelen kunnen gebruikt worden:
|
||||
<translation>Wat :</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Symbolteksten plaatsen</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -9936,6 +9936,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Symbolteksten plaatsen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Plaatst het label en de opmerkingen van de geselecteerde symbolen als één blok ernaast</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Boven, links</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Boven</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Boven, rechts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Links</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Op het symbool</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Rechts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Onder, links</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Onder</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Onder, rechts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="169"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="3709"/>
|
||||
@@ -21749,4 +21805,12 @@ The following variables can be used:
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Symbolteksten plaatsen</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11694,6 +11694,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Plasser symboltekster</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Plasserer merke og merknader for de valgte symbolene som én blokk ved siden av dem</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Over, til venstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Over</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Over, til høyre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Venstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>På symbolet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Høyre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Under, til venstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Under</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Under, til høyre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24228,4 +24284,12 @@ The following variables can be used:
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Plasser symboltekster</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -12141,6 +12141,62 @@ Dostępne opcje:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Rozmieść teksty symbolu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Umieszcza oznaczenie i uwagi zaznaczonych symboli jako jeden blok obok nich</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>U góry po lewej</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>U góry</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>U góry po prawej</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Po lewej</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Na symbolu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Po prawej</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Na dole po lewej</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Na dole</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Na dole po prawej</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="1542"/>
|
||||
<source>Displ&ay</source>
|
||||
@@ -25099,4 +25155,12 @@ skojarzenie nazwy "volta" i wartości "1745" spowoduje zast
|
||||
<translation>Dane:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Rozmieść teksty symbolu</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11927,6 +11927,62 @@ Opções disponiveis:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Posicionar os textos do símbolo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Posiciona a etiqueta e as notas dos símbolos selecionados como um só bloco ao lado deles</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Em cima, à esquerda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Em cima</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Em cima, à direita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>À esquerda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Sobre o símbolo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>À direita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Em baixo, à esquerda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Em baixo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Em baixo, à direita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="1542"/>
|
||||
<source>Displ&ay</source>
|
||||
@@ -24678,4 +24734,12 @@ Podem ser usadas as seguintes variáveis:
|
||||
<translation>O quê:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Posicionar os textos do símbolo</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -12030,6 +12030,62 @@ Opções disponíveis:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Posicionar os textos do símbolo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Posiciona a etiqueta e as notas dos símbolos selecionados como um só bloco ao lado deles</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Acima, à esquerda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Acima</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Acima, à direita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>À esquerda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Sobre o símbolo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>À direita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Abaixo, à esquerda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Abaixo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Abaixo, à direita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24869,4 +24925,12 @@ associar o nome "variável_personalizada" e o valor "1745" v
|
||||
<translation>O que:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Posicionar os textos do símbolo</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11800,6 +11800,62 @@ Opțiuni disponibile:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Plasează textele simbolului</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Plasează eticheta și notele simbolurilor selectate ca un singur bloc lângă ele</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Sus, stânga</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Sus</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Sus, dreapta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Stânga</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Pe simbol</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Dreapta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Jos, stânga</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Jos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Jos, dreapta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24404,4 +24460,12 @@ asociind numele "volta" cu valoarea "1745" se va înlocui %{
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Plasează textele simbolului</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11738,6 +11738,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Postavi tekstove simbola</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Postavlja oznaku i napomene izabranih simbola kao jedan blok pored njih</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Gore levo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Gore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Gore desno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Levo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Na simbolu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Desno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Dole levo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Dole</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Dole desno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24330,4 +24386,12 @@ The following variables can be used:
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Postavi tekstove simbola</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -12132,6 +12132,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Разместить тексты символа</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Размещает обозначение и примечания выбранных символов одним блоком рядом с ними</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Сверху слева</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Сверху</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Сверху справа</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Слева</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>На символе</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Справа</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Снизу слева</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Снизу</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Снизу справа</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24979,4 +25035,12 @@ The following variables can be used:
|
||||
<translation>Где:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Разместить тексты символа</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11921,6 +11921,62 @@ Dostupné možnosti:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Umiestniť texty symbolu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Umiestni označenie a poznámky vybraných symbolov ako jeden blok vedľa nich</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Hore vľavo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Hore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Hore vpravo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Vľavo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Na symbole</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Vpravo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Dole vľavo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Dole</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Dole vpravo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="1542"/>
|
||||
<source>Displ&ay</source>
|
||||
@@ -24734,4 +24790,12 @@ Používajú sa nasledujúce premenné:
|
||||
<translation>Čo:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Umiestniť texty symbolu</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11782,6 +11782,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Postavi besedila simbola</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Postavi oznako in opombe izbranih simbolov kot en blok poleg njih</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Zgoraj levo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Zgoraj</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Zgoraj desno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Levo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Na simbolu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Desno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Spodaj levo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Spodaj</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Spodaj desno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24432,4 +24488,12 @@ The following variables can be used:
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Postavi besedila simbola</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11738,6 +11738,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Постави текстове симбола</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Поставља ознаку и напомене изабраних симбола као један блок поред њих</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Горе лево</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Горе</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Горе десно</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Лево</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>На симболу</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Десно</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Доле лево</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Доле</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Доле десно</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24330,4 +24386,12 @@ The following variables can be used:
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Постави текстове симбола</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11922,6 +11922,62 @@ Tillgängliga alternativ :
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Placera symboltexter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Placerar märkning och anteckningar för de valda symbolerna som ett block bredvid dem</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Ovanför, vänster</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Ovanför</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Ovanför, höger</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Vänster</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>På symbolen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Höger</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Nedanför, vänster</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Nedanför</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Nedanför, höger</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24574,4 +24630,12 @@ du associerar namnet ”volta” med värdet ”1745” kommer %{volta} att ers
|
||||
<translation>Vad:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Placera symboltexter</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11984,6 +11984,62 @@ Mevcut seçenekler:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Sembol metinlerini yerleştir</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Seçili sembollerin etiketini ve notlarını tek blok olarak yanlarına yerleştirir</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Üst, sol</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Üst</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Üst, sağ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Sol</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>Sembolün üstünde</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Sağ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Alt, sol</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Alt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Alt, sağ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24681,4 +24737,12 @@ Aşağıdaki değişkenler kullanılabilir:
|
||||
<translation>Ne ile:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Sembol metinlerini yerleştir</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -12089,6 +12089,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Розмістити тексти символу</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>Розміщує позначення та примітки вибраних символів одним блоком поруч із ними</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>Згори ліворуч</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>Згори</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>Згори праворуч</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>Ліворуч</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>На символі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>Праворуч</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>Знизу ліворуч</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>Знизу</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>Знизу праворуч</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24919,4 +24975,12 @@ The following variables can be used:
|
||||
<translation>Де: </translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>Розмістити тексти символу</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11987,6 +11987,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>放置符号文本</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>将所选符号的标签和注释作为一个整体放在其旁边</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>左上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>右上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>左</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>在符号上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>右</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>左下</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>下</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>右下</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24681,4 +24737,12 @@ The following variables can be used:
|
||||
<translation>类型:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>放置符号文本</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -11987,6 +11987,62 @@ Available options:
|
||||
</context>
|
||||
<context>
|
||||
<name>QETDiagramEditor</name>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="497"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>放置符號文字</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="498"/>
|
||||
<source>Place the label and the notes of the selected symbols as one block beside them</source>
|
||||
<comment>status bar tip</comment>
|
||||
<translation>將所選符號的標籤與註解作為一個區塊放在其旁邊</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="507"/>
|
||||
<source>Above, left</source>
|
||||
<translation>左上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="508"/>
|
||||
<source>Above</source>
|
||||
<translation>上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="509"/>
|
||||
<source>Above, right</source>
|
||||
<translation>右上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="510"/>
|
||||
<source>Left</source>
|
||||
<translation>左</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="511"/>
|
||||
<source>On the symbol</source>
|
||||
<translation>在符號上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="512"/>
|
||||
<source>Right</source>
|
||||
<translation>右</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="513"/>
|
||||
<source>Below, left</source>
|
||||
<translation>左下</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="514"/>
|
||||
<source>Below</source>
|
||||
<translation>下</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="515"/>
|
||||
<source>Below, right</source>
|
||||
<translation>右下</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="182"/>
|
||||
<location filename="../sources/qetdiagrameditor.cpp" line="4218"/>
|
||||
@@ -24681,4 +24737,12 @@ The following variables can be used:
|
||||
<translation>型別:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SymbolTextPlacement</name>
|
||||
<message>
|
||||
<location filename="../sources/symboltextplacement.cpp" line="120"/>
|
||||
<source>Place symbol texts</source>
|
||||
<translation>放置符號文字</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
*/
|
||||
#include "diagramtoolbarsettings.h"
|
||||
|
||||
#include <QMenu>
|
||||
#include <QToolButton>
|
||||
|
||||
#include "shortcutmanager.h"
|
||||
|
||||
#include <QApplication>
|
||||
@@ -198,7 +201,9 @@ QStringList DiagramToolbarSettings::defaultIds(const QString &name)
|
||||
//the shapes of the "Ajouter" toolbar.
|
||||
sep,
|
||||
QStringLiteral("diagrameditor.add_cable"),
|
||||
QStringLiteral("widget:conductor_color")};
|
||||
QStringLiteral("widget:conductor_color"),
|
||||
sep,
|
||||
QStringLiteral("diagrameditor.place_symbol_texts")};
|
||||
}
|
||||
if (name == QLatin1String("adding")) {
|
||||
//add_pdf is skipped when built without QtPdf, as before
|
||||
@@ -330,6 +335,11 @@ void DiagramToolbarSettings::fill(QToolBar *toolbar, const QStringList &ids,
|
||||
pending_separator = false;
|
||||
}
|
||||
toolbar->addAction(action);
|
||||
//A command with a menu of choices: a click does it again,
|
||||
//the arrow beside it opens the choices
|
||||
if (action->menu())
|
||||
if (auto *button = qobject_cast<QToolButton *>(toolbar->widgetForAction(action)))
|
||||
button->setPopupMode(QToolButton::MenuButtonPopup);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "container/qetzip.h"
|
||||
#include "utils/previousversions.h"
|
||||
#include "shownkinds.h"
|
||||
#include "symboltextplacement.h"
|
||||
#ifdef QET_HAS_SCRIPTING
|
||||
#include "scripting/qetscripting.h"
|
||||
#include "scripting/scriptlibrary.h"
|
||||
@@ -33,6 +34,7 @@
|
||||
#include <QCoreApplication>
|
||||
#include <QToolButton>
|
||||
#include <QWidgetAction>
|
||||
#include <QGridLayout>
|
||||
#include "ElementsCollection/elementscollectionwidget.h"
|
||||
#include "ElementsCollection/elementpickerpopup.h"
|
||||
#include "shortcutbarsettings.h"
|
||||
@@ -489,6 +491,62 @@ void QETDiagramEditor::setUpActions()
|
||||
connect(m_copy_text_format, &QAction::triggered, this, &QETDiagramEditor::copyTextFormat);
|
||||
connect(m_apply_text_format, &QAction::triggered, this, &QETDiagramEditor::applyTextFormat);
|
||||
|
||||
//The texts of the selected symbols, label and notes, as one block at
|
||||
//one of nine points around the symbol: the nine points of the text
|
||||
//alignment dialog. A click places them at the point chosen last.
|
||||
const auto chosen_point = []() {
|
||||
return Qt::Alignment(QSettings().value(QStringLiteral("diagrameditor/place_texts_point"),
|
||||
int(Qt::AlignLeft | Qt::AlignVCenter)).toInt());
|
||||
};
|
||||
//The button shows where its click will put the texts
|
||||
m_place_texts = new QAction(SymbolTextPlacement::icon(chosen_point()), tr("Place symbol texts"), this);
|
||||
m_place_texts->setStatusTip(tr("Place the label and the notes of the selected symbols as one block beside them", "status bar tip"));
|
||||
ShortcutManager::instance().registerAction(m_place_texts, "diagrameditor.place_symbol_texts", tr("Diagram editors"), QKeySequence());
|
||||
{
|
||||
auto *menu = new QMenu(this);
|
||||
auto *grid_widget = new QWidget(menu);
|
||||
auto *grid = new QGridLayout(grid_widget);
|
||||
grid->setContentsMargins(6, 6, 6, 6);
|
||||
grid->setSpacing(2);
|
||||
const struct { Qt::Alignment where; const char *tip; } points[] = {
|
||||
{Qt::AlignLeft | Qt::AlignTop, QT_TR_NOOP("Above, left")},
|
||||
{Qt::AlignHCenter | Qt::AlignTop, QT_TR_NOOP("Above")},
|
||||
{Qt::AlignRight | Qt::AlignTop, QT_TR_NOOP("Above, right")},
|
||||
{Qt::AlignLeft | Qt::AlignVCenter, QT_TR_NOOP("Left")},
|
||||
{Qt::AlignCenter, QT_TR_NOOP("On the symbol")},
|
||||
{Qt::AlignRight | Qt::AlignVCenter, QT_TR_NOOP("Right")},
|
||||
{Qt::AlignLeft | Qt::AlignBottom, QT_TR_NOOP("Below, left")},
|
||||
{Qt::AlignHCenter | Qt::AlignBottom, QT_TR_NOOP("Below")},
|
||||
{Qt::AlignRight | Qt::AlignBottom, QT_TR_NOOP("Below, right")}};
|
||||
int n = 0;
|
||||
for (const auto &point : points)
|
||||
{
|
||||
auto *button = new QToolButton(grid_widget);
|
||||
button->setIcon(SymbolTextPlacement::icon(point.where));
|
||||
button->setIconSize(QSize(32, 32));
|
||||
button->setToolTip(tr(point.tip));
|
||||
button->setObjectName(QStringLiteral("place_texts_%1").arg(n));
|
||||
button->setFixedSize(38, 38);
|
||||
button->setAutoRaise(true);
|
||||
const Qt::Alignment where = point.where;
|
||||
connect(button, &QToolButton::clicked, this, [this, menu, where]() {
|
||||
menu->close();
|
||||
QSettings().setValue(QStringLiteral("diagrameditor/place_texts_point"), int(where));
|
||||
m_place_texts->setIcon(SymbolTextPlacement::icon(where));
|
||||
placeSymbolTexts(where);
|
||||
});
|
||||
grid->addWidget(button, n / 3, n % 3);
|
||||
++n;
|
||||
}
|
||||
auto *grid_action = new QWidgetAction(menu);
|
||||
grid_action->setDefaultWidget(grid_widget);
|
||||
menu->addAction(grid_action);
|
||||
m_place_texts->setMenu(menu);
|
||||
}
|
||||
connect(m_place_texts, &QAction::triggered, this, [this, chosen_point]() {
|
||||
placeSymbolTexts(chosen_point());
|
||||
});
|
||||
|
||||
//Duplicate: copy the selection and place it at a configured,
|
||||
//grid-step offset immediately -- no interactive follow-the-
|
||||
//cursor step, unlike Ctrl+V above. That is deliberate (#991):
|
||||
@@ -1585,6 +1643,7 @@ void QETDiagramEditor::setUpMenu()
|
||||
menu_edition -> addAction(m_paste);
|
||||
menu_edition -> addAction(m_copy_text_format);
|
||||
menu_edition -> addAction(m_apply_text_format);
|
||||
menu_edition -> addAction(m_place_texts);
|
||||
menu_edition -> addAction(m_paste_origin);
|
||||
menu_edition -> addAction(m_paste_element_info);
|
||||
menu_edition -> addAction(m_duplicate);
|
||||
@@ -3187,6 +3246,7 @@ void QETDiagramEditor::slot_updateComplexActions()
|
||||
m_find_element->setEnabled(selected_elements_count == 1);
|
||||
m_copy_text_format->setEnabled(selected_elements_count >= 1);
|
||||
m_apply_text_format->setEnabled(!ro && selected_elements_count >= 1 && ElementTextFormatPattern::hasPattern());
|
||||
m_place_texts->setEnabled(!ro && selected_elements_count >= 1);
|
||||
m_mirror_horizontal->setEnabled(!ro && selected_elements_count);
|
||||
m_mirror_vertical->setEnabled(!ro && selected_elements_count);
|
||||
|
||||
@@ -5014,6 +5074,27 @@ void QETDiagramEditor::copyTextFormat()
|
||||
* @brief QETDiagramEditor::applyTextFormat
|
||||
* Applies the stored text formatting template to all selected elements in the active diagram.
|
||||
*/
|
||||
/**
|
||||
@brief QETDiagramEditor::placeSymbolTexts
|
||||
Place the texts of the selected symbols as one block at @a where,
|
||||
one of nine points around each symbol, in one undo step.
|
||||
@param where : see SymbolTextPlacement::place()
|
||||
*/
|
||||
void QETDiagramEditor::placeSymbolTexts(Qt::Alignment where)
|
||||
{
|
||||
DiagramView *dv = currentDiagramView();
|
||||
if (!dv || !dv->diagram() || dv->diagram()->isReadOnly()) return;
|
||||
|
||||
QList<Element *> elements;
|
||||
for (QGraphicsItem *item : dv->diagram()->selectedItems())
|
||||
if (Element *element = qgraphicsitem_cast<Element *>(item))
|
||||
elements.append(element);
|
||||
if (elements.isEmpty()) return;
|
||||
|
||||
if (QUndoCommand *undo = SymbolTextPlacement::place(elements, where))
|
||||
dv->diagram()->undoStack().push(undo);
|
||||
}
|
||||
|
||||
void QETDiagramEditor::applyTextFormat()
|
||||
{
|
||||
if (!ElementTextFormatPattern::hasPattern()) return;
|
||||
|
||||
@@ -210,6 +210,7 @@ class QETDiagramEditor : public QETMainWindow
|
||||
void subWindowActivated(QMdiSubWindow *subWindows);
|
||||
void copyTextFormat();
|
||||
void applyTextFormat();
|
||||
void placeSymbolTexts(Qt::Alignment where);
|
||||
|
||||
private slots:
|
||||
void updateTextGridButton();
|
||||
@@ -225,7 +226,8 @@ class QETDiagramEditor : public QETMainWindow
|
||||
*m_paste_element_info, ///< Copy the information of the copied element onto the selected elements (#1375)
|
||||
*m_insert_last_element = nullptr, ///< Place the last placed element again
|
||||
*m_copy_text_format = nullptr, ///< Copy label/text formatting template
|
||||
*m_apply_text_format = nullptr; ///< Apply label/text formatting template
|
||||
*m_apply_text_format = nullptr, ///< Apply label/text formatting template
|
||||
*m_place_texts = nullptr; ///< Place the texts of the selected symbols at one of nine points
|
||||
|
||||
QActionGroup
|
||||
m_row_column_actions_group, /// Action related to add/remove rows/column in diagram
|
||||
|
||||
@@ -620,6 +620,18 @@ void Element::paint(
|
||||
/**
|
||||
@return Le rectangle delimitant le contour de l'element
|
||||
*/
|
||||
/**
|
||||
@brief Element::drawingRect
|
||||
@return the area its drawing covers, in this symbol's coordinates:
|
||||
tighter than boundingRect(), which is rounded up to the grid. The
|
||||
bounding rect for a symbol with nothing drawn.
|
||||
*/
|
||||
QRectF Element::drawingRect() const
|
||||
{
|
||||
const QRect drawn = m_picture.isNull() ? QRect() : m_picture.boundingRect();
|
||||
return drawn.isEmpty() ? boundingRect() : QRectF(drawn);
|
||||
}
|
||||
|
||||
QRectF Element::boundingRect() const
|
||||
{
|
||||
return(QRectF(QPointF(-hotspot_coord.x(), -hotspot_coord.y()),
|
||||
|
||||
@@ -185,6 +185,8 @@ class Element : public QetGraphicsItem
|
||||
QPixmap pixmap();
|
||||
QPoint setHotspot(QPoint);
|
||||
QPoint hotspot() const;
|
||||
/// The area the symbol is drawn on, in its own coordinates
|
||||
QRectF drawingRect() const;
|
||||
void editProperty() override;
|
||||
static bool valideXml(QDomElement &);
|
||||
static QUuid savedTerminalUuid(const QList<QDomElement> &records, int index);
|
||||
|
||||
@@ -0,0 +1,183 @@
|
||||
/*
|
||||
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 "symboltextplacement.h"
|
||||
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "qetgraphicsitem/dynamicelementtextitem.h"
|
||||
#include "qetgraphicsitem/element.h"
|
||||
#include "qetgraphicsitem/elementtextitemgroup.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QCoreApplication>
|
||||
#include <QPainter>
|
||||
#include <QPalette>
|
||||
#include <QPixmap>
|
||||
#include <QUndoCommand>
|
||||
|
||||
namespace {
|
||||
|
||||
/// How the lines of the block line up, for a block placed at @a where
|
||||
Qt::Alignment linesFor(Qt::Alignment where)
|
||||
{
|
||||
if (where & Qt::AlignLeft) return Qt::AlignRight;
|
||||
if (where & Qt::AlignRight) return Qt::AlignLeft;
|
||||
return Qt::AlignHCenter;
|
||||
}
|
||||
|
||||
/// One line of the block: a text, or a group of texts
|
||||
struct Line
|
||||
{
|
||||
QObject *object; ///< for its properties
|
||||
QGraphicsItem *item; ///< for where it stands
|
||||
QPointF old_pos;
|
||||
QVariant old_alignment;
|
||||
/// For a group, where its texts lay: a new alignment lays them out
|
||||
/// anew, and undoing it to AlignJustify lays out nothing
|
||||
QList<QPair<DynamicElementTextItem *, QPointF>> old_texts;
|
||||
};
|
||||
|
||||
/// Move @a item so that the top left of its box in the folio is at @a to
|
||||
void moveTo(QGraphicsItem *item, const QPointF &to)
|
||||
{
|
||||
const QPointF by = to - item->sceneBoundingRect().topLeft();
|
||||
QGraphicsItem *parent = item->parentItem();
|
||||
const QPointF step = parent ? parent->mapFromScene(by) - parent->mapFromScene(QPointF(0, 0))
|
||||
: by;
|
||||
item->setPos(item->pos() + step);
|
||||
}
|
||||
|
||||
bool placeOne(Element *element, Qt::Alignment where, QUndoCommand *parent)
|
||||
{
|
||||
const Qt::Alignment lines_alignment = linesFor(where);
|
||||
|
||||
QList<Line> lines;
|
||||
for (DynamicElementTextItem *text : element->dynamicTextItems())
|
||||
if (!text->parentGroup() && text->isVisible())
|
||||
lines.append({text, text, text->pos(), text->property("alignment"), {}});
|
||||
for (ElementTextItemGroup *group : element->textGroups())
|
||||
if (group->isVisible())
|
||||
{
|
||||
Line line {group, group, group->pos(), group->property("alignment"), {}};
|
||||
for (DynamicElementTextItem *text : group->texts())
|
||||
line.old_texts.append({text, text->pos()});
|
||||
lines.append(line);
|
||||
}
|
||||
if (lines.isEmpty())
|
||||
return false;
|
||||
|
||||
//The lines first take the alignment of the block: a group lays its
|
||||
//texts out anew, and later changes of a text keep that side.
|
||||
for (const Line &line : lines)
|
||||
{
|
||||
Qt::Alignment a = line.old_alignment.value<Qt::Alignment>();
|
||||
if (qobject_cast<ElementTextItemGroup *>(line.object))
|
||||
a = lines_alignment == Qt::AlignHCenter ? Qt::AlignVCenter : lines_alignment;
|
||||
else
|
||||
a = (a & Qt::AlignVertical_Mask) | lines_alignment;
|
||||
line.object->setProperty("alignment", QVariant::fromValue(a));
|
||||
}
|
||||
|
||||
QRectF block;
|
||||
for (const Line &line : lines)
|
||||
block |= line.item->sceneBoundingRect();
|
||||
|
||||
const QRectF body = element->mapRectToScene(element->drawingRect());
|
||||
const qreal gap = SymbolTextPlacement::gap;
|
||||
QRectF to = block;
|
||||
if (where & Qt::AlignLeft) to.moveRight(body.left() - gap);
|
||||
else if (where & Qt::AlignRight) to.moveLeft(body.right() + gap);
|
||||
else to.moveLeft(body.center().x() - block.width() / 2);
|
||||
if (where & Qt::AlignTop) to.moveBottom(body.top() - gap);
|
||||
else if (where & Qt::AlignBottom) to.moveTop(body.bottom() + gap);
|
||||
else to.moveTop(body.center().y() - block.height() / 2);
|
||||
|
||||
for (const Line &line : lines)
|
||||
{
|
||||
const QRectF box = line.item->sceneBoundingRect();
|
||||
const qreal y = to.top() + box.top() - block.top();
|
||||
const qreal x = lines_alignment == Qt::AlignRight ? to.right() - box.width()
|
||||
: lines_alignment == Qt::AlignLeft ? to.left()
|
||||
: to.center().x() - box.width() / 2;
|
||||
moveTo(line.item, QPointF(x, y));
|
||||
|
||||
const QVariant alignment = line.object->property("alignment");
|
||||
if (alignment != line.old_alignment)
|
||||
new QPropertyUndoCommand(line.object, "alignment", line.old_alignment, alignment, parent);
|
||||
if (line.item->pos() != line.old_pos)
|
||||
new QPropertyUndoCommand(line.object, "pos", line.old_pos, line.item->pos(), parent);
|
||||
//The group's texts too: undoing its alignment to AlignJustify
|
||||
//would leave them where the new alignment put them
|
||||
for (const auto &text : line.old_texts)
|
||||
if (text.first->pos() != text.second)
|
||||
new QPropertyUndoCommand(text.first, "pos", text.second, text.first->pos(), parent);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
QUndoCommand *SymbolTextPlacement::place(const QList<Element *> &elements, Qt::Alignment where)
|
||||
{
|
||||
auto *undo = new QUndoCommand(
|
||||
QCoreApplication::translate("SymbolTextPlacement", "Place symbol texts"));
|
||||
bool any = false;
|
||||
for (Element *element : elements)
|
||||
any |= placeOne(element, where, undo);
|
||||
if (!any || !undo->childCount()) {
|
||||
delete undo;
|
||||
return nullptr;
|
||||
}
|
||||
return undo;
|
||||
}
|
||||
|
||||
QIcon SymbolTextPlacement::icon(Qt::Alignment where)
|
||||
{
|
||||
const Qt::Alignment lines = linesFor(where);
|
||||
const QPalette palette = QApplication::palette();
|
||||
QIcon icon;
|
||||
for (int size : {16, 22, 24, 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);
|
||||
|
||||
//The symbol
|
||||
painter.setPen(Qt::NoPen);
|
||||
painter.setBrush(palette.color(QPalette::Mid));
|
||||
painter.drawRect(QRectF(8, 8, 8, 8));
|
||||
|
||||
//Two lines of text, a long one over a short one
|
||||
const qreal right = (where & Qt::AlignLeft) ? 6.8 : (where & Qt::AlignRight) ? 24 : 19;
|
||||
const qreal left = (where & Qt::AlignLeft) ? 0 : (where & Qt::AlignRight) ? 17.2 : 5;
|
||||
const qreal top = (where & Qt::AlignTop) ? 0 : (where & Qt::AlignBottom) ? 16.6 : 8.3;
|
||||
painter.setBrush(palette.color(QPalette::WindowText));
|
||||
for (int i = 0; i < 2; ++i)
|
||||
{
|
||||
const qreal width = i == 0 ? right - left : (right - left) * 0.6;
|
||||
const qreal x = lines == Qt::AlignRight ? right - width
|
||||
: lines == Qt::AlignLeft ? left
|
||||
: (left + right - width) / 2;
|
||||
painter.drawRect(QRectF(x, top + i * 4.2, width, 3.2));
|
||||
}
|
||||
painter.end();
|
||||
icon.addPixmap(pixmap);
|
||||
}
|
||||
return icon;
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
#ifndef SYMBOLTEXTPLACEMENT_H
|
||||
#define SYMBOLTEXTPLACEMENT_H
|
||||
|
||||
#include <QIcon>
|
||||
#include <QList>
|
||||
#include <Qt>
|
||||
|
||||
class Element;
|
||||
class QUndoCommand;
|
||||
|
||||
/**
|
||||
Place the texts of a symbol -- its label and the notes beside it -- as
|
||||
one block at one of nine points around its drawing, the nine of the
|
||||
text alignment dialog. Left of the symbol, the lines are aligned right,
|
||||
so that the block hangs on the symbol and a longer text grows away
|
||||
from it; right of it, aligned left; above, below and on it, centred.
|
||||
The lines keep their order and their spacing; a group of texts is
|
||||
placed as one line of the block, with the same alignment.
|
||||
*/
|
||||
namespace SymbolTextPlacement
|
||||
{
|
||||
/// Room between the drawing of the symbol and the block
|
||||
constexpr double gap = 3;
|
||||
|
||||
/**
|
||||
@param elements : the symbols whose texts to place
|
||||
@param where : the side of the drawing, as a 9-point alignment:
|
||||
Qt::AlignLeft | Qt::AlignVCenter is left of the symbol, halfway
|
||||
up; Qt::AlignCenter is on it
|
||||
@return one undo step that places them (already placed), or
|
||||
nullptr when none of the symbols has a text
|
||||
*/
|
||||
QUndoCommand *place(const QList<Element *> &elements, Qt::Alignment where);
|
||||
|
||||
/**
|
||||
@return a picture of @a where: a grey square for the symbol, and
|
||||
two bars for the lines of text where they will go, lined up as
|
||||
they will be (left of the symbol, aligned right)
|
||||
*/
|
||||
QIcon icon(Qt::Alignment where);
|
||||
}
|
||||
|
||||
#endif // SYMBOLTEXTPLACEMENT_H
|
||||
@@ -122,6 +122,15 @@ if(Python3_Interpreter_FOUND AND CMAKE_GENERATOR STREQUAL "Ninja")
|
||||
--fixture ${CMAKE_CURRENT_SOURCE_DIR}/fixtures/linked_reports.qet)
|
||||
set_tests_properties(tst_reportjumpintegration PROPERTIES TIMEOUT 300 RUN_SERIAL TRUE
|
||||
ENVIRONMENT "QT_QPA_PLATFORM=offscreen")
|
||||
# "Place symbol texts": label and notes as one block at one of nine
|
||||
# points beside the drawing, aligned to hang on it; one undo step.
|
||||
add_test(NAME tst_symboltextplacementintegration
|
||||
COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/run_symbol_text_placement_probe.py
|
||||
--build ${CMAKE_BINARY_DIR} --binary $<TARGET_FILE:qelectrotech>
|
||||
--source ${CMAKE_CURRENT_SOURCE_DIR}/symbol_text_placement_probe.cpp
|
||||
--fixture ${CMAKE_CURRENT_SOURCE_DIR}/fixtures/unlinked_contact_label.qet)
|
||||
set_tests_properties(tst_symboltextplacementintegration PROPERTIES TIMEOUT 300 RUN_SERIAL TRUE
|
||||
ENVIRONMENT "QT_QPA_PLATFORM=offscreen")
|
||||
endif()
|
||||
if(Python3_Interpreter_FOUND AND CMAKE_GENERATOR STREQUAL "Ninja")
|
||||
add_test(NAME tst_darkimageintegration
|
||||
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Link the symbol text placement integration probe using an existing Ninja app build.
|
||||
|
||||
Reuses app objects without duplicating the app or introducing a core-library
|
||||
refactor. No application source or existing executable is replaced. The
|
||||
generated manifest, probe binary, reports and export fixtures stay in build/.
|
||||
"""
|
||||
import argparse
|
||||
import pathlib
|
||||
import re
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--build', required=True)
|
||||
parser.add_argument('--binary', required=True)
|
||||
parser.add_argument('--source', required=True)
|
||||
parser.add_argument('--fixture', required=True)
|
||||
args = parser.parse_args()
|
||||
build = pathlib.Path(args.build).resolve()
|
||||
binary = pathlib.Path(args.binary).resolve()
|
||||
source = pathlib.Path(args.source).resolve()
|
||||
fixture = pathlib.Path(args.fixture).resolve()
|
||||
manifest = (build / 'build.ninja').read_text(encoding='utf-8')
|
||||
match = re.search(r'^build (\S*?/sources/main\.cpp\.(?:obj|o)):', manifest, re.MULTILINE)
|
||||
if not match:
|
||||
sys.exit('Cannot find the application main object in the Ninja build.')
|
||||
main_object = match.group(1)
|
||||
probe_object = main_object.replace('main.cpp.', 'symbol_text_placement_probe.cpp.')
|
||||
probe_binary = binary.with_name('symbol_text_placement_probe' + binary.suffix)
|
||||
def escape(path):
|
||||
return pathlib.Path(path).as_posix().replace('$', '$$').replace(':', '$:').replace(' ', '$ ')
|
||||
main_source = source.parents[2] / 'sources' / 'main.cpp'
|
||||
manifest = manifest.replace(main_object, probe_object)
|
||||
manifest = manifest.replace(escape(main_source), escape(source))
|
||||
if binary.suffix:
|
||||
manifest = manifest.replace(binary.name, probe_binary.name)
|
||||
else:
|
||||
old_target = escape(binary.name if binary.parent == build else binary)
|
||||
new_target = escape(probe_binary.name if probe_binary.parent == build else probe_binary)
|
||||
manifest = manifest.replace('build ' + old_target + ':', 'build ' + new_target + ':')
|
||||
old_file = binary.name if binary.parent == build else binary.as_posix()
|
||||
new_file = probe_binary.name if probe_binary.parent == build else probe_binary.as_posix()
|
||||
manifest = re.sub(r'^ TARGET_FILE = ' + re.escape(old_file) + r'$',
|
||||
' TARGET_FILE = ' + new_file, manifest, flags=re.MULTILINE)
|
||||
probe_manifest = build / 'symbol-text-placement-probe.ninja'
|
||||
probe_manifest.write_text(manifest, encoding='utf-8')
|
||||
ninja = shutil.which('ninja')
|
||||
if not ninja:
|
||||
sys.exit('Ninja is required for the integration probe.')
|
||||
target = probe_binary.name if probe_binary.parent == build else str(probe_binary)
|
||||
subprocess.run([ninja, '-C', str(build), '-f', probe_manifest.name, target], check=True)
|
||||
output = build / 'symbol-text-placement'
|
||||
output.mkdir(exist_ok=True)
|
||||
report = output / 'results.txt'
|
||||
result = subprocess.run([str(probe_binary), str(fixture), str(report), str(output)], timeout=90)
|
||||
if report.exists():
|
||||
print(report.read_text(encoding='utf-8', errors='replace'))
|
||||
sys.exit(result.returncode)
|
||||
@@ -0,0 +1,206 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
// Placing the texts of a symbol at one of nine points, linked against the
|
||||
// application's objects.
|
||||
//
|
||||
// "Place symbol texts" puts the label and the notes of a symbol as one
|
||||
// block beside its drawing, 3 px away, at one of the nine points of the
|
||||
// text alignment dialog. Left of the symbol the lines are aligned right,
|
||||
// so that they hang on it and a longer text grows away from it; right of
|
||||
// it aligned left; above it centred. The lines keep their order and their
|
||||
// spacing, a group of texts is placed as one line, a turned symbol is
|
||||
// placed in the folio's directions, and one undo puts everything back.
|
||||
#include <QApplication>
|
||||
#include <QFontDatabase>
|
||||
#include <QImage>
|
||||
#include <QPainter>
|
||||
#include <QSettings>
|
||||
#include <QTemporaryDir>
|
||||
#include <QUndoCommand>
|
||||
#include <cstdio>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "../../sources/diagram.h"
|
||||
#include "../../sources/qetproject.h"
|
||||
#include "../../sources/qetmessagebox.h"
|
||||
#include "../../sources/symboltextplacement.h"
|
||||
#include "../../sources/qetgraphicsitem/element.h"
|
||||
#include "../../sources/qetgraphicsitem/dynamicelementtextitem.h"
|
||||
#include "../../sources/qetgraphicsitem/elementtextitemgroup.h"
|
||||
|
||||
static void check(bool value, const char *message)
|
||||
{
|
||||
if (!value) throw std::runtime_error(message);
|
||||
std::printf("ok: %s\n", message);
|
||||
}
|
||||
|
||||
static bool same(qreal a, qreal b) { return qAbs(a - b) < 0.6; }
|
||||
|
||||
static QRectF body(Element *e) { return e->mapRectToScene(e->drawingRect()); }
|
||||
|
||||
static QRectF block(const QList<DynamicElementTextItem *> &texts)
|
||||
{
|
||||
QRectF r;
|
||||
for (DynamicElementTextItem *t : texts) r |= t->sceneBoundingRect();
|
||||
return r;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
QApplication app(argc, argv);
|
||||
std::freopen(argv[2], "w", stdout);
|
||||
|
||||
QTemporaryDir settings;
|
||||
QSettings::setDefaultFormat(QSettings::IniFormat);
|
||||
QSettings::setPath(QSettings::IniFormat, QSettings::UserScope, settings.path());
|
||||
QCoreApplication::setOrganizationName("QETSymbolTextPlacementRegression");
|
||||
QETProject::setBackupEnabled(false);
|
||||
QET::QetMessageBox::setNonInteractive(true);
|
||||
QFontDatabase::addApplicationFont(":/fonts/LiberationSans-Regular.ttf");
|
||||
|
||||
try
|
||||
{
|
||||
QETProject project(QString::fromLocal8Bit(argv[1]));
|
||||
check(project.state() == QETProject::Ok, "fixture opens");
|
||||
project.buildFolios(project.diagrams());
|
||||
Diagram *scene = project.diagrams().first();
|
||||
Element *element = scene->elements().first();
|
||||
check(element && !element->drawingRect().isEmpty(), "the fixture has a drawn symbol");
|
||||
check(element->drawingRect().width() <= element->boundingRect().width(),
|
||||
"the drawing is no wider than the frame");
|
||||
|
||||
//The symbol's own texts and three of ours, to the right of it
|
||||
for (DynamicElementTextItem *t : element->dynamicTextItems()) t->setVisible(false);
|
||||
QList<DynamicElementTextItem *> texts;
|
||||
const QStringList lines {"-FI1", "40 A / 30 mA, type A", "FI UG"};
|
||||
for (int i = 0; i < lines.size(); ++i) {
|
||||
auto *t = new DynamicElementTextItem(element);
|
||||
t->setTextFrom(DynamicElementTextItem::UserText);
|
||||
t->setText(lines[i]);
|
||||
t->setPos(80 + 5 * i, -20 + 12 * i);
|
||||
element->addDynamicTextItem(t);
|
||||
texts << t;
|
||||
}
|
||||
QList<QPointF> start;
|
||||
for (DynamicElementTextItem *t : texts) start << t->pos();
|
||||
const QRectF before = block(texts);
|
||||
|
||||
// Left of the symbol, halfway up: aligned right, 3 px away.
|
||||
QUndoCommand *undo = SymbolTextPlacement::place({element}, Qt::AlignLeft | Qt::AlignVCenter);
|
||||
check(undo, "placing gives one undo step");
|
||||
scene->undoStack().push(undo);
|
||||
QRectF b = block(texts);
|
||||
check(same(b.right(), body(element).left() - SymbolTextPlacement::gap), "left: the block ends 3 px before the drawing");
|
||||
check(same(b.center().y(), body(element).center().y()), "left: halfway up the drawing");
|
||||
bool right_aligned = true, keeps_order = true;
|
||||
for (int i = 0; i < texts.size(); ++i) {
|
||||
right_aligned &= same(texts[i]->sceneBoundingRect().right(), b.right());
|
||||
right_aligned &= bool(texts[i]->alignment() & Qt::AlignRight);
|
||||
if (i) keeps_order &= same(texts[i]->sceneBoundingRect().top() - texts[i-1]->sceneBoundingRect().top(), 12);
|
||||
}
|
||||
check(right_aligned, "left: the lines are aligned right, on the screen and as their alignment");
|
||||
check(keeps_order, "the lines keep their order and their spacing");
|
||||
check(same(b.height(), before.height()), "the block keeps its height");
|
||||
|
||||
scene->undoStack().undo();
|
||||
bool back = true;
|
||||
for (int i = 0; i < texts.size(); ++i) back &= texts[i]->pos() == start[i] && !(texts[i]->alignment() & Qt::AlignRight);
|
||||
check(back, "one undo puts every text and its alignment back");
|
||||
scene->undoStack().redo();
|
||||
|
||||
// Right of it: aligned left. Above it: centred.
|
||||
scene->undoStack().push(SymbolTextPlacement::place({element}, Qt::AlignRight | Qt::AlignVCenter));
|
||||
b = block(texts);
|
||||
check(same(b.left(), body(element).right() + SymbolTextPlacement::gap), "right: the block starts 3 px after the drawing");
|
||||
check(same(texts[1]->sceneBoundingRect().left(), b.left()) && (texts[1]->alignment() & Qt::AlignLeft),
|
||||
"right: the lines are aligned left");
|
||||
scene->undoStack().push(SymbolTextPlacement::place({element}, Qt::AlignHCenter | Qt::AlignTop));
|
||||
b = block(texts);
|
||||
check(same(b.bottom(), body(element).top() - SymbolTextPlacement::gap), "above: the block ends 3 px above the drawing");
|
||||
check(same(texts[0]->sceneBoundingRect().center().x(), body(element).center().x()), "above: the lines are centred on it");
|
||||
|
||||
// A turned symbol: left in the folio is still left.
|
||||
element->setRotation(90);
|
||||
scene->undoStack().push(SymbolTextPlacement::place({element}, Qt::AlignLeft | Qt::AlignVCenter));
|
||||
b = block(texts);
|
||||
check(same(b.right(), body(element).left() - SymbolTextPlacement::gap), "turned symbol: the block is left of it in the folio");
|
||||
element->setRotation(0);
|
||||
|
||||
// A group of texts is one line of the block, aligned like it.
|
||||
ElementTextItemGroup *group = element->addTextGroup(QStringLiteral("g"));
|
||||
element->addTextToGroup(texts[1], group);
|
||||
element->addTextToGroup(texts[2], group);
|
||||
scene->undoStack().push(SymbolTextPlacement::place({element}, Qt::AlignLeft | Qt::AlignVCenter));
|
||||
QRectF with_group = texts[0]->sceneBoundingRect() | group->sceneBoundingRect();
|
||||
check(same(with_group.right(), body(element).left() - SymbolTextPlacement::gap)
|
||||
&& same(group->sceneBoundingRect().right(), with_group.right()),
|
||||
"a group is placed as one line of the block");
|
||||
check(group->alignment() == Qt::AlignRight, "and is aligned right too");
|
||||
|
||||
// A group whose texts lie freely (AlignJustify, the default of the
|
||||
// "Label and comment" group): placing it lays its texts out anew,
|
||||
// and one undo puts them back where they lay, not only the group.
|
||||
scene->undoStack().undo();
|
||||
group->setAlignment(Qt::AlignJustify);
|
||||
texts[1]->setPos(0, 0);
|
||||
texts[2]->setPos(5, 12);
|
||||
const QPointF group_pos = group->pos();
|
||||
scene->undoStack().push(SymbolTextPlacement::place({element}, Qt::AlignRight | Qt::AlignVCenter));
|
||||
check(texts[2]->pos() != QPointF(5, 12), "placing lays the group's texts out anew");
|
||||
scene->undoStack().undo();
|
||||
check(group->alignment() == Qt::AlignJustify && group->pos() == group_pos,
|
||||
"undo puts the group's alignment and place back");
|
||||
check(texts[1]->pos() == QPointF(0, 0) && texts[2]->pos() == QPointF(5, 12),
|
||||
"undo puts the group's texts back where they lay");
|
||||
scene->undoStack().redo();
|
||||
check(group->alignment() == Qt::AlignLeft && texts[2]->pos() != QPointF(5, 12),
|
||||
"redo places them again");
|
||||
|
||||
// A symbol with no texts: nothing to undo.
|
||||
Element *other = nullptr;
|
||||
for (Element *e : scene->elements()) if (e != element) other = e;
|
||||
if (other) {
|
||||
for (DynamicElementTextItem *t : other->dynamicTextItems()) t->setVisible(false);
|
||||
check(SymbolTextPlacement::place({other}, Qt::AlignLeft) == nullptr, "a symbol without texts gives no undo step");
|
||||
}
|
||||
// The icons show where the texts go: bars left of the grey square
|
||||
// for "left", right of it for "right", above it for "above".
|
||||
auto dark = [](const QImage &img, const QRect &r) {
|
||||
int n = 0;
|
||||
for (int y = r.top(); y <= r.bottom(); ++y)
|
||||
for (int x = r.left(); x <= r.right(); ++x) {
|
||||
const QColor c = img.pixelColor(x, y);
|
||||
if (c.alpha() > 128 && c.lightness() < 60) ++n;
|
||||
}
|
||||
return n;
|
||||
};
|
||||
const QImage left = SymbolTextPlacement::icon(Qt::AlignLeft | Qt::AlignVCenter).pixmap(24, 24).toImage();
|
||||
const QImage right = SymbolTextPlacement::icon(Qt::AlignRight | Qt::AlignVCenter).pixmap(24, 24).toImage();
|
||||
const QImage above = SymbolTextPlacement::icon(Qt::AlignHCenter | Qt::AlignTop).pixmap(24, 24).toImage();
|
||||
check(dark(left, QRect(0, 8, 7, 8)) > 10 && dark(left, QRect(17, 0, 7, 24)) == 0, "the icon for left has its bars left of the symbol");
|
||||
check(dark(right, QRect(17, 8, 7, 8)) > 10 && dark(right, QRect(0, 0, 7, 24)) == 0, "the icon for right has them right of it");
|
||||
check(dark(above, QRect(6, 0, 12, 7)) > 10 && dark(above, QRect(0, 17, 24, 7)) == 0, "the icon for above has them above it");
|
||||
|
||||
//All nine side by side, to look at
|
||||
QImage sheet(3 * 52, 3 * 52, QImage::Format_ARGB32);
|
||||
sheet.fill(Qt::white);
|
||||
QPainter p(&sheet);
|
||||
const Qt::Alignment nine[] = {
|
||||
Qt::AlignLeft | Qt::AlignTop, Qt::AlignHCenter | Qt::AlignTop, Qt::AlignRight | Qt::AlignTop,
|
||||
Qt::AlignLeft | Qt::AlignVCenter, Qt::AlignCenter, Qt::AlignRight | Qt::AlignVCenter,
|
||||
Qt::AlignLeft | Qt::AlignBottom, Qt::AlignHCenter | Qt::AlignBottom, Qt::AlignRight | Qt::AlignBottom};
|
||||
for (int i = 0; i < 9; ++i)
|
||||
p.drawPixmap((i % 3) * 52 + 2, (i / 3) * 52 + 2, SymbolTextPlacement::icon(nine[i]).pixmap(48, 48));
|
||||
p.end();
|
||||
if (argc > 3) sheet.save(QString::fromLocal8Bit(argv[3]) + "/icons.png");
|
||||
|
||||
std::puts("PASS");
|
||||
}
|
||||
catch (const std::exception &error)
|
||||
{
|
||||
std::printf("FAIL: %s\n", error.what());
|
||||
std::fflush(stdout);
|
||||
return 1;
|
||||
}
|
||||
std::fflush(stdout);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user