Commit Graph

7 Commits

Author SHA1 Message Date
Kellermorph d5ae15f568 Add a material list lookup for the element article fields
The element description dialog only offered typing, so every article of
a catalogue had to be copied in by hand into the Artikelbeschreibung
row of each block, over and over.

Settings > General now keeps the path of a CSV material list (Créer...
writes a template with the header lines), and the Artikelbeschreibung
row of every block of the Bauteil dialog shows a "..." button opening a
searchable listing of that file. "Appliquer" fills the fields of that
block only -- the main block gets everything but label and formula, an
auxiliary block gets description, number, manufacturer, references,
supplier, quantity, unit and additional info -- and a cell that is
empty in the file never erases a value already in the element. The
symbol editor is left alone.

- sources/materiallist/: CSV reading and writing (UTF-8 BOM, ';', every
  field quoted, atomic write through QSaveFile), two header lines
  (translated labels then the canonical English keys), the selection
  window and the new entry form.
- The selection window reads the file again every time it opens, keeps
  its size, column widths, column order and sort between openings,
  shows every column of the file, scrolls all four directions with the
  wheel (Shift + wheel moves the columns) and puts back the order of
  the file when the corner above the row numbers or a row number is
  clicked.
- German translations for the new strings in lang/qet_de.ts.
2026-09-27 21:18:54 +02:00
blacksun 1ead2aa0bb Search and replace : Element properties can be changed (and mass changed) through the search and replace widget.
Also improve the search for element


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5576 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-09 18:50:37 +00:00
blacksun 2cf181bf84 Element info widget : remove the check box 'visible'
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5334 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-14 12:21:07 +00:00
scorpio810 260437b16b Fix widgets size for dock
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3988 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-24 13:44:45 +00:00
scorpio810 fdc9d8f8fe Elementinfopartwidget disable focus on checkBox
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3985 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-24 09:29:43 +00:00
scorpio810 2e5c7bedf4 Add more clear buttons for elementinfopartwidget and conductorpropertieswidget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3847 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-23 05:37:32 +00:00
blacksun b361788873 Add ability to store informations for element like label, manufacturer, ref etc....
Add widget to edit it, save/load works
Informations are stored in a diagramcontext, this class was modified (new feature) to store information
but keep compatibilty with older version.  


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2850 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-12 17:36:35 +00:00