If I remember well, for these special elements ..., you need to hacks these with an text editor, not by element editor also you can bypass warning box you saw.
752 2023-12-19 12:50:24
Re: QET-Element to SVG (96 replies, posted in Scripts)
These elements tampered with as folio reports are very useful and some people use them a lot...
It's based of me's workaround like this vidéo:
753 2023-12-19 12:47:22
Re: QET-Element to SVG (96 replies, posted in Scripts)
Hallo Plc-user,
these elements serve as folio reports and allow you to link two different components, as these components are of the folio report type it is mandatory that there is a one terminal, this is why you have the warning widget.
754 2023-12-18 15:03:38
Re: QET-Element to SVG (96 replies, posted in Scripts)
The tags for font-size in "input" and "dynamic_text" are different: Fixed that in source-code of QET_ElementScaler.
Nice, fixed also in remote collections here.
Do we have the option of using the element editor with command line parameters?
"Open" in the old file format and "Save to a file" in the current file format would be sufficient.
Not yet.
qelectrotech command lines are very limited, Usage : qelectrotech [options] [file]...
See https://github.com/qelectrotech/qelectr … qetapp.cpp
https://github.com/qelectrotech/qelectr … .cpp#L2425
qelectrotech file.elmt //open element editor
qelectrotech file.qet //open diagram editor
qelectrotech file.titleblock //open titleblock editor
755 2023-12-18 13:15:31
Re: QET-Element to SVG (96 replies, posted in Scripts)
I refreshed online collection after rebuilding new source with your patch change.
While wandering around the collections I just came across a new bug...
Dynamic text isn't saw here, but also not saw in QET tree element panel thumbnail, or general element viewer..here ... So since 0.8 version I' m tried..
No one noticed it, not even us. ![]()
https://download.qelectrotech.org/qet/e … 10-2ro.svg
756 2023-12-16 22:02:49
Re: QET-Element to SVG (96 replies, posted in Scripts)
First version with translating html-entities is available as Source on github.
It's the first "brute-force"-version that's far from perfect.
If someone knows if I can use the pugi-internal function "text_output_escaped" for this, please let me know!In this context I corrected an error with text-size of "dynamic_text".
Hallo Plc-user,
I make a git pull on your Source Github, re compile Sources, clean my element directory, run toSVG.sh script, after use rsync for sync my directory to remote.
Good work, thanks a lot.
Best regards,
Laurent
757 2023-12-16 16:50:28
Re: QET-Element to SVG (96 replies, posted in Scripts)
Hmm error
https://download.qelectrotech.org/qet/e … _fmu90.svg
Edit: now element-contrib repository:
https://download.qelectrotech.org/qet/elements_contrib/
758 2023-12-16 16:46:19
Re: QET-Element to SVG (96 replies, posted in Scripts)
Hallo Plc-user,
I used your scripts
The collection is here:
https://download.qelectrotech.org/qet/elements/
Best regards,
Laurent
759 2023-12-13 16:55:49
Re: element for integrated servomotors and machine vision cameras (5 replies, posted in Elements)
For me a servomotor is like this: an moteur brushless avec encodeur etc...
760 2023-12-13 14:46:48
Re: element for integrated servomotors and machine vision cameras (5 replies, posted in Elements)
I saw many projects with machine vision cameras and integrated servomotors shared for me by this authors;
These diagrams are confidentials...
I can't share them.. And i don't remenber where I put them...
761 2023-12-13 14:43:50
Re: element for integrated servomotors and machine vision cameras (5 replies, posted in Elements)
Hello
maybe look here.
https://download.qelectrotech.org/qet/schemas_pdf/
or by example this DIY project
https://download.qelectrotech.org/qet/s … -_220v.pdf
762 2023-12-13 14:40:04
Re: Feature-request: Second user-collection (27 replies, posted in EN : Help, suggestions, discussions, ...)
@Pl-user: merged, tanks.
763 2023-12-13 12:38:57
Re: Feature-request: Second user-collection (27 replies, posted in EN : Help, suggestions, discussions, ...)
764 2023-12-13 12:34:38
Re: Feature-request: Second user-collection (27 replies, posted in EN : Help, suggestions, discussions, ...)
Now we are talking, this is what I need "This beg the question /request that I would like to save parts outside the elements library folder." but this will works even beter ( if I can export it easely )
So, I didn't read everything, but about the request, I am voting a plus1.
Maybe even unlimited libraries off a kind or per project base so we can export those and send it to a coworker. Look at the Kicad 'manage symbols' dialog with a list of external Libraries of element and then with a export function of the project and elements yes or no included. ( still busy with a recovery project from drawings to make them digital; am at 25% but it could be quicker with some technical help like this. )
About the element editor:
Please make the use of keystroke delete/forward delete equal in use in both editors ( sheet and element editor ).On the Mac it is not used consistent.Thanks.
On file projet*.qet if you look the XML with a better text editor you saw element definitions is include in the project, open another project and on project tree collection you could load and share in your collection these new elements.
Regards,
Laurent
765 2023-12-13 10:58:47
Re: Feature-request: Second user-collection (27 replies, posted in EN : Help, suggestions, discussions, ...)
766 2023-12-12 11:19:28
Re: Feature-request: Second user-collection (27 replies, posted in EN : Help, suggestions, discussions, ...)
Hallo Plc-user,
merged, thanks.
Uploaded all packages.
Best regards,
Laurent
767 2023-12-11 13:33:08
Re: Feature-request: Second user-collection (27 replies, posted in EN : Help, suggestions, discussions, ...)
Ce matin, j'ai poussé tous les pull request... (Sans vouloir me facher avec Xavier ou toi Plc-user) j' ai profité pour envoyer tous mes paquets Debian unstable/stable, PPA ubuntu, snap, flatpak, Appimage, Windows, OSX intel, OSX arm64..
1er probleme, la collection compagny remplace la collection custom, il suffit dans le gui de definir un nouveau repertoire pour la collection compagny.
Translated:
This morning, I pushed all the pull requests... (Without wanting to get angry with Xavier or you Plc-user) I took the opportunity to send all my debian unstable/stable packages, ubuntu PPA, snap, flatpak, Appimage, Windows, OSX intel, OSX arm64..
1st problem, the company collection replaces the custom collection, you just need to define a new directory for the company collection in the gui.
About the element editor:
Please make the use of keystroke delete/forward delete equal in use in both editors ( sheet and element editor ).On the Mac it is not used consistent.
The diagram editor is still hardcoded since the beginning a long time ago, Joshua rewrote the element editor with the Qt GUI editor for easier maintenance, on Linux, I don't see any difference, on macOS, OS that I barely know as a very young switcher, please blame Apple and not the QET team.
Thanks
768 2023-12-11 10:11:50
Re: Generating cable markings? (2 replies, posted in EN : Help, suggestions, discussions, ...)
769 2023-12-10 17:26:32
Re: Create an elmnt from a SVG file; or png file (23 replies, posted in EN : Help, suggestions, discussions, ...)
Sorry again, Plc-user if I hurt your feelings, that was not my intention..
I adore you for your patience, and all your work, you mean a lot to me.
I'm still sorry if I offended you..
Best regards,
Laurent
770 2023-12-10 17:23:12
Re: Feature-request: Second user-collection (27 replies, posted in EN : Help, suggestions, discussions, ...)
@De-Backer: I thought of you recently, the clocks are perhaps now aligned to push QET towards the Qt6 x version, I also saw and read the hard work of the KDE team to push KF5 towards KF6 .
You are right when you speak with submodules but I am a human being of sometimes narrow-minded nature... with a big heart, you were right all along..
@Plc-user: I have known Xavier for 15 years or more, for me he is a very technically competent guy, a best of the best system engineer and he helps me a lot when I have problems on the servers, I meets regularly especially recently during the transfer of the entire infrastructure to a new host, he is a good man, he is a very great brain..
But I had to argue with him, because you too Plc-user are very dear to me, and you have brought a lot to QET, I don't have time to fight and especially not at the moment, so does my partner sulfur of gors health problem of his mother, please peace in world
Cheers ,
Laurent
I'm tired and go to sleep... no war here, please be happy with QET...
771 2023-12-10 12:27:55
Re: Create an elmnt from a SVG file; or png file (23 replies, posted in EN : Help, suggestions, discussions, ...)
Hallo plc-user,
you can change directory official or custom collection on the fly,
1] change PATH for custom collection.
2] on element collection tree field make a right click -> reload, and voila.
Regards,
laurent
Hallo Plc-user,
I make a little video:
Best regards,
Laurent
772 2023-12-09 12:55:56
Re: Second User-Collection (13 replies, posted in Code)
sudo apt install libsqlite3-dev libsqlite3-0
773 2023-12-09 12:41:41
Re: Second User-Collection (13 replies, posted in Code)
Hallo Plc-user
1] make a pull request, more little if possible, no change indentation, etc..
2] If I accept PR and push it, and the same time I run:
sed -i 's/^TRANSLATIONS/#TRANSLATIONS/g' qelectrotech.pro
lupdate -noobsolete qelectrotech.pro -ts lang/qet_{en,es,ru,pt,cs,pl,ca,de,ro,it,ar,sl,hr,el,nl,be,sl,zh,hu,pt_br,da,sr,fr,tr,sk,nb,mn,ja,cn,uk,zh-cn}.ts
sed -i 's/^#TRANSLATIONS/TRANSLATIONS/g' qelectrotech.pro3] I open qet_en.ts file with qtlinguist, translate, save (qet_en.ts), and publish (overide binary translation qet_en.qm), same things after for French translation files.
After I use
git add lang/git commit -vI check the diff and put this message on header: Update *TS file, add EN and FR translation
and
git pushto publish my work
Don't use lrelease... it's stranslator's work to push translated *.ts and *.qm files..
774 2023-12-09 11:31:47
Re: Second User-Collection (13 replies, posted in Code)
FYI, Pc-user it's debian control file, to build my deb Debian package:
Source: qelectrotech
Section: electronics
Priority: optional
Maintainer: laurent trinques <scorpio@qelectrotech.org>
Build-Depends: debhelper (>= 11),
libqt5svg5-dev,
qt5-qmake,
qtbase5-dev,
libkf5widgetsaddons-dev,
libkf5coreaddons-dev,
libsqlite3-dev,
pkgconf
Standards-Version: 4.5.0
Rules-Requires-Root: no
Homepage: http://qelectrotech.org/Package: qelectrotech
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libkf5coreaddons5, libkf5widgetsaddons5, libsqlite3-0
Recommends: qelectrotech-examples (= ${source:Version}), qelectrotech-data (= ${source:Version}), qttranslations5-l10n, mesa-utils
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.Package: qelectrotech-data
Architecture: all
Depends: ${misc:Depends}
Recommends: qelectrotech (= ${source:Version})
Description: symbols needed for qelectrotech
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.
This package provide symbols needed for qelectrotech.Package: qelectrotech-examples
Architecture: all
Depends: ${misc:Depends}
Recommends: qelectrotech (= ${source:Version})
Description: examples files for qelectrotech
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.
This package provide examples files for qeletrotech.
775 2023-12-09 11:25:21
Re: Second User-Collection (13 replies, posted in Code)
hum, strange, I add to ma todolist:
diff -r QET_org/sources/utils/macosxopenevent.cpp QET_CompanyCollection/sources/utils/macosxopenevent.cpp
20c20
< #include "singleapplication.h"
---
> #include "../singleapplication.h"diff -r QET_org/qelectrotech.pro QET_CompanyCollection/qelectrotech.pro
61c61,62
< DEFINES += QET_EXPORT_PROJECT_DB
---
> ## auskommentiert:
> #DEFINES += QET_EXPORT_PROJECT_DB
255c256,257
< unix|win32: PKGCONFIG += sqlite3
---
> ## auskommentiert:
> #unix|win32: PKGCONFIG += sqlite3Just add this lib to fix sqlite3 devel dependency:
sudo apt install libsqlite3-dev

