Fonts to use on all systems are available in QET:
https://qelectrotech.org/forum/viewtopi … 682#p21682

Fonts to use on all systems are available in QET:
https://qelectrotech.org/forum/viewtopi … 682#p21682

We finally did it!  nomicons/smile
The fonts are available in 0.100-dev:
Forum-Post  /  Download at QET-Homepage

29

(7 replies, posted in Code)

Hello everybody!

Thanks to elevatormind for his initial work on including fonts and Laurent (scorpio810) for packaging the binaries we now have a QElectroTech - Version in 0.100-dev with some included fonts:

  • Liberation Mono

  • Liberation Sans

  • Liberation Serif

  • osifont

No effort is required from the user to be able to use the fonts:
The fonts are available in QElectroTech with the installation of QElectroTech!
Of course, all other fonts of the operating system used can still be used in your elements and diagrams!
However, if you think about exchanging of the resulting work between different computers and/or systems, we recommend limiting yourself to the included fonts!

In this context, the default font in QET was set to Liberation Sans and all existing elements were revised so that Liberation fonts are now used everywhere!

With writing these lines, I noticed, that "osifont.ttf" was updated upstream.
This is by no means a problem for users, but it does lead to a question for Laurent:
(How) can we link "fonts/osifont.ttf" and "fonts/osifont-italic.ttf" to the original versions at github?
We already link pugixml and SingleApplication to their github-repos, so it may be possible to link two single files to their position in github-subdirs?
We don't need the whole directory: That would be way too much!
The two ttf-files would be enough: osifont.ttf and osifont-italic.ttf

30

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

31

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

38

(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

41

(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