Skip to content
ispyisail edited this page Oct 7, 2026 · 11 revisions

Managing collections

This page covers the Elements panel itself β€” organizing folders, moving and deleting elements, what "writable" actually means day to day, and how to build yourself a shortcut to the devices you actually reach for instead of hunting through the shared collection every time (Β§4). Separate pages cover the file format (Elements XML) and drawing one element (Using the element editor).

Source: sources/ElementsCollection/ β€” elementscollectionwidget.cpp (the panel), elementstreeview.cpp / elementscollectionmodel.cpp (the tree), elementslocation.cpp (identity and writability).


1. Two tabs, one panel

The Elements panel has two tabs:

Tab Shows
Collections the element tree β€” common, custom, company, and anything embedded in the current project
Modèles (Templates) reusable diagram fragments ("macros"), separate from single elements — see Templates

A macro is a saved chunk of diagram content β€” elements, conductors, whatever was selected β€” placed back as a group. It is a distinct mechanism from an element and is covered on its own page, Templates; the browsing and folder-management rules on this page apply equally to both tabs.

Placing from the panel

There are two ways to put a symbol or a template on the sheet:

  • Drag it onto the sheet.
  • Double-click it, or select it and press Enter. A preview appears at the mouse pointer if the pointer is over the sheet, otherwise in the middle of the view, and follows the pointer until you click. Escape or a right-click cancels. A then places the same symbol again β€” see Drawing faster.

Before 27 September 2026 a double-click opened the symbol in the element editor instead. To get that back, tick Double-cliquer dans la collection ouvre l'Γ©diteur d'Γ©lΓ©ment au lieu de l'insΓ©rer (Double-clicking in the collection opens the element editor instead of inserting) in Configurer QElectroTech > GΓ©nΓ©ral, tab Apparence. Either way, Γ‰diter l'Γ©lΓ©ment in the right-click menu always opens the editor.

Searching

The search box at the top filters the current tab as you type.

A search shows one flat list, best match first, instead of the filtered tree. Down moves from the search box into the list; double-click or Enter on a result places it, as above.

Prefer the filtered tree? Untick Afficher les rΓ©sultats de recherche sous forme de liste triΓ©e (Show search results as a ranked list) in Configurer QElectroTech > GΓ©nΓ©ral (PR #1083). The search then filters the tree as it did before, with the tree's own keyboard navigation.

Searching 'diode' two ways: on the left the ranked list (Diode, diode-tube, Diode bridge…), on the right the filtered tree, opened down to Electric > All-pole > Electronics and semiconductors > Diode


2. The three collections, and which ones you can actually edit

Collection Location Writable?
Common ships with QET No β€” always read-only, regardless of file permissions on disk
Custom yours yes
Company shared within an organisation yes
Embedded inside the open project follows the project β€” read-only if the project itself is read-only

The common collection's read-only status is not a permissions check β€” ElementsLocation::isWritable() refuses it unconditionally, by path. That's why New folder, New element, rename and delete are always greyed out there, even running as an administrator.

All three top-level paths (plus the two title-block-template paths and the macros path) can be relocated from Preferences β†’ General.


3. Organizing elements

Right-click in the tree for:

Action Does
Nouveau dossier (New folder) creates a sub-folder β€” only where the collection is writable
Nouvel Γ©lΓ©ment (New element) starts the new-element wizard in that folder
Importer une piΓ¨ce EPLAN (.edz)… imports an EPLAN part into that folder β€” see EDZ import
Γ‰diter l'Γ©lΓ©ment (Edit the element) opens it in the element editor (not offered for a template)
Γ‰diter le dossier (Edit the folder) rename it
Supprimer l'Γ©lΓ©ment (Delete the element) asks for confirmation, then removes the file β€” not undoable
Supprimer le dossier (Delete the folder) asks for confirmation, then removes the folder and everything in it β€” not undoable
Ouvrir le dossier correspondant (Open the corresponding folder) reveals the location in your OS file manager
Recharger les collections (Reload collections) re-reads the collection tree from disk β€” useful after editing files outside QET
Afficher uniquement ce dossier / Afficher tous les dossiers (Show only this folder / Show all folders) a "solo" filter, to focus the tree on one branch
PropriΓ©tΓ© du dossier (Folder properties) filesystem path, plus a count of elements and sub-folders it holds

Drag and drop always copies, never moves. Checked directly: ElementCollectionHandler has a copy() method and no move() at all, and the model's dropMimeData() ignores the drop action it's given and calls copy() unconditionally. Drag an element from the common collection, your own custom folder, or anywhere else onto a writable folder, and the original stays exactly where it was β€” you get a second copy, not a relocation. You can't drop onto the common collection at all (it refuses any write, per Β§2). If the destination already has a file or folder with the same name, you're asked β€” erase the existing one, or give the new copy a different name β€” rather than either side losing data silently.

Deletion is real deletion, not a QET-level undo/trash. If a folder or element might still be needed, keep a copy elsewhere rather than delete it β€” there's no "move" to rely on for that, only copy-then-manually-delete.


4. Building a personal shortlist of the elements you actually use

The shipped common collection is organized by device category across the whole trade β€” thousands of elements, deep folders, and no way to mark one as a favourite. If you keep reaching for the same twenty or thirty devices across every project, the tools above already combine into a real solution, without waiting on a "favourites" feature that doesn't exist yet:

  1. Right-click "Collection utilisateur" (your custom collection) β†’ New folder. Build whatever structure actually matches how you think about your own work β€” by project type, by panel, alphabetically by name, flat with no subfolders at all. It's yours; the common collection's structure has no say in it.
  2. Find each device once, however you normally would β€” browsing, or the search box (Β§1; it matches display names, not filenames).
  3. Drag it onto your new folder. This copies it in, per Β§3 above β€” the original in the common collection is untouched, so you're never at risk of breaking the shared library while building your own shortcut to it.
  4. Repeat for every device you reach for often. From then on, they're one level deep under Collection utilisateur, in an order you chose.

This user collection is also the palette of the Insert element picker, which shows it as a grid at the cursor β€” see Drawing faster.

"Show only this folder" (Β§3) is the other half of this: once your shortlist folder exists, right-click it and solo it to hide the entire common collection tree while you work, then "Show all folders" when you need to find something new. That combination β€” a small hand-picked folder, solo-filtered β€” is the closest thing QET currently has to a favourites list, built entirely from the copy-and-organize primitives above rather than a dedicated feature.

This is a snapshot, not a live link. A copied element doesn't track its common-collection original β€” if the shipped version of a device is later fixed or improved, your copy doesn't pick that up automatically. Redo the copy if you want the update. That trade-off is the same one embedded elements make (Β§5), just deliberate here instead of automatic.


5. Elements embedded in a project

A project can carry its own copy of elements it uses, independent of any collection on disk β€” that's the Embedded row above. This is what makes a .qet file self-contained: send someone the file, and elements you pulled from your custom collection travel with it, correctly rendered, even though the recipient has no such collection.

Cabinet thumbnails

To lay out a cabinet you need a block for each device that says what it is. Select symbols on a sheet, right-click, and choose GΓ©nΓ©rer une vignette d'armoire (Generate cabinet thumbnail). Every selected symbol that has both a manufacturer and a manufacturer reference in its information gets a thumbnail: a 120 Γ— 30 frame showing those two values. The thumbnails go into a Cabinet thumbnails folder of the project's embedded collection, ready to drag onto a cabinet layout sheet.

  • A device already in the folder is skipped, so running it again, or on several copies of one device, adds nothing.
  • The entry is hidden when no selected symbol has both values.
  • Like anything embedded, the thumbnails travel inside the .qet file.

A selection's right-click menu with GΓ©nΓ©rer une vignette d'armoire below CrΓ©er un template

Three coils KM1, KM2 and KM3 on a sheet, with a thumbnail placed below each: frames reading Schneider Electric LC1D09BD, Schneider Electric LC1D18BD and Siemens 3RT2015-1BB41; on the right, the same three in the project's Cabinet thumbnails folder

Since PR #1170 (merged 2026-09-29); discussion #602.


See also: Elements XML Β· Using the element editor Β· Preferences reference Β· Importing EPLAN parts (.edz)

Looking for how to select items already placed on a diagram (Tab-cycling, select all, invert selection) rather than finding one to place? That's Keyboard-only control, a different meaning of "select" from everything on this page.


6. Cleaning a project's embedded collection

A project accumulates embedded copies: every element you place is stored inside the .qet file, and deleting the element from a sheet does not remove the stored definition. Over a long project that adds up.

Project β†’ Nettoyer le projet offers three checkboxes, all ticked by default:

Option Removes
Unused title block templates embedded title block templates no sheet uses
Unused elements embedded element definitions that no sheet places
Empty categories embedded folders left with nothing in them

"Unused" is decided by looking at what the sheets actually place, so an element you deleted from the drawing yesterday counts as unused today.

This cannot be undone. Cleaning does not go through the undo stack β€” there is no undo command to reverse, and Ctrl+Z will not bring the definitions back. The only way out is to close the project without saving. Save first if you are not certain.

It only touches the collection embedded in the project. Your own element library on disk is not affected, and neither is the common collection. The practical consequence is the reverse of what people fear: cleaning does not lose you an element you still have installed β€” but it does mean a project carried to a machine that lacks that element in its library no longer brings its own copy.

Getting Started

Home

🌐 Languages β€” English Β· FranΓ§ais Β· Deutsch

Downloads

Windows without admin rights β€” the portable archive, no installer

Quick Start Guide

User Manual

FAQ

Tips & Tricks

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

File formats
Elements XML
Project XML
Development

Building from Source

Contributing Code

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

Development Roadmap

Vision β€” proposal, under discussion

Developer Tools

About

Features

History

Community

License

Contributing to this Wiki

Clone this wiki locally