776

(21 replies, posted in Videos howto)

Hmm, please send me your project.

I checked with this QET 0.9 AppImage:
QElectroTech V 0.90+e3afc562b
Compilation : GCC 8.3.0
Built with Qt 5.11.3 - x86_64 - Date : Jan 8 2023 : 05:58:34

Same problem...formula type "+%id +txt+ %{}" -> rendering strings only after saving and re open project..

Strange, that it can be inferred that the above issue has not been tested or reported by users...for a long time...

Ok, good week end for you.

Thanks for reporting this issue.

Ok I saw, strange, but with dynamic text, user can change font police and size and color manually after under folio without change the model..

I look your XML in .qet
"
I replace "Sans Serif,9,-1,5,0,0,0,0,0,0," to "Sans Serif,6,-1,5,0,0,0,0,0,0," et voila...

This is the same project you share again...

it's reponse to your attached project.
Maybe you shared the wrong file...

I fixed your untitled.qet commutator xrefs.

@LievenC: I can't repoduce your problem, it's work here... but it's not replace all same element before placed.
Instead of taking the item from the project tree, maybe copying it to the user collection would work better

Un vieil exemple en vidéo, qui peut te faire gagner pas mal de temps et t'éviter de commettre des erreurs:

De mémoire je crois que ça ne fonctionne qu'avec les renvois et c'est normal, on l'a voulu exprès, en effet c'est le seul type d’élément qui est lié aux conducteurs. Tu verras qu'avec les autres types d'éléments il est possible aussi de rajouter des textes dynamiques automatique en fonction de ce que tu remplis plus tard dans le formulaire.

Quand tu sais t'en servir, ces fonctions peuvent te faire gagner pas mal de temps et enrichir ta documentation.

Ps : F5 sur ton clavier pour rafraîchir la page web, je viens d'éditer l'image ci-dessus.

A essayer
https://download.qelectrotech.org/qet/forum_img_2/report_folio_tags.png
https://download.qelectrotech.org/qet/forum_img_2/report_folio_tags2.png
https://download.qelectrotech.org/qet/forum_img_2/report_folio_tags3.png

J'aimerais savoir s'il y a possibilité de choisir quelle propriété d'un conducteur afficher. Dans mon cas par exemple, j'ai vu que dans les propriétés des conducteurs on peut choisir la section du fil, et ça tombe bien c'est une info que j'ai besoin d'afficher, seulement quand je la rentre dans le champ dédié pas moyen de la voir apparaitre sur le schéma.

Est-ce possible de l'afficher ? Où est ce que je suis obligé de tout faire " à la main" en insérant des champs de textes sur mon schéma ?

Il me semble que oui, a vérifier, exemple:

Bonjour,

pour les éléments en rouge dans l'arbre éléments importé d'un projet, si je me rappelle bien c'est ceux qui ne sont pas utilisés dans le projet, et ont été posés puis enlevé.
pour les supprimer menu ->Projet ->Nettoyer le projet.

I have the same things on Debian, if I use a titleblock variable used by cartridge also and if I use conductor formula PE-%id-%{volta} the formula didn't work, so I double click on conductor and replace {} by () and it matchs at moment also then you re open it didn't work .
but if variable isn't a tiitleblock use {} for your conductor formula..

I don't know what as changed, maybe Qt 5 version Qt 5.15.10....?, or lastest merge...?
So I also have the same problems on my Debian Oho... So I recommend to use {} for your formula..

Edit: isn't a Qt framework problem, just tried with latest AppImage I have builded and I saw the same problem, formula didn't work, ok after saving project closed and re open project..

Ps: AppImage is only  Qt 5.15.2 version.

Workaround: If your conductor formula didn't work, try save and re open, that strange but it 's working..

So I recommend to use braces: "%{}" for your formulas..

Hello Carlos,

thanks for your vidéos.

Regards,
Laurent

794

(21 replies, posted in Videos howto)

One you need to add this variable on your titleblock like me or add these in so in project settings or in only a folio..
test -> 123
For example: conductor formula is: pe-%id-%{test}

Maybe like x:y mouse cursor position in folio when you move mouse, we can add perhaps columns and row position on the mouse cursor?

I don't know, but you could try this?
"Allow unzoom beyond the folio"

BTW, have you tried lastest macOS  arm64 packages, I don't know if is work on your Ventura, or maybe your mini is a Intel chip?

Hallo,

maybe see on contrib repository:
https://github.com/qelectrotech/qelectr … te/legrand

https://qelectrotech.org/forum/viewtopic.php?id=1561

Saw my respond here:
https://qelectrotech.org/forum/viewtopi … 187#p18187

FYI, updated mac mini M2 to Sonoma and off course my Macports Digikam scripts didn't works,
ok after re install Macports and patch again Digikam scripts, update the kde Framework to version 5.110.0 at the same time.

I can now package again for Apple silicon on Sonoma.

Enjoy! nomicons/wink

hello,

as I saw it 's only a PDF viewer in C++ Qt not for writing a PDF document.. and it 's also ported to Qt 5 since Qt 5.15.10.. 11
https://www.qt.io/blog/commercial-lts-q … 0-released

Hi, the universal binaries for qtpdf (and qtwebengine) will be provided in 5.15.11. In 5.15.10, you can build those from sources. Br, Tarja Sundqvist / Release manager


Handling PDF:
https://wiki.qt.io/Handling_PDF#:~:text … to%2Ffile.

QET use QPrinter::PdfFormat method:

Using QPrinter
For creating PDF documents from scratch, you can use Qt's built-in print support which also allows "printing" to PDF files. To do so you can set up a QPrinter instance like this: QPrinter printer(QPrinter::HighResolution); printer.setOutputFormat(QPrinter::PdfFormat); printer.setOutputFileName("path/to/file.pdf"); Since QPrinter inherits QPaintDevice, anything that supports outputting graphical content to a QPaintDevice (or has convenience API for printing with QPrinter) can thus be used for generating PDFs:

Better way:
The Scribe Framework
https://wiki.qt.io/Handling_Document_Formats