Pictures on a folio
A folio can carry pictures alongside the drawing: a photo of the cabinet, a supplier's logo, a screenshot of an HMI page. QElectroTech copies the picture into the project file, so the project stays complete when it is moved or sent on; nothing points back to the file you picked.
This page covers inserting a picture, the handles, the properties panel, the picture's own right-click menu, and what it costs in the saved file.
1. Inserting a picture
- Click Ajouter une image (Add a picture) on the Ajouter (Add) toolbar.
- Pick a file: PNG, JPEG, BMP or SVG.
- Click on the folio where the picture should go.
A picture is an ordinary folio item: it moves, copies, pastes, snaps to the folio grid and undoes like everything else.
2. Resizing, rotating and skewing with the handles
A selected picture shows handles, in one of two modes. Click the selected picture to switch between them; the tooltip names the mode the next click gives.
| Mode | Drag | Modifier |
|---|---|---|
| Resize | a corner or an edge | Shift keeps the proportions, Ctrl resizes from the centre |
| Rotate / skew | a corner to rotate, an edge to skew | Shift snaps to 15° steps |
| Rotate / skew | the red dot | moves the centre of rotation |
While the pointer is over a selected picture, the status bar lists the same gestures for the current mode.
3. The properties panel
Select a picture and the Propriétés de la sélection (Selection properties) panel shows:
| Field | Does |
|---|---|
| Largeur / Hauteur (Width / Height) | size as a percentage of the source image. The lock between them keeps the proportions; click it to size each on its own |
| Restaurer les proportions | makes the height percentage match the width again, undoing a stretch |
| Angle | rotation, in degrees |
| Inclinaison X / Inclinaison Y (Skew X / Y) | skew, in degrees |
| Libellé (Label) | a caption under the picture — see below |
| Verrouiller la position (Lock position) | stops the picture from being moved |
The label
Text typed in Libellé is drawn centred under the picture. It belongs to the picture: it moves, copies, rotates and prints with it, and clicking the label selects the picture. It stays at normal folio text size however large or small the picture is scaled, using the font set for folio texts in the preferences. Leave the field empty to remove the label.
Before the label existed, the only way to caption a picture was a separate free text, which had to be selected together with the picture every time either was moved.
There is no per-label font, colour or position.
4. The right-click menu
Right-click a picture for its own commands, above the usual folio ones:
| Command | Does |
|---|---|
| Remplacer l'image… (Replace picture) | swaps in another file, keeping position, scale and rotation; any crop or transparent colours are cleared |
| Enregistrer l'image sous… (Save picture as) | writes the picture as it looks on the folio, crop and transparency applied, to PNG, JPEG, BMP or SVG |
| Enregistrer l'image d'origine sous… (Save original picture as) | writes the picture as it was inserted, before any crop or transparency |
| Couleur transparente… (Transparent colour) | picks one or more colours to make see-through, each with a tolerance — for a logo on a white background, say |
| Rogner… (Crop) | keeps only a rectangle of the picture |
| Miroir horizontal / Miroir vertical | flips the picture |
| Restaurer les proportions | as in the properties panel |
Crop and transparency do not destroy the original: it stays in the project, so either can be changed again later, and Enregistrer l'image d'origine sous… gets it back. JPEG and BMP cannot hold transparency; QElectroTech warns before saving a see-through picture to one of them.
5. In the project file
Each picture is an <image> element in its folio's <images> block (see
Project XML):
| Part | Holds |
|---|---|
| text content | the picture as displayed, PNG, base64-encoded |
x, y, z |
position and stacking order |
rotation, size |
angle and scale, as older versions read them |
is_movable |
0 when the position is locked |
uuid |
the picture's permanent id |
label |
the label, only when one is set |
<transform> |
separate X/Y scale, skew and rotation centre, only when needed |
<crop>, <transparent_colors> |
the crop rectangle and keyed colours, only when used |
<image_base> |
the untouched original, only when the picture is cropped or keyed |
Things that follow from this:
- Pictures are always stored as PNG. A JPEG photo becomes a PNG inside the project, which is often several times larger than the JPEG was. Scale a large photo down before inserting it if file size matters.
- A cropped or keyed picture is stored twice, displayed and original.
- Older versions open these projects. They read the picture, position, rotation and scale, and ignore the label, the uuid and the rest; saving from an older version drops them.
- Saving is quick even with many pictures. Each picture's PNG is encoded once and reused on every later save until the picture changes.
A picture also appears in the project database's image table and in
drawing_item_view — see The project database.
6. Limitations
| Limitation | Detail |
|---|---|
| DXF export | pictures become outline boxes: see DXF import & export |
| Label styling | the label uses the folio text font; no per-label font, colour or position |
| No link to the source file | changing the file on disk does not update the project; use Remplacer l'image… |
See also
- Mouse modifiers — Shift, Ctrl and Alt while dragging
- Aligning items — putting pictures back on the grid
- Printing and exporting — what reaches paper and PDF
- The project database — the
imagetable
Getting Started
🌐 Languages — English · Français · Deutsch
Guides
Conductors — wire properties, what feeds which export, and cables
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
Preferences reference — what each settings page does
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 folio — labels, crop, transparency, what they cost in the file
Grouping items — select, move and copy several items as one
Finding your place on a folio — go to a cell like B13 or 4-B7, keep the headers in sight, show the cell limits
Drawing faster — place without dragging, the S shortcut bar, command search, gestures
Managing collections — folders, writability, building your own shortlist
Templates — reusable multi-element blocks, and why clicking one does nothing
Search & Replace — bulk property changes
Building a nomenclature query — the BOM/summary table builder
Linking wires across pages — folio 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
Vision — proposal, under discussion
