I keep

A=$(git rev-list HEAD --count) \ HEAD=$(($A+473))

for incrementing Ubuntu, Debian etc dev packages. And now Windows, ApppImage, macOS packages names.

On Debian you can't use GIT dependancy in debian/control for checking (git HEAD) because is very increase QET_origin.tar.gz file by 10:
https://download.qelectrotech.org/qet/d … ectrotech/

qelectrotech_0.100.0.r7849.orig.tar.gz    2023-Apr-28 19:21:53    16.7M    application/gzip

16.7Mio --> 200Mio, that not possible, the upload to master server at Tuxfamily even with fiber is very slow...

BTW, downstream officials packagers only use release tag tarball, or patch upstream code for removing git dependency.

See:
https://github.com/qelectrotech/qelectr … dialog.cpp
and
https://github.com/qelectrotech/qelectr … e_info.cpp

Hello Max, like freeCAD look for logs, you can found it on about QET widget-> tab->logs
Or in in QET home directory

cd ~./qet /
[16:04:29] laurent@debian:~/.qet$ ls -all 
total 63468
drwxr-xr-x    6 laurent laurent     4096  1 mai   10:33  .
drwxr-xr-x+ 168 laurent laurent    36864  1 mai   15:55  ..
-rw-r--r--    1 laurent laurent    27501 23 avril 20:53  20230423.log
-rw-r--r--    1 laurent laurent     7763 24 avril 07:45  20230424.log
-rw-r--r--    1 laurent laurent    14011 25 avril 13:38  20230425.log
-rw-r--r--    1 laurent laurent    17953 26 avril 20:03  20230426.log
-rw-r--r--    1 laurent laurent     5381 27 avril 11:01  20230427.log
-rw-r--r--    1 laurent laurent   474120 28 avril 21:06  20230428.log
-rw-r--r--    1 laurent laurent   182593 30 avril 17:29  20230430.log
-rw-r--r--    1 laurent laurent    65274  1 mai   10:43  20230501.log
drwxr-xr-x    2 laurent laurent     4096  4 août   2022  binary
-rwxr-xr-x    1 laurent laurent      246  1 mai    2013  count_elements.sh
-rw-------    1 laurent laurent      168  5 mai    2018  .directory
-rwxr-xr-x    1 laurent laurent  2005432 18 juil.  2022  dxf2elmt
-rwxr--r--    1 laurent laurent   750832 23 juin   2019  DXFtoQET.1
-rwxr-xr-x    1 laurent laurent   820544  6 août   2021 'DXFtoQET (2)'
-rwxr-xr-x    1 laurent laurent 12508808 14 nov.   2016  DXFtoQET.new
-rwxr-xr-x    1 laurent laurent   729944  3 déc.   2017  DXFtoQET.test
-rwxr-xr-x    1 laurent laurent  1079216 28 févr.  2016  DXFtoQET.test2
-rwxr-xr-x    1 laurent laurent 21024304 23 févr.  2017  DXFtoQET.testnew
drwxr-xr-x   12 laurent laurent     4096 10 avril 08:00  elements
-rw-r--r--    1 laurent laurent 24793088 25 avril 13:38  elements_cache.sqlite
drwxr-xr-x    2 laurent laurent     4096 29 sept.  2018  element_texts_pattern
-rwxr-xr-x    1 laurent laurent   348872 29 déc.  11:34  QET_ElementScaler
-rw-r--r--    1 laurent laurent    13985 20 août   2019  style.css.2
-rw-r--r--    1 laurent laurent      237  4 janv. 21:47  summary.json
drwxr-xr-x    2 laurent laurent     4096 21 juin   2020  titleblocks
[16:04:47] laurent@debian:~/.qet$ 

Hallo Mattias:

hum what older version it is?
You talk about conductor line or simple line/polygon as a drawing tool?

I saw you use my Debian package, you could use apt show qelectrotech command, like this:


apt show qelectrotech
Package: qelectrotech
Version: 0.100.0.r7849-1
Priority: optional
Section: electronics
Maintainer: laurent trinques <scorpio@qelectrotech.org>
Installed-Size: 14,0 MB
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.0), libkf5coreaddons5 (>= 4.97.0), libkf5widgetsaddons5 (>= 4.96.0), libqt5concurrent5 (>= 5.6.0~rc), libqt5core5a (>= 5.15.1), libqt5gui5 (>= 5.14.1) | libqt5gui5-gles (>= 5.14.1), libqt5network5 (>= 5.0.2), libqt5printsupport5 (>= 5.2.0), libqt5sql5 (>= 5.0.2), libqt5svg5 (>= 5.6.0~beta), libqt5widgets5 (>= 5.15.1), libqt5xml5 (>= 5.0.2), libsqlite3-0 (>= 3.6.11), libstdc++6 (>= 5.2)
Recommends: qelectrotech-examples (= 0.100.0.r7849-1), qelectrotech-data (= 0.100.0.r7849-1), qttranslations5-l10n, mesa-utils
Homepage: http://qelectrotech.org/
Download-Size: 3436 kB
APT-Manual-Installed: yes
APT-Sources: http://debian.qelectrotech.org/qet/debian unstable/main amd64 Packages
Description: Electric schematic editor
QElectroTech is a Qt5 application written in C++ .
This program helps you to design electrical schematic diagrams.
It includes a schematic editor, an element editor and a titleblock editor.
It uses XML files to store the produced contents.
 
N: Il y a 1 enregistrement supplémentaire. Veuillez utiliser l'opérande « -a » pour le voir
apt show qet-tb-generator 
Package: qet-tb-generator
Version: 1.3.1-2
Status: install ok installed
Priority: optional
Section: python
Maintainer: Qelectrotech <scorpio@qelectrotech.org>
Installed-Size: 1427 kB
Depends: python3:any, python3-tk
Suggests: qelectrotech
Download-Size: inconnu
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: Script that generates terminal blocks & connectors for QElectroTech
Allows to generate terminal blocks and connectors for QElectroTech electrical diagram software.

apt show pysimplegui
Package: pysimplegui
Version: 4.41.2-2
Status: install ok installed
Priority: optional
Section: python
Maintainer: Qelectrotech <scorpio@qelectrotech.org>
Installed-Size: 1285 kB
Depends: python3:any, python3-tk
Homepage: https://github.com/PySimpleGUI/PySimpleGUI
Download-Size: inconnu
APT-Manual-Installed: no
APT-Sources: /var/lib/dpkg/status
Description: Python GUIs for Humans. Launched in 2018. It's 2021 & PySimpleGUI is an ACTIVE &
Transforms the tkinter, Qt, WxPython, and Remi (browser-based) GUI frameworks into a simpler interface.
The window definition is simplified by using Python core data types understood by beginners (lists and dictionaries).
Further simplification happens by changing event handling from a callback-based model to a message passing one.
[12:54:21] laurent@debian:~/qet_tb_generator_debian_package/qet-tb-generator-1.3.1/debian$ cat control 
Source: qet-tb-generator
Section: python
Priority: optional
Maintainer: Qelectrotech <scorpio@qelectrotech.org>
Build-Depends: debhelper (>= 9), dh-python,
               python3-all, 
               python3-setuptools,
Standards-Version: 4.1.3

Package: qet-tb-generator
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, python3-tk, pysimplegui
Recommends: 
Suggests: qelectrotech
Description: Script that generates terminal blocks & connectors for QElectroTech
 Allows to generate terminal blocks and connectors for QElectroTech electrical diagram software.
 .
 .
 .

1,231

(236 replies, posted in News)

FYI, Update cross-compiler MXE x86_64 (Windows 64) builds to:


Qt: 5.15.8 => Qt: 5.15.9
KF5 5.102   => KF5 5.104

tiz.meneghe wrote:

Hello,

If I launch the drawing export command, where there is a vertical A4 sheet (for layout reasons), the PDF includes it in a part of the A4 landscape sheet.
Pagination error?
Do you have solutions or should I exclude that page and then print it separately? Too bad because then I lose the "merge page".


1) cart=portrait, no... portrait on page Landscape.
2,3) cart=Landscape, ok

Thank you.

Yes you need to print it separately...we don't have a solution yet.

I don't think even with Adobe's tools that it's possible in a multi-page PDF to set the page orientation manually for each page?

Max wrote:

By the way.
Version in Qelectrotech have not the release "-r7849", it was helpfull for problem discovery.

QElectroTech V 0.100.0-dev
Compilation: GCC 8.3.0
Built with Qt 5.11.3 - x86_64 - Date : Apr 28 2023 : 17:20:15 
Run with Qt 5.15.2 using 16 thread(s)
CPU : model name : AMD Ryzen 7 5800X 8-Core Processor 
RAM Total : 64 GB
RAM Available : 58 GB
GPU : Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390] (rev 80) 
GPU RAM : Video memory: 8192MB Dedicated video memory: 8192 MB Currently available dedicated video memory: 6256 MB 
OS : linux - x86_64 - Version : Debian GNU/Linux 11 (bullseye) - Kernel : 6.1.0-0.deb11.6-amd64
*** Qt screens *** 
( 1 : 1920 x 1200 ) 
( 2 : 1920 x 1200 ) 
( 3 : 1920 x 1200 ) 

Greetings Max

It's the package name, we changed displayed version method, now I can't use this for patch displayed version qet.h  file in my packages scripts:
https://github.com/qelectrotech/qelectr … 5bf50387c1

#Find GIT revision number in trunk branch
if [ -z "$HEAD" ] ; then
A=$(git rev-list HEAD --count)
HEAD=$(($A+473))

For debian packaging we can't use
GITCOMMIT=$(git rev-parse --short HEAD)

https://github.com/qelectrotech/qelectr … 785adadc00
https://github.com/qelectrotech/qelectr … 718fd9c5b0

BTW, see the build time: Built with Qt 5.11.3 - x86_64 - Date : Apr 28 2023 : 17:20:15

@Max:
Maybe try

--- sources/qetgraphicsitem/crossrefitem.cpp
+++ sources/qetgraphicsitem/crossrefitem.cpp
@@ -765,7 +765,7 @@ QRectF CrossRefItem::drawContact(QPainter &painter, int flags, Element *elmt)
     else if (flags &SW)
     {
         bounding_rect = QRectF(0, offset, 24, 20);
-        bounding_rect.adjust(0, -4, 4, 4);
+        bounding_rect.adjust(-4, -4, 4, 4);
 
             //draw the NO side
         painter.drawLine(0, offset+6, 8, offset+6);
@@ -832,7 +832,7 @@ QRectF CrossRefItem::drawContact(QPainter &painter, int flags, Element *elmt)
     else if(flags &Other)
     {
         bounding_rect = QRectF(0, offset, 24, 20);
-        bounding_rect.adjust(0, -4, 4, 4);
+        bounding_rect.adjust(-4, -4, 4, 4);
 
             //Draw the first arc symbol
         QRectF r(8, offset+4, 5, 3);

Hello Max,

see /sources/qetgraphicsitem/crossrefitem.cpp commits history
https://github.com/qelectrotech/qelectr … efitem.cpp


https://github.com/qelectrotech/qelectr … efitem.cpp


Regards,
Laurent

Let me tell you straight away, given how the code is written, it is quite complicated to correct on one side without making a shift on the other.

it's enough to make you tear your hair out!.....

Hi Max,

you can move master label with mouse and adapt where you want to have your list.

https://download.qelectrotech.org/qet/forum_img_2/changehover-display-mac-test.png

Please try qelectrotech-0.100.0-r7849 packages.

Enjoy! nomicons/wink

Fixed: changeover contact causes a shift to the right of the presentation of all the contacts which are in list mode with respect to the master label.
https://git.tuxfamily.org/qet/qet.git/c … 0568a7ecc9

https://download.qelectrotech.org/qet/forum_img_2/bunding_adjust_xref.png

What QET version, OS, and how have you installed qet_tb_generator?

Strange, see:
https://qelectrotech.org/forum/viewtopi … 586#p16586
https://qelectrotech.org/forum/viewtopi … 596#p16596
https://git.tuxfamily.org/qet/qet.git/c … e0f67ef859

Quelle est la différence entre les bornes non-barrées et les bornes barrées ? (scorpio810, j'ai vu que tu utilisais quasiment exclusivement les bornes barrées dans ton schéma Vibrafloor)

Aucune tous ces symboles bornes sont du même type: terminal, donc on conserve l'équipotentialité à travers ses bornes, là c'est juste une question d’esthétique.. je préfère celles là.



scorpio810 : Dans le schéma Vibrafloor je vois que tu reportes certains éléments sous les borniers, est-ce pour rendre la lecture du schéma plus facile et éviter d'avoir à se référer à un autre folio pour comprendre ce qui est branché sur un bornier ?

Si tu parles des folios "borniers folio 44, etc, Exactement, ça évite de perdre du temps en dépannage, une installation, ligne de production, etc ... à l’arrêt coûte plusieurs milliers d'euro de l'heure à la boite...
https://qelectrotech.org/forum/viewtopi … 050#p17050

Fixed error 500 on list tag

https://punbb.informer.com/forums/post/159128/#p159128

Processus42 wrote:

En regardant la vidéo du générateur de bornier intégré à la version 0.100, j'ai pu comprendre comment fonctionnait qet_tb_generator, et j'ai pu réaliser mon premier bornier nomicons/smile Je comprend aussi mieux comment s'utilisent les bornes tout court.

J'ai d'autres questions maintenant :

  • Quelle est la différence entre les bornes non-barrées et les bornes barrées ? (scorpio810, j'ai vu que tu utilisais quasiment exclusivement les bornes barrées dans ton schéma Vibrafloor)

  • Est-ce une mauvaise pratique d'avoir une arrivée haut et des départ haut et bas dans des borniers type Viking reliés par des barrettes ?)

  • scorpio810 : Dans le schéma Vibrafloor je vois que tu reportes certains éléments sous les borniers, est-ce pour rendre la lecture du schéma plus facile et éviter d'avoir à se référer à un autre folio pour comprendre ce qui est branché sur un bornier ?

Max wrote:

Now the forum think im a bot, , i can't upload any pictures since this post.

Please try it again.

Thanks for feedback.
Best regards

Hi Cubero,

It's never very safe to upgrade a no-LTS Ubuntu in the days and weeks after release...

rvamerongen wrote:

MAX, Your first three images are not visible.

attachments don't need tag img