Files
qelectrotech-source-mirror/misc/qelectrotech.xml
T
ispyisail ecc7a39131 Save as .qetz by default; a .qet opened is saved beside it (stage D1)
The zipped project (.qetz) is the format QElectroTech saves.

- Save As and the first Save of a new project offer .qetz first
  ("untitled.qetz"); .qet can still be chosen.
- A project read from a .qet is saved as a .qetz beside it, the .qet left
  as it is (QETProject::write(), so Save, autosave, a script's save and the
  assistant's live save all do it). The project then works on the .qetz.
  A path chosen afterwards (Save As, a script naming one) is saved to as it
  is. The editor says so before the first such save, and asks before
  replacing a .qetz already there.
- File > Save a copy for an older QElectroTech writes a .qet copy, for a
  version that cannot open a .qetz; the project keeps its own file.
- The operating systems know the file: a freedesktop MIME type
  application/x-qelectrotech-project+zip (*.qetz, and by its mimetype
  entry when the name says nothing), the desktop file, macOS's document
  types and the Windows installer's association.

Crash backups stay XML, written beside the project as before.

tst_resaveunchanged::qetSavedAsQetzBeside: a .qet saved where it is leaves
the .qet byte for byte and writes a .qetz beside it holding what a plain
save of the .qet holds; it fails when the switch is off. In a real window:
Ctrl+S on perceuse.qet shows the notice, writes perceuse.qetz and leaves
perceuse.qet's md5 unchanged; the copy for an older version (reached by
command search) equals a plain save but for time_spent; a new project's
Save offers untitled.qetz. xdg-mime finds the type by name and by content.
ctest 96/96 with and without QET_LAZY_FOLIOS=1; srclint R-C clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 23:03:33 +13:00

114 lines
6.9 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-qet-project">
<sub-class-of type="text/xml"/>
<comment>QElectroTech project file</comment>
<comment xml:lang="ar">QElectrotech ملف مشروع</comment>
<comment xml:lang="be">QElectroTech project bestand</comment>
<comment xml:lang="ca">Fitxer de projecte QElectroTech</comment>
<comment xml:lang="cs">Soubor s projektem pro QElectroTech</comment>
<comment xml:lang="da">QElectroTech projekt fil</comment>
<comment xml:lang="de">QElectroTech Projektdatei</comment>
<comment xml:lang="el">Αρχείο έργου του QElectroTech</comment>
<comment xml:lang="es">Fichero proyecto QElectroTech</comment>
<comment xml:lang="fr">Fichier projet QElectroTech</comment>
<comment xml:lang="it">File del progetto QElectroTech</comment>
<comment xml:lang="ja">QElectroTech プロジェクト・ファイル</comment>
<comment xml:lang="ko">QElectroTech 프로젝트 파일</comment>
<comment xml:lang="nl">QElectroTech project bestand</comment>
<comment xml:lang="pl">Plik projektu QElectrotech</comment>
<comment xml:lang="pt">Ficheiro de projecto QElectroTech</comment>
<comment xml:lang="ru">Файл проекта QElectroTech</comment>
<comment xml:lang="hr">QElectroTech datoteka projekta</comment>
<comment xml:lang="hu">QElectroTech projektfájl</comment>
<comment xml:lang="mn">QElectroTech төслийн файл</comment>
<comment xml:lang="nb">QElectroTech prosjektfil</comment>
<comment xml:lang="pt_BR">Arquivo de projeto QElectroTech</comment>
<comment xml:lang="ro">Fișier proiect QElectroTech</comment>
<comment xml:lang="sk">Súbor projektu QElectroTech</comment>
<comment xml:lang="sl">Datoteka projekta QElectroTech</comment>
<comment xml:lang="sr">QElectroTech датотека пројекта</comment>
<comment xml:lang="sv">QElectroTech projektfil</comment>
<comment xml:lang="tr">QElectroTech proje dosyası</comment>
<comment xml:lang="uk">Файл проєкту QElectroTech</comment>
<comment xml:lang="zh">QElectroTech 项目文件</comment>
<glob pattern="*.qet" />
</mime-type>
<mime-type type="application/x-qelectrotech-project+zip">
<sub-class-of type="application/zip"/>
<comment>QElectroTech zipped project file</comment>
<glob pattern="*.qetz" />
<magic priority="60">
<match type="string" offset="30" value="mimetypeapplication/x-qelectrotech-project+zip"/>
</magic>
</mime-type>
<mime-type type="application/x-qet-element">
<sub-class-of type="text/xml"/>
<comment>QElectroTech element file</comment>
<comment xml:lang="ar">QElectrotech ملف مشروع</comment>
<comment xml:lang="be">QElectroTech element bestand</comment>
<comment xml:lang="ca">Fitxer d'element QElectroTech</comment>
<comment xml:lang="cs">Soubor s prvkem pro QElectroTech</comment>
<comment xml:lang="da">QElectroTech symbol fil</comment>
<comment xml:lang="de">QElectroTech Bauteildatei</comment>
<comment xml:lang="el">Αρχείο στοιχείου του QElectroTech</comment>
<comment xml:lang="es">Fichero elemento QElectroTech</comment>
<comment xml:lang="fr">Fichier élément QElectroTech</comment>
<comment xml:lang="it">File del progetto QElectroTech</comment>
<comment xml:lang="ja">QElectroTech 要素ファイル</comment>
<comment xml:lang="ko">QElectroTech 요소 파일</comment>
<comment xml:lang="nl">QElectroTech element bestand</comment>
<comment xml:lang="pl">Plik elementu QElectroTech</comment>
<comment xml:lang="pt">Ficheiro de projecto QElectroTech</comment>
<comment xml:lang="ru">Файл элемента QElectroTech</comment>
<comment xml:lang="hr">QElectroTech datoteka elementa</comment>
<comment xml:lang="hu">QElectroTech elemfájl</comment>
<comment xml:lang="mn">QElectroTech элементийн файл</comment>
<comment xml:lang="nb">QElectroTech elementfil</comment>
<comment xml:lang="pt_BR">Arquivo de elemento QElectroTech</comment>
<comment xml:lang="ro">Fișier element QElectroTech</comment>
<comment xml:lang="sk">Súbor prvku QElectroTech</comment>
<comment xml:lang="sl">Datoteka elementa QElectroTech</comment>
<comment xml:lang="sr">QElectroTech датотека елемента</comment>
<comment xml:lang="sv">QElectroTech elementfil</comment>
<comment xml:lang="tr">QElectroTech eleman dosyası</comment>
<comment xml:lang="uk">Файл елемента QElectroTech</comment>
<comment xml:lang="zh">QElectroTech 元件文件</comment>
<glob pattern="*.elmt" />
</mime-type>
<mime-type type="application/x-qet-titleblock">
<sub-class-of type="text/xml"/>
<comment>QElectroTech title block template file</comment>
<comment xml:lang="ar">QElectrotech نموذج إطار تعريف</comment>
<comment xml:lang="be">QElectroTech titel bloksjabloon</comment>
<comment xml:lang="ca">Model de caixetí QElectroTech</comment>
<comment xml:lang="cs">Vzor záhlaví výkresu pro QElectroTech</comment>
<comment xml:lang="da">QElectroTech titelblok skabelon</comment>
<comment xml:lang="de">QElectroTech Schriftfeld Vorlagedatei</comment>
<comment xml:lang="el">Πρότυπο πινακίδας του QElectroTech</comment>
<comment xml:lang="es">Modelo de cartucho QElectroTech</comment>
<comment xml:lang="fr">Modèle de cartouche QElectroTech</comment>
<comment xml:lang="it">Modello di cartiglio per QElectroTech</comment>
<comment xml:lang="ja">QElectroTech 表題欄テンプレート</comment>
<comment xml:lang="ko">QElectroTech 표제란 템플릿 파일</comment>
<comment xml:lang="nl">QElectroTech titel bloksjabloon</comment>
<comment xml:lang="pl">Szablon tabliczki rysunkowej QElectroTech</comment>
<comment xml:lang="pt">Modelo de moldura QElectroTech</comment>
<comment xml:lang="ru">Файл шаблона основной надписи листа QElectroTech</comment>
<comment xml:lang="hr">QElectroTech predložak zaglavlja datoteke</comment>
<comment xml:lang="hu">QElectroTech fejlécsablon fájl</comment>
<comment xml:lang="mn">QElectroTech гарчгийн блокын загварын файл</comment>
<comment xml:lang="nb">QElectroTech tittelblokk malfil</comment>
<comment xml:lang="pt_BR">Arquivo de modelo de cartuco QElectroTech</comment>
<comment xml:lang="ro">Fișier șablon cartus QElectroTech</comment>
<comment xml:lang="sk">Súbor šablóny titulkového bloku QElectroTech</comment>
<comment xml:lang="sl">Datoteka predloge naslovnega bloka QElectroTech</comment>
<comment xml:lang="sr">QElectroTech датотека шаблона заглавља</comment>
<comment xml:lang="sv">QElectroTech titelblocksmall-fil</comment>
<comment xml:lang="tr">QElectroTech başlık bloğu şablon dosyası</comment>
<comment xml:lang="uk">Файл шаблону основного напису QElectroTech</comment>
<comment xml:lang="zh">QElectroTech 标题栏模板文件</comment>
<glob pattern="*.titleblock" />
</mime-type>
</mime-info>