Repository navigation
symbol_texts
How to control where the texts of a symbol (its label, notes and other dynamic texts) sit, how big their boxes are, and how to format texts in bulk.
| Task | Section |
|---|---|
| Put a symbol's label and notes in one block at one of nine points | 1 |
| The same from a script | 2 |
| Give a text a fixed width or height | 3 |
| Copy one symbol's text styling onto others | 4 |
| Format the cells of a title block in bulk | 5 |
| Use a Russian GOST ESKD title block | 6 |
| Show the target folio's title in a folio report | 7 |
Edit β Place symbol texts takes the selected symbols and places the label and the notes as one block beside each symbol, at one of nine points around its drawing: top-left, top, top-right, left, centre, right, bottom-left, bottom, bottom-right. The command's icon shows the point currently chosen; the button's drop-down offers the nine points as a small grid. The whole placement is one undo step.
Alignment inside the block follows the side: left of the symbol the lines are aligned right, right of it they are aligned left, anywhere else they are centred. Corner points keep the texts level with the symbol's body.
The command has a shortcut entry (Diagram editors), with no key assigned by default.
// symbols on folio 0, label and notes to the right of each
qet.placeElementTexts(0, uuids, "right");where is one of top-left, top, top-right, left, center, right,
bottom-left, bottom, bottom-right. It returns true when at least one
symbol's texts were placed, in one undo step. All the symbols must be on the
folio given. In a read-only project it logs a message and does nothing. See
Scripting.
In a symbol's text properties, Width and Height each have a tick box.
| Setting | Ticked | Not ticked |
|---|---|---|
| Width fixed | The field keeps the width in the row above and the text wraps inside it. | The field is as wide as the text; the value only shows the size it has now. |
| Height fixed | The field keeps the height above and lines that do not fit are cut off. | The field is as high as the text. |
A text kept at a fixed width is outlined and clicked only where it is written, not over its whole box.
Text groups keep the point they are aligned on, so a group that grows or shrinks stays anchored where you set it.
Select a symbol, use Copy text format, then select other symbols and use Apply text format. The styling and layout of the texts are carried over; the texts themselves are not changed. The status bar confirms each step.
In the title block template editor, Format text of cells... opens Format title block cells. Only the properties you tick are changed; alignment applies to the whole cell.
| Control | Choices |
|---|---|
| Apply to | Selected cells or All text cells |
| Text | Captions and values, Captions only, Values only |
| Font | Font family, Font size (via Choose font...), Bold and Italic each Unchanged / On / Off |
| Colour | Text colour (via Choose colour...), Opacity |
| Horizontal alignment | Left, Centre, Right |
See Title blocks.
The title block collection includes templates for the Russian standard
GOST 2.104: ESKD_Form1, ESKD_Form2a and ESKD_Form2_text. Choose one like
any other template in the folio's properties.
In a folio report's text, %T is replaced by the title of the folio the
report points to. It is replaced last, so a title such as Schema %c stays
as typed and its own variables are not expanded. %T is recognised on its
own only, not as the start of a longer word. Element information also works in
composite texts. See Variables and Linking wires across
pages.
A text that sits on top of a wire is hard to read, and moving texts one by one is slow. Edit β Texts β Keep texts clear of wires... finds the symbol texts and free texts that lie on a wire and moves each to the nearest free spot. The dialog (Keep texts clear of wires) has:
| Field | Meaning | Default |
|---|---|---|
| Look at | Selected texts and symbols or This folio. The first is offered only when something is selected | the selection if there is one, else the folio |
| Gap to keep | the gap left between a text's box and a wire | 4 |
| Move a text at most | a text is never moved further than this | 30 |
| Direction | Shortest way, Sideways only or Up or down only | Shortest way |
The dialog says how many texts would move (for example "3 text(s) would move") and how many more sit on a wire with no free place within reach. Move texts does it, as one undo step; it is greyed out when nothing would move. A second run moves nothing.
The texts of wires, and texts inside a text group, stay where they are. The command has no default shortcut. From a script:
// folio 0, keep a gap of 4, move a text at most 30; returns how many moved
var moved = qet.clearTextsFromWires(0, 4, 30);Idea from #1650. Added in #1700.
Since 0.100, dragging a symbol's label moves the whole symbol unless you hold Shift. To get the older behaviour back, tick Drag symbol texts without holding Shift (Settings β Configure QElectroTech β General, tab Mouse and input, group Drawing and moving; off by default):
| Setting off | Setting on | |
|---|---|---|
| plain drag on a symbol's text | moves the symbol | moves the text |
| Shift + drag | moves the text | moves the symbol |
| plain click | selects the symbol | selects the text, so Space turns the text instead of the symbol |
The hover tip and the status bar hint during a drag say which key does what. Text groups already move without Shift. See Mouse modifiers Β§2.
Added in #1726 (issue #1576).
With Upright symbol texts read from bottom to top ticked (see Drawing aids Β§10), a text on a turned symbol is drawn the other way round so it never reads top to bottom. Two cases still came out wrong and are fixed: a text that changed size, or a text added to a symbol already turned, which is what happens when a sheet is opened (seen on a sheet with 45 turned folio reports). Added in #1713.
Free texts open the Edit text dialog, with a Rich Text tab and a Source tab. Pasting from a web page or a PDF used to bring stubborn blue links, dark backgrounds, headings that do not scale and, sometimes, an empty paste. Now:
- Simplify Rich Text unwraps headings and external hyperlinks into plain paragraphs, strips dark backgrounds and no longer leaves an empty paste.
- Font size scales every text block of the text.
- Applying a colour, or Default project font, strips the blue link styling so the text is uniformly coloured.
- A Font family box is on the editor's toolbar.
- Text Color and Text Background Color show a solid swatch and a quick palette in their drop-down, with No background color and More colors....
- Default project font works again without freezing the editor when it unifies the formatting.
- The text field placing tool shows a small badge on the cursor, and Esc cancels the text creation cleanly.
Added in #1797.
Checked against build
b49ce16c4on 2026-11-27 (read from source: the labels, menus and defaults in the sections added on 2026-11-27, checked against that build's source; not run).
Getting Started
π Languages β English Β· FranΓ§ais Β· Deutsch
Windows without admin rights β the portable archive, no installer
Guides
Conductors β wire properties, what feeds which export, cables, and hops where wires cross
Wires per terminal β limit the wires on a terminal, chain wiring instead of stars
Printing and exporting β paper, PDF, images, and what each path does differently
Linking elements β master, slave, terminal
PLC modules β I/O tables and linking a wire to a specific point
Using the element editor β drawing tools, saving, checks
Generic devices β a quick box symbol with terminals on any side, made by a wizard
Grid size and element size β why symbols aren't all the same scale, and scaling one without leaving the grid
Preferences reference β what each settings page does
Saving and loading settings β your whole setup in one file, to copy or keep
Keyboard-only control β mouseless QET, and what still needs a mouse
Mouse modifiers β what Shift, Ctrl and Alt change while you drag
3D mouse β SpaceMouse pan, zoom and buttons
Aligning items β snap symbols back to the grid, or line them up
Drawing aids β dark mode, snap and grid step, crosshair, dimensions, the tape measure
Symbols already on the sheet β select the same symbols, replace them, show a T-junction as a dot, update placed copies from the collections
Symbol texts β place the texts at nine points, fixed or free size, format painter, title block cells, GOST ESKD, %T
Wiring tools β automatic connections, the Connections toolbar, chained folio reports, a cable across wires
Symbols and parts β edit several symbols, relay contact display, grouped parts list
Device types β what a device is made of: check, place and change its parts, Device Navigator
Project languages and checks β languages in a project, cell origin, duplicate labels, the Check panel
Reports and lists β project lists to CSV/PDF, tables on a folio, label-printer export, symbol list
Pictures on a sheet β labels, crop, transparency, what they cost in the file
Arcs and curved wires β the Arc tool, pulling an arc in or out, rounding a corner with a fillet, dashed arcs for lighting layouts
Grouping items β select, move and copy several items as one
Finding your place on a sheet β go to a cell like B13 or 4-B7, keep the headers in sight, show the cell limits, zoom and pan
Showing and hiding kinds of items β hide texts, wire numbers, shapes, pictures, tables or cross-references on every sheet
Drawing faster β place without dragging, the S shortcut bar, command search, gestures
Customising QElectroTech β keys, toolbar size and contents, the gesture ring
Managing collections β folders, writability, building your own shortlist
Templates β reusable multi-element blocks, placed by double-click or drag
Search & Replace β bulk property changes
Building a nomenclature query β the BOM/summary table builder
Formula columns β build a calculated column in a parts list without writing SQL
Linking wires across pages β sheet reports
Variables & formulas β %f, %{label}, sequences
Auto-numbering β schemes, sequences, freezing
Terminal strips β strips, levels, bridges
Connectors β plugs and sockets as terminal strips or head-with-pins devices, device types, pin check, spare-pin plans
Title block templates β the .titleblock format
Title block alignment β place a title block inside or outside the sheet, left, centred or right
Plants and locations β list, rename, copy a plant, suggestions
Designations and structure boxes β IEC 81346 names, structure boxes, ==/++ levels, folio groups, company prefixes
Revisions, document kinds and drawing standard β revision list and table, IEC 61355 document kind, project standard
Importing EPLAN parts (.edz) β EPLAN Data Portal
DXF import & export β two unrelated features, one format; command-line export and layers
Project files β .qetz (zipped, the default) and .qet, what is inside, opening big projects faster, starting from a template
The one-file project, .qetdb β history of saves, repair, --query over many projects
Saving safely β previous versions, a project open elsewhere, damaged files, crash recovery
The project database β the working SQLite database built when a project opens
Development
Code style β the QET house style for C++, and formatting only the lines you change
Fix or add with an AI assistant β beginner build setup and a prompt that does the work
Check your change: qet-verify β run it before every pull request
Posting with an AI assistant β short, plain pull requests and replies
Translate with an AI assistant β draft the interface in your language, check it, send it
Making a how-to video β a short feature video from a checked story
Writing wiki pages with an AI assistant β the rules, and a checker to run before you push
Automating QET β CLI, XML formats, external tools
CLI Reference β command line usage
JavaScript Scripting β --run, geometry editing, undo
MCP server β let an AI assistant read, verify and edit projects
Connecting an AI assistant β setup for Claude, Copilot, Gemini, Codex, Cursor, LM Studio
Script buttons β stored scripts with an icon, by hand or by an assistant
Live mode β an assistant working in the open project while you watch
Macro recorder β record a task by hand, for an assistant to script
Vision β proposal, under discussion
