3,201

(8 replies, posted in Code)

Tried to Merge https://github.com/qelectrotech/qelectr … or/pull/48 Martin pull request.
Building in Debug mode build , but failing in Release Mode build..

3,202

(317 replies, posted in News)

1280 x 768 en  14 " en 2020 c'est sur c'est pas génial surtout sur QET.

3,203

(317 replies, posted in News)

S.DEFFAUX wrote:

tout à fait Galexis

Une capture d’écran, stp?

3,204

(317 replies, posted in News)

Si tu affiches trop de champs dans tes tables, il est clair que si les dimensions de tes folios sont pas énormes ça va dépasser.
L'outil d'ajustement a ces limites pour redimensionner le tableau....

3,205

(14 replies, posted in Code)

Fixed, but I don't understand why git am can't apply sources/nomenclature.cpp:66, not tried git apply..
Maybe :
https://stackoverflow.com/questions/241 … introduced

3,206

(14 replies, posted in Code)

Application de  fix deprecated warning QTextStream& QTextStreamFunctions::endl(QTextStream&)
error: le patch a échoué : sources/nomenclature.cpp:66
error: sources/nomenclature.cpp : le patch ne s'applique pas
le patch a échoué à 0001 fix deprecated warning QTextStream& QTextStreamFunctions::endl(QTextStream&)

Ce serait pas plus simple de les re dessiner depuis QET, beaucoup de folios?
Un workaround serait de convertir chaque page de ton PDF en DXF, puis de la passer dans le convertisseur DXF, mais ton folio sera vu que comme un seul élément.

3,208

(14 replies, posted in Code)

Merged, thanks Simon.
https://git.tuxfamily.org/qet/qet.git/c … 1cdec1f1b2

3,209

(12 replies, posted in Elements)

For domestic symbols

the folder Home installation contains 265 elements, parts in 16 folders.

Path of collection :  common://10_electric/11_singlepole/500_home_installation
Path in the file system :  /usr/share/qelectrotech/elements/10_electric/11_singlepole/500_home_installation






For architectural symbols

the folder Architectural contains 77 elements, parts in 0 folders.

Path of collection :  common://10_electric/11_singlepole/500_home_installation/30_architectural
Path in the file system :  /usr/share/qelectrotech/elements/10_electric/11_singlepole/500_home_installation/30_architectural

3,210

(4 replies, posted in Import DXF)

Work with an older DXF converter version like 2020-03-16.

3,211

(32 replies, posted in Code)

Thanks Simon.

3,212

(32 replies, posted in Code)

Thanks Simon.

3,213

(32 replies, posted in Code)

Merged, thanks.

3,214

(32 replies, posted in Code)

FYI, AppImage use now Qt 5.15.0.
https://invent.kde.org/sdk/kdesrc-build/-/issues/45

3,215

(32 replies, posted in Code)

Merged, thanks.

3,216

(317 replies, posted in News)

Le 2

Faites des tests avec les renvois de folios en supprimant un renvoi, édition d'un conducteur puis rajout de couleur ou section, relier de nouveau, suivant si la case était coché ou pas lors de l’édition du conducteur vous n'aurez pas les memes messages de liaisons.
Bref, je continue à penser que ce n'est pas une bonne idée.

Apres si vos tableaux sont câblés en fonction d'une norme de couleur précise dans la recherche de renvois a relier vous pourrez maintenant chercher aussi par section et ou couleur.

eh bien, soit !

Enjoy ! nomicons/wink

3,219

(32 replies, posted in Code)

Merged, thanks.

for "fix deprecated -Wdeprecated-copy (C++11)"
I prefer saw some deprecated function warnings marked during compilation and still don't have much time to see them (Linux time make -j49 ~ 16 seconds, Catalina VM ~ 20 seconds..cross-compile for Windows ~20 seconds,  rather than silently adding new bugs which will be hard to find. nomicons/wink

3,220

(317 replies, posted in News)

- Log -----------------------------------------------------------------
commit 0897ed43fe532cc50c04b2ae03bf043e9805f0bf
Author: Claveau Joshua <Joshua@>
Date:   Sat May 30 20:18:44 2020 +0200

    Add table dialog : table config can saved and loaded.
   
    The dialog used to edit the configuration of QetGraphicsTable item can
    now save and load a configuration from graphics_table.json file located
    in the user config dir.

3,221

(32 replies, posted in Code)

I see, thanks.

3,222

(32 replies, posted in Code)

I tried "0001-fix-deprecated-Wdeprecated-copy.patch" is reduce warnings 50 to 6, but I don't know if I can push it?
First patch in attached patch reduce warnings 50 -> ~20.

3,223

(32 replies, posted in Code)

I had to revert it
https://git.tuxfamily.org/qet/qet.git/c … e91882a445

Edit : ok I understood, I use Qt version 5.12.5 and this function was introduced in Qt 5.13.

3,224

(32 replies, posted in Code)

For the warnings: Qt prepares the future and Qt 6, that is understandable and therefore marks a lot of obsolete method, if you compile it in an old version of Qt, you do not see any warning.

Thanks a lot for your work.

3,225

(32 replies, posted in Code)

My goal is to understand why the content of the .qet file always changes when saving, because this makes it difficult for git.
(everything is always different)

Qt save XML attributes in a random order each time, this is one of the reasons why we added UUID to control the versions of the elements.

https://qelectrotech.org/forum/viewtopi … 4283#p4283

Attributes

For some time and over the succeeding versions of Qt, it became obvious that the attributes in the XML definition of the elements were not always be read and saved in the same order on each QET startup.
A Qt class compares attributes to know if a newly dragged/dropped element on the diagram already exists in the project. In this case, the class compares all the attributes.
For some speed reasons, this method compares the whole attributes string: if the position of an attribute is changed, the element is considered as different (new).

Among all possible solutions, the one which seems to us to be the easiest one is the generation of an universal unique identifier (UUID) for each element of the collection. In this way, only the UUID attributes of the files must be compared and not the whole XML attributes strings.
The elements editor generates automaticaly an UUID during the saving of the element file.

The database speeds up the loading of numberous elements by managing changes of element thumbnails in tables. To update the thumbnails cache, the database does no longer compare the modification date of these files, only the UUID attributes.

The official collection was patched to add the new UUID attribute.

Script bash unpretentious, for those on GNU/Linux who want to patch their own collection.