Repository navigation
grouping_items
Some things on a sheet belong together: a picture and its caption, a symbol with a frame drawn round it, a block of symbols with the notes that explain them. Without groups they have to be selected piece by piece every time they move or are copied, and it is easy to leave one behind.
Group ties selected items together so that they select, move, copy and delete as one. Ungroup undoes it. This was asked for in issue #349 and on the forum (#2467, #356), and proposed in discussion #1070.
Menu names are given in French, as QElectroTech shows them until the translations are updated, with an English gloss in italics.
- Select two or more items. Any mix of these can be grouped:
- symbols,
- free texts,
- shapes (lines, rectangles, ellipses, polygons),
- pictures.
- Choose Edit βΈ Group βΈ Group. It is also in the right-click menu of the selection, and in command search (Ctrl+Shift+M, type "grouper").
Group is greyed out when the selection is fewer than two items, or is already exactly one group.
Wires are never part of a group. They are drawn between symbols, so they follow their symbols when the group moves, exactly as they do today.
| You do | What happens |
|---|---|
| Click any member | the whole group is selected |
| Click again on a member of a selected group, without dragging | only that member stays selected, to edit it on its own (Β§3) |
| Drag a member | the whole group moves |
| Arrow keys, with the group selected | the whole group moves |
| Draw a selection rectangle that touches part of a group | the whole group is selected when you release the mouse |
| Ctrl+click a member of a selected group | the whole group leaves the selection, as a single item would |
| Ctrl+click a member of an unselected group | the whole group joins the selection |
| Copy, cut, Delete | act on the whole group |
| Shift+Space, Rotate the group | the whole group turns 90Β° round its centre, keeping its layout |
| Space, Rotate, with only the group selected | the same: the group turns as one piece (Β§3) |
| Paste | the copy is a new group of its own, separate from the original |
| Duplicate a sheet | each group on it becomes a new group on the copy |
Grouping groups merges them. Select a group and another item (or another group) and choose Group: the result is one group holding all of them. There are no groups inside groups.
- Click any member: the whole group is selected.
- Click the same or another member of that group again, without dragging: now only that member is selected.
- Edit it on its own β move it, change its properties, delete it. The rest of the group stays where it is and stays grouped.
Clicking a member of that group once more selects the whole group again. Clicking on a symbol's own text (its label, for example) counts as clicking the symbol. A drag never picks one member out: dragging a member of a selected group moves the whole group.
With a whole group selected (and nothing else), Space, Rotate turns the group 90Β° round its centre, keeping its layout β exactly what Shift+Space, Rotate the group, does.
Any other selection rotates as before, each item where it stands: several items that are not one group, a group together with other items, or a single member picked out of its group. Wires between the group's symbols do not count as "other items" β they follow their symbols.
If one member of a group has its position locked, the whole group stays put, whichever member you drag, and the status bar says why: This group cannot be moved: the position of one of its elements is locked. The arrow keys and the Align commands follow the same rule. To move the group, unlock the item or ungroup.
Select a group, or any member of it, and choose Edit βΈ Group βΈ Ungroup, also in the right-click menu and command search. Every member becomes a separate item again, and nothing moves.
Both commands are undoable. Undoing Ungroup restores exactly the groups there were before, not new ones.
Neither command has a default shortcut (Ctrl+G is already go to element). You can assign one under Configure QElectroTech βΈ Shortcuts, in the Diagram editors group.
Each grouped item carries one extra attribute, group, holding the group's
id; members of the same group share the id. Nothing else in the file
changes:
- A project without groups saves exactly as it did before, byte for byte.
- An older version of QElectroTech opens a project with groups, shows every item, and simply ignores the grouping. If it saves the project, the groups are lost.
Groups are also recorded in the project database (a group_uuid column on
the element, shape, free-text and picture tables), so a query or script can
find which items belong together. See
The project database.
Planned in discussion #1070, not built:
- Distribute (spacing items evenly). The Align commands already treat a group as one item, see Aligning items.
- Nested groups.
- Groups in the symbol editor (element editor).
Group selected texts, which groups the texts of one symbol, is a different, older feature and is not affected.
- Aligning items β putting symbols back on the grid
- Templates β saving a set of items for reuse: select them and use Create a template in the right-click menu
- Mouse modifiers β what Ctrl and Shift change while you select and drag
- The project database β the tables a query or script can read
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
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
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 (partly pending)
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
Linking wires across pages β sheet reports
Variables & formulas β %f, %{label}, sequences
Auto-numbering β schemes, sequences, freezing
Terminal strips β strips, levels, bridges
Title block templates β the .titleblock format
Importing EPLAN parts (.edz) β EPLAN Data Portal
DXF import & export β two unrelated features, one format; command-line export and layers
The project database β the in-memory SQLite cache
Development
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
