26

(7 replies, posted in Code)

Salut Laurent !

As a German politician says: ‘Please misunderstand me correctly!’  nomicons/wink
I didn't mean you with the long delay, Laurent!
Just was very surprised that elevatormind didn't get in touch for so long:
As suddenly as he appeared here and contributed so much, so suddenly it became quiet again from Sweden!
Let's hope that he's okay and will be able to discuss and contribute again soon!

Of course I also hope that you are on the road to recovery, Laurent!

In the meantime I uploaded the sources and also the reworked elements to the official QET github-repos.
I don't know, if your scripts have to be adjusted: There are two new sub-directories for fonts and licenses in the tree.
So that we don't have a 'double stock' of licenses, I use symbolic links to the existing licenses from the subdirectory. Github and Linux can handle this...

27

(7 replies, posted in Code)

@scorpio810:

More than five weeks with no reaction to my last post and I would like to get further with this topic!

Do you think we should upload elevatormind's source code for/with the fonts and my additions regarding the licenses in one commit? The language files can be adjusted and after that I could also upload the revised elements from my to the official QET-repository.
So: Some changes that depend on each other, but the first step is still missing.

I already prepared that combined commit in my github-repo.

What do you think, Laurent?

Dann scheint es doch irgendwie um Datei-/Verzeichnisrechte gegangen zu sein, wie RedBaron vermutet hat.

Tu dich doch mit dem Kollegen aus dem anderen Thread zusammen:
Dann könnt ihr gemeinsam QElectroTech lernen und hier konkrete Fragen stellen, wenn's irgendwo hakt!

Wenn viel in der Firmen- und Benutzersammlung herumhantiert wird, kann es schon mal vorkommen, dass die interne Bauteil-Datenbank durcheinander kommt.

Gehe doch mal in das passende Verzeichnis und lösche die Datei elements_cache.sqlite.
(Vorher mußt Du natürlich QET beenden!)

Beim Neustart von QET wird die sqlite-Datei neu aufgebaut.

Zur Datei-Suche hilft dieser Post weiter:
https://qelectrotech.org/forum/viewtopi … 884#p20884

Ohne in die log-Datei gesehen zu haben:
Hast Du die Benutzersammlung auf anderer Leute Hardware (aka "Cloud") gespeichert?
Das wird von QET nicht unterstützt und könnte auch die Meldung verursachen.

Menü --> Hilfe --> Über QElectroTech --> TAB "Log"
In dem Drop-Down steht das Verzeichnis drin.
(aktuelle 0.100-dev -Version getestet)

und wenn Du in dem von Laurent verlinkten Thread ein wenig gescrollt und gelesen hättest:
Da stehen die von QET genutzten Verzeichnisse im Klartext drin!
Für Linux und Win.

In den Programm-Einstellungen den falschen Pfad gesetzt?

34

(4 replies, posted in Elements)

“tomorrow” is already long gone...
What are the results of your tests, mikea?

Deine Arbeit wird Dir niemand freiwillig abnehmen, auch wenn Du noch andere Sprachen verwendest!
Du mußt schon selber zeichnen...!

Bei den 21 mitgelieferten Beispielprojekten ist nichts für Dich dabei?

Hat deine Beobachtung vielleicht etwas mit diesem Bug-Report zu tun, Kellermorph?
0000308: Preset for date is not saved

37

(4 replies, posted in Elements)

mikea wrote:

The problem I have is when I copy an element, all is ok when I paste it, but when I try to move them together they don't align anymore ? Sometimes it works, but only very seldom...

You are using an "old" version of QElectroTech!

In recent versions of 0.100-dev I reworked Copy-and-Paste for element-editor.
Now the paste-position for graphical primitives is much more reasonable!
You can also rotate, flip and mirror the graphical primitives in element-editor!
Give it a try!

We first had to get the basics, before coming to specific problems.
When I look at your video, it seems that the titleblock you edit is not the titleblock you use in the project!
As I wrote in a previous message: You edit one titleblock but use and look at another in the project.

This is an educated guess, because in the project-tree the titleblock-template has a pink background color!
That means, that this titleblock (or element in collection-tree) is not used in the project.

If you use
Project --> Clean project --> OK
Does the titleblock with the pink background in the project-tree disappear?

Edit:
If you want to use a customized titleblock, save it to a new filename to company- or user-collection of titleblocks and adjust setting in QElectroTech- and project-settings.

Please no further messages, that there are error-messages on apt-update:
Our Developer and Debian-Packager is in poor health and therefore it will take some time until the problem will be solved.

Thanks for the hint and the solution!
I will take care of it!

Wie im Beispiel im verlinkten Thread auch schon:
Textausrichtung funktioniert, wenn sie im Element-Editor definiert wurde!

Jetzt wäre es richtig praktisch gewesen, wenn Du das Element mitgeliefert hättest!

Dann lass mich nochmal nachfragen.

info wrote:

Ich habe ein Element oder Bauteil erstellt mit einen dynamischen Text zur Beschriftung

Du hast EIN Element erstellt und benutzt es ZWEImal in Deinem Schaltplan?

info wrote:

(...) beim Ausfüllen in der Folie geht der Text leider immer nach oben, gibt es hier eine Lösung?

Hast Du den verlinkten Post gelesen?
Hier noch einmal deutlich:
Die Textausrichtung bezieht sich IMMER auf die Position X/Y im Element-Editor und kann NICHT nachträglich im Schaltplan-Editor geändert werden!

info wrote:

PS ich habe auch oben unten -Ausrichten getestet
der Text ist um 270° angeortnet

Wenn Du den Text waagerecht haben willst, dann mußt Du ihn rotieren!
Deswegen mein Vorschlag.

In Version 0.100-dev:
Text mit <Shift>+Click markieren und mit Leertaste rotieren.

1.) Es gibt keinen Anhang zum ansehen.

2.) Hast Du die Forum-Suche verwendet? (Stichwort "align")

3.) Lies hier: https://qelectrotech.org/forum/viewtopi … 867#p19867

... project-tree

In the attachment you see screenshots with language set to Chinese.
There you can see translated terms in collection-tree and project-tree.
If you do not see them with version 0.100-dev, you did not start QET with the batch-file "Lancer QET.bat".

What version of QElectroTech do you use?
In version 0.100-dev the term "imported elements" in the collection-tree is translated to Chinese, too!

In your video you can see the English text so the next question must be:
How do you start QElectroTech?

On Windows it is absolutely necessary to start QElectroTech with the batch-file "Lancer QET.bat" to have the correct language-settings!!!

Die Konfigurationen für Verzeichnisse werden in *.json - Dateien gespeichert.
Dabei ist es (noch) nicht vorgesehen, Einträge aus QET heraus wieder zu löschen.
Je nach System und QET-Version liegen die Dateien in unterschiedlichen Verzeichnissen.
Dieser Post sollte Dir helfen, das richtige Verzeichnis zu finden:
https://qelectrotech.org/forum/viewtopi … 884#p20884

Amazing!

To get the facts:
- You set the language inside of QET to Chinese.
- You use different titleblocks in one project.
- The titleblocks you use do not contain Chinese translations.
- You change the English translation in one titleblock.
- You expect changed texts in another titleblock?
All in all: The result cannot be correct!

To set it straight:
Recent 0.100-dev - versions of QElectroTech sort the translations in elements and titleblocks: That helps!
So:
Use a recent 0.100-dev - version of QET.
Then:
Use titleblocks that contain translations for the language set in QET-settings!
In your case it should be Chinese.
Use for example the default-titleblock I translated for you:
https://github.com/qelectrotech/qelectr … titleblock

And:
Start QElectroTech via the Batch-File "Lancer QET.bat".