1,026

(10 replies, posted in Terminal block generator)

https://qelectrotech.org/forum/viewtopi … 070#p17070

1,027

(10 replies, posted in Terminal block generator)

Hi,

please send your project, if you want?

En ce moment si je m’écoutais je passerai mon temps à dormir ... ou à lire sur ma liseuse ..
Madame m'oblige à aller marcher un peu quand il fait beau..., elle n'a pas tord c'est un cercle vicieux et tu perds très vite la forme si tu ne fais rien ... meme si c'est parfois très dur ...

J'ai avalé des dizaines de tomes entiers ces quelques mois d'hivers:
L’intégrale des annales de la compagnie noire de Glen Cook que j'ai vraiment adoré, puis j'ai enchaîné sur l'intégrale de l'ange du chaos de Michel Rober, j'ai tellement aimé que j'ai aussi lu presque d'une traite les autres romans associé.. et ceux de Rodolphe Vanhoorde, un régal..

PS:
Je trouve ta photo de profil plus sympa que l'ancienne .

Merçi, Je sais ... je n'ai pas besoin de forcer pour avoir l'air très sévère ...nomicons/wink
J'ai aussi lu tous les articles de Jehan Mainteneur GIMP sur Linuxfr.org et je le comprend, vu qu'on est dans le même cas..

Apres les entreprises qui veulent et peuvent payer une fonctionnalité ou nouvelles features pour QET peuvent par exemple s'adresser à KDAB ce sont des experts Qt C++ ils participent activement à Qt et aussi à KDE mon environnement de bureau et framework Linux préféré.

https://www.kdab.com/fr/

--- sources/qetgraphicsitem/crossrefitem.cpp
+++ sources/qetgraphicsitem/crossrefitem.cpp
@@ -627,7 +627,7 @@ void CrossRefItem::drawAsContacts(QPainter &painter)
         }
     }
 
-    bounding_rect.adjust(-30, -4, 4, 4);
+    bounding_rect.adjust(-4, -4, 4, 4);
     prepareGeometryChange();
     m_bounding_rect = bounding_rect;
     m_shape_path.addRect(bounding_rect);

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

Please try code and compile it on your setup, and ask what you want for positionning label center?
See the wiki or here on forum how to compile QET on your OS:
https://qelectrotech.org/forum/viewforum.php?id=17

Hi Erik,

thanks for feedback. ;-)

--- sources/qetgraphicsitem/crossrefitem.cpp
+++ sources/qetgraphicsitem/crossrefitem.cpp
@@ -627,7 +627,7 @@ void CrossRefItem::drawAsContacts(QPainter &painter)
         }
     }
 
-    bounding_rect.adjust(-30, -4, 4, 4);
+    bounding_rect.adjust(0, -4, 4, 4);
     prepareGeometryChange();
     m_bounding_rect = bounding_rect;
     m_shape_path.addRect(bounding_rect);

Result:
https://download.qelectrotech.org/qet/forum_img_2/bunding_adjust_xref2.png

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

Regards,
Laurent

@Joshua, j'avais préparé le dossier et commencé à remplir les formulaires pour lancer l’association à but non lucratif org.qelectrotech, j'ai du encore une fois abandonner..., déjà ton petit bled est introuvable dans le formulaire de l'état ! un comble !!!....   (d'ailleurs tu dois être bien embêté pour les démarches en ligne sur les sites de l'état, non?) et ça coince tout le reste, j'ai du magouillé en mettant un village à coté de chez toi, bref! ensuite je me suis heurté au document de création et définition de l'association qu'on doit signer des deux parties, Là j'ai tout lâché  ... impossible pour moi de continuer au vu de ma santé précaire...., de plus mon cerveau semble rebuter toutes les taches administratives en ce moment...

Je pense qu'il faudra qu'on se fasse épauler pour enfin avoir un statut juridique après tout ce temps ....(10 ans qu'on gèrent ensemble le projet QET) enfin créer de créer un but légal et une association loi 1911.

T'en penses quoi?

Sur le peu de dons qu'on reçoit c'est dommage qu'il faille y puiser dans ce compte 99€/an juste pour les utilisateurs Apple sur M1/M2...alors que Apple offre l'abonnement aux développeurs open source...mais il faut un pouvoir fournir un "number DUNS", on m'a donc répondu par Altares qui était chargé du dossier par Apple: que soit tu es un auto-entrepreneur ou une association, sinon c'est impossible..pour un particulier..


Bonjour,

Nous sommes sollicités par APPLE pour attribuer un numéro de DUNS à votre entité.

Nous ne sommes pas arrivés à localiser votre société auprès des sources officielles.

Pouvez-vous nous communiquer votre numéro de Registre de Commerce, sans lequel nous ne pouvons attribuer de numéro de DUNS à votre entreprise.



Bonjour,

Merci pour votre retour,
Pour obtenir un numéro de duns, il faut que vous soyez impérativement inscrit à l’INSEE en tant qu’AUTO-ENTREPENEUR.
Une fois l’inscription effectuée, vous obtiendrez un numéro siret.

On ne vend pas le logiciel, il est libre et gratuit!, créer un compte AUTO-ENTREPENEUR ... juste pour ça?, c'est vraiment n'importe quoi ....

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,038

(224 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