Une image n'a pas besoin de faire 7Mo pour être lisible si l'on imprime son projet QET que sur du A4.
Sur kde tu as KIM un service menu qui est sympa et dont je me sert couramment pour réduire la taille et le poids de mes images pour le site.
https://cubiclenate.com/2019/09/26/kim- … vice-menu/

https://cubiclenate.files.wordpress.com/2019/09/kim-servicemenu-2.png?w=604&h=&zoom=2

Oui le re-encodage en base64 des images importées n'arrange pas les choses.
https://qelectrotech.org/forum/viewtopi … 9141#p9141

3,403

(317 replies, posted in News)

Disons que sous Linux ça se voit un peu moins, car ça va dix fois plus vite que sous Windows..  le gain est de l'ordre ~ 50% sur ma machine.

Avant    commit :eb903a12b0b904ddc7438f3c699aa4441ea14b38
Le chargement de la collection d'éléments à été éffectué en 798 ms

Maintenant avec pugiXml       commit : fbec9c9aa51ab96d13fef248e258c1a277bc527e
Le chargement de la collection d'éléments à été éffectué en 347 ms

Pour les 83%, je pense qu'Alexis a testé avec la dernière ReadyToUse ce qui est un peu faux car sur la dernière version avec pugiXml  on rallonge les temps si QtXml est utilisé.

Pour être objectif il faudrait comparer les temps sur Windows avec la première version utilisant pugiXml sans l'activer et avec la dernière version en activant pugiXml.
Bon, j'ai viré les paquets de la première version sur le serveur, avant hier... peut-être que Galexis a encore cette ReadytoUse sur sa clé USB pour mesurer le vrai gain réel.

Je pense qu'il peut-être très utile de conserver pour la suite le dialog sur le temps de chargement des collections, ces informations sont toujours très utiles pour les utilisateurs et aussi pour nous.

3,404

(18 replies, posted in Terminal block generator)

Merci de l'info.

Bonjour,

scan inséré dans le projet, qui fait entre 6 et 7mo, hm pas besoin d'une aussi grosse résolution pour ton image, réduit son poids à moins que ce soit pour un panneau d'affichage au format XXL..

3,406

(317 replies, posted in News)

La tu nous fait plaisir : "Passé de 79s à 13 s " prouve que le travail n'a pas été inutile même pour l'OS défenestré..  :p

En revanche la fenêtre indiquant combien de temps a été nécessaire au chargement du projet est un peu pénible, il serait intéressant de pouvoir l'inhiber quand les paramètres....

commit fbec9c9aa51ab96d13fef248e258c1a277bc527e
Author: Laurent Trinques <scorpio@>
Date:   Tue Jan 7 13:02:43 2020 +0100

    Add Checkbox to enable or disable the dialog to display the elapsed time
    of collection loading

https://download.qelectrotech.org/qet/forum_img/pugixml_messagebox.png

3,407

(18 replies, posted in Terminal block generator)

Sinon tu peut le créer toi même ce .exe
https://datatofish.com/executable-pyinstaller/


Win64
cd C:\Users\laurent\AppData\Roaming\Python\Python36\Scripts\
pyinstaller.exe \Users\laurent\Downloads\qet_tb_generator-1.0.16\src\main.py -F

Win32
cd C:\Users\laurent\AppData\Local\Programs\Python\Python37-32\Scripts\
pyinstaller.exe \Users\laurent\Downloads\qet_tb_generator-1.0.16\src\main.py -F

3,408

(18 replies, posted in Terminal block generator)

Etrange :
https://www.virustotal.com/gui/url/14d3 … /detection

Edit :
https://www.virustotal.com/gui/file/9a9 … /detection

https://download.qelectrotech.org/qet/forum_img/qet_tb_generator_scan.png

https://github.com/microsoft/WSL/issues … -239573303

3,410

(18 replies, posted in Terminal block generator)

Hi unalcade,

The user can logically think that it is necessary to force the recording of the project afterwards and risks not understanding why the plugin did not generate the new terminal blocks.

3,411

(317 replies, posted in News)

commit 3492540d531fbc3d4cd87d498a5403838193027a
Author: joshua <joshua@>
Date:   Sat Jan 4 23:33:35 2020 +0100

    Use pugixml for parse local name of directory and element informations

further improves launch times especially on MS Windows platform.


Maybe an explanation why it takes longer under Windows VS linux.
https://github.com/Microsoft/WSL/issues … -425272829


Under Windows if you have just started the machine, QET can launch within 9000ms  and yes it is much better than before (I saw launch time divided by two), but if you restart the software during the day or in the hour the loading time is much shorter in the order of 4500ms.

Merci de ton retour.

3,413

(317 replies, posted in News)

git branch
  master
* test_pugi


commit eb903a12b0b904ddc7438f3c699aa4441ea14b38
Author: joshua <joshua@>
Date:   Sat Jan 4 15:59:27 2020 +0100

    Add option to switch between Qtxml or pugi xml. Add dialog to display the elpsaed time of collection loading.

See : https://qelectrotech.org/bugtracker/vie … d=177#c397

and : https://programmer.group/efficiency-com … idxml.html

https://download.qelectrotech.org/qet/forum_img/pugixml.png


Some benchmarks :

Under my Debian Sid  devel machine :

Qtxml enable
Le chargement de la collection d'éléments à été éffectué en 798 ms

pugixml enable
Le chargement de la collection d'éléments à été éffectué en 471 ms


AppImage

Qtxml enable
e chargement de la collection d'éléments à été éffectué en 782 ms


pugixml enable
Le chargement de la collection d'éléments à été éffectué en 540 ms

Mais cela me fait un doute ici maintenant, car les éléments que vous avez commentés ne m'apparaissent pas au travail, mais la station est avec Windows, je vais vérifier cela à la maison où j'utilise linux manjaro.

https://qelectrotech.org/forum/viewtopi … 976#p10976

3,415

(18 replies, posted in Terminal block generator)

C'est en cours, tu devrais bientôt avoir le paquet.
Merci du signalement.

3,416

(18 replies, posted in Terminal block generator)

Arghhh il me semble que je le les ais envoyés sur l'ancien PPA..

3,417

(18 replies, posted in Terminal block generator)

apt-cache policy qet-tb-generator
qet-tb-generator:
  Installé : 1.1.4-1
  Candidat : 1.1.4-1

3,418

(18 replies, posted in Terminal block generator)

sudo apt-get install python3-setuptools

or
sudo python3 pip install -U pip setuptools

Pourquoi tu n'installes pas le paquet directement avec apt comme QET depuis le PPA?

Bonjour et merci pour les compliments Rasec.

Il est possible de modifier le séquençage dans le générateur de bornier :

How to use:
- To change the order of the terminals in the terminal block, just left-click or right-click
  on the corresponding number of 'POS.' column.
- By right-clicking on the cells of the TYPE and HOSE columns, it will alternate betwenn all possible values.
- For each block of terms:
    - You can specify how many terminals per page you will draw.
    - the number of reserve terminals that are drawn at the end.

3,420

(18 replies, posted in Terminal block generator)

Thank you very much Unalcade. ;-)
I have tried the latest version a lot and have seen the best improvement you have made.

Geat work.

Maybe you could add this change for future release :
I searched for a while and I did not understand why it was not working properly.
It would be nice to remind him in the help.

Steps to follow.
- In QET. Optional: Choose Project> Clean Project
- In QET. Start the plugin. Choose 'Start the terminal block creation plug-in' in the project menu.
- In the complement. Edit the terminal blocks (described below).
- In the complement. Press the 'CREATE TERMINAL BLOCKS' button.
- In the complement. In the pop-up screen, choose the terminal blocks you want to create / update.
- Close the addon.
- In QET.  close without saving project (very important) and Reopen the project.
- In QET. Under the 'COLLECTIONS' tree of the project, all the terminal blocks appear.

3,421

(18 replies, posted in Terminal block generator)

Thanks Unalcade. ;-)

- All the text are dynamics: allows edition.
- Now it is possible to set the number of reservation terminals for each terminal block.

Great!


Debian Buster, Unstable (64-bits).
Ubuntu (Trusty, Bionic, Xenial, Eoan) (32 and 64-bits) packages is availables

A Windows 32 package for user under ReadyToUse :
https://download.qelectrotech.org/qet/b … 1.4_32.exe

Update Github qet_tb_generator repository and rebuild  snap --edge qelectrotech include latest qet-tb-generator-1.1.4.

Bonjour quel est ton système d’exploitation?

Bonjour et bonne année,

tu peux le faire en français.

3,424

(12 replies, posted in Bar Fourre-tout)

Statistics 2019

Download server:
https://download.qelectrotech.org/qet/forum_img/stat_download_2019.png


Web area server : forum, wiki, bugtracker, etc.
https://download.qelectrotech.org/qet/forum_img/stat_web_2019.png

3,425

(317 replies, posted in News)

Qt for WebAssembly
WebAssembly is a binary format that allows sand-boxed executable code in web pages. This format is nearly as fast as native machine code, and is now supported by all major web browsers



The build should run on desktop Chrome, and also on Firefox if you enable javascript.options.shared_memory in about:config page.

https://forum.qt.io/category/61/qt-for-webassembly

wasm: prototype file load/save
https://github.com/msorvig/slate/commit … b3a98c5815

This function is used to access local files on Qt for WebAssembly, where the web sandbox places restrictions on how such access may happen. Its implementation will make the browser display a native file dialog, where the user makes the file selection.
https://doc.qt.io/qt-5/qfiledialog.html … ileContent  #This function was introduced in Qt 5.13.
https://doc.qt.io/qt-5/qfiledialog.html#saveFileContent   #This function was introduced in Qt 5.14.

See this example :
https://msorvig.github.io/qt-webassembl … slate.html