FYI, 2018-11-28

Nuri wrote:
scorpio810 wrote:

Attention donc avec certaines polices exotiques, certains y trouverons leur compte pour embellir leurs schémas, hein Nuri...

J'utilise la police Arimo car elle ne pose aucun problème sous Linux, est libre et a exactement la même métrique qu'Arial.

sudo apt install fonts-croscore

.

Quand j'utilise Arial directement sous Linux, je sais pas pourquoi mais QET me met tous les textes en Arial Bold nomicons/pinch .
J'ai pas trouvé d'où cela venait, aucune idée...

Par contre, quand je livre un fichier *.qet à ma clientèle sous Windows, je remplace "Arimo" par "Arial" avec XML Copy Editor.

Moi ce qui m'intéresse, c'est qu'on puisse utiliser une police qui ait le même rendu sous tous les OS pour éviter les décalages et les empiètements qui font dégueulasse et qui rendent certains textes illisibles.
L'idéal serait que QET embarque une petite panoplie de polices libres avec lui et puisse les déployer indépendamment de l'OS.
Disons une petites dizaines de polices, ca devrait largement suffire.

Et pour ceux qui ont besoin de plus, on leur permet de faire des surcharges en utilisant les polices installées dans l'OS en question, comme actuellement avec les options de police implémentées par Laurent.

https://qelectrotech.org/forum/viewtopi … 8828#p8828

177

(41 replies, posted in Code)

@Kellermorph: Please retry I forgot to Refresh hooks in attachments plugin....I'm tired!!!

OK, I'd misunderstood, so I'll give you my consent if anyone wants to do it. nomicons/wink

Hmm, I'll have to modify my packaging scripts... . we'll see when I'm in better health.. it can take some time for me to adapt them...!

In my opinion, the 3 fonts you mention should be included in the list, but you should also give users the choice of accessing other fonts if they so decide, but you should add a popup warning them that if they choose other fonts, these fonts may cause display problems on other machines with different OSes, what do you think?

Edit: I think it's feasible, if anyone's interested in coding it, why not?

on the font widget list of recommended default fonts add a checkbox with a popup /!\ to warn the user, then we check it on display the complete list of all the fonts installed on the machine.

When it comes to typing in unicode, yes, it's a workaround solution but only for us geeks, not for all our users.....

RE EDIT: We're not Apple or Gnome !!!!  .... should not prohibit and block but still leave the choice to those who want it!

I love KDE/ plasma for that!!, you can config and custom your desktop like you want!!

180

(41 replies, posted in Code)

@Kellermorph I just made a little hack and change "increase g_pun_attachment_upload_max_size" key to max 200MB instead of 20MB, you could share it here if you want. nomicons/wink

Off course think to compress your file before upload it here!

plc-user wrote:

I would see a maximum (!) of three fonts: Sans Serif (as default), Monospace and Serif.

Hallo plc-user, Achim, elevatormind!

Don't forget symbol fonts such as ‘fonts-linuxlibertine’, which are very useful for easily drawing certain special elements, such as for designing the alphanumeric LCD or LED screens found on many systems in industrial equipment, for example, motor frequency converters, as shown in this video:



On Debian like:

apt install fonts-linuxlibertine

182

(41 replies, posted in Code)

Kellermorph wrote:

Ok schon mal danke für die Hilfe. Aber als aller erstes muss ich mich erst noch mit dem kompilieren auseinander setzen und wie das alles geht. bis jetzt klappt es noch nicht so ganz. Ich werde mich die Tage, wenn ich Zeit haben sollte nochmal dran wagen.

Hallo Kellermorph!

Try elevatormind's Qt6-cmake branch, no need KF5/KF6 libs, so it is more easy for you for compil it, you just need Qt6 libs, and you don't need sqlite3.dev for this test.
SQlite3.dev dependency it's only for exporting project databse to an sqlite file.

BTW don't use qmake but Cmake! because elevatormind forgot to update .pro in Qt6-cmake branch!

BTW,if you want to use qmake use this patch to disable sqlite3 dependency in qelectrotech.pro to generate makefiles, if you have porblems for install Sqlite3.dependency, it's only optionnal....
And off  course add new path for news: *.cpp,*.h ; *.ui files which was added recently by elevatormind in this source code branch.

--- qelectrotech.pro
+++ qelectrotech.pro
@@ -61,7 +61,7 @@ DEFINES += QET_ALLOW_OVERRIDE_CD_OPTION
DEFINES += QET_ALLOW_OVERRIDE_DD_OPTION
 
#comment the line below to disable the project database export
-DEFINES += QET_EXPORT_PROJECT_DB
+#DEFINES += QET_EXPORT_PROJECT_DB
 
# warn on *any* usage of deprecated APIs
#DEFINES += QT_DEPRECATED_WARNINGS
@@ -257,7 +257,7 @@ TARGET = qelectrotech
 
# Ajustement des bibliotheques utilisees lors de l'edition des liens
unix:QMAKE_LIBS_THREAD -= -lpthread
-unix|win32: PKGCONFIG += sqlite3
+#unix|win32: PKGCONFIG += sqlite3
 
# Enable C++17
QMAKE_CXXFLAGS += -std=c++17

Well, on that note, I'm going back to bed, my health is very fragile at the moment, and I need to rest!
Don't be surprised if you see me less these days!
I also have to undergo a many numbers of health checkups....

PS : Search "showme" functions in the source code and you'll understand better how interactivity works in QET when you click on the report folios, master and slave links, etc...

Best regards,
Laurent

https://qelectrotech.org/forum/viewtopi … 310#p20310

184

(137 replies, posted in Code)

Hallo Achim,

this plc-user's patch for Qt6 was related to SVN commit 5703: https://listengine.tuxfamily.org/lists. … 00018.html
description in the video
https://youtu.be/kQkrVEUSjdA

185

(23 replies, posted in Code)

Here it's work on my UHD screen..

I only have to understand how it works

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

Hallo plc-user

not the same thing like you, Cmake don't found KF6 dev addons installed by apt, so

--- cmake/define_definitions.cmake
+++ cmake/define_definitions.cmake
@@ -65,7 +65,7 @@ message("GIT_COMMIT_SHA            :" ${GIT_COMMIT_SHA})
 if(BUILD_WITH_KF6 AND BUILD_KF6)
   message("KF6_GIT_TAG               :" ${KF6_GIT_TAG})
 else()
-  add_definitions(-DBUILD_WITHOUT_KF6)
+#  add_definitions(-DBUILD_WITHOUT_KF6)
 endif()
 message("QET_COMPONENTS            :" ${QET_COMPONENTS})
 message("Qt version                :" ${Qt6_VERSION})

laurent@debian:~/qet_qt6_cmake/build/Desktop-Debug$ cat CMakeCache.txt | grep KF6
//Build KF6 libraries, use system ones otherwise
BUILD_KF6:BOOL=OFF
//Build with KF6
BUILD_WITH_KF6:BOOL=ON
//The directory containing a CMake configuration file for KF6CoreAddons.
KF6CoreAddons_DIR:PATH=/usr/lib/x86_64-linux-gnu/cmake/KF6CoreAddons
//The directory containing a CMake configuration file for KF6WidgetsAddons.
KF6WidgetsAddons_DIR:PATH=/usr/lib/x86_64-linux-gnu/cmake/KF6WidgetsAddons
[13:28:38] laurent@debian:~/qet_qt6_cmake/build/Desktop-Debug$ 

mising pkg-config?

188

(137 replies, posted in Code)

I'm starting to smile to see that the Qt5 to Qt6 port seems to be going well, at least for now.
thanks Simon, plc-user elevatorMind, and others for your work...
There's still some fine-tuning and printing to be done.

As far as I'm concerned, the work of packaging QET on Qt6 hasn't started yet...it might not be easy...

189

(137 replies, posted in Code)

Now, what I wanted to write in my own name!!!

Sorry again!

no worries. nomicons/wink


Thanks for your tip plc-user, great, merged!.

190

(137 replies, posted in Code)

On existing projects, folio cross-references will have to be re linked, as will master-slave connections for contactor coils, relays, isolators, etc.

Edit: No, in fact they are not reread when the project is saved and reopened....but links connexions was saved in the XML.

In think the problemis here;
https://github.com/qelectrotech/qelectr … t.cpp#L770


    //load uuid of connected elements
    QList <QDomElement> uuid_list = QET::findInDomElement(e,
                                                          QStringLiteral("links_uuids"),
                                                          QStringLiteral("link_uuid"));
    foreach (QDomElement qdo, uuid_list)
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)    // ### Qt 6: remove
        tmp_uuids_link << qdo.attribute(QStringLiteral("uuid"));
#else
#if TODO_LIST
#pragma message("@TODO remove code for QT 6 or later")
#endif
        qDebug()<<"Help code for QT 6 or later";
#endif
    //uuid of this element

Edit comment line tmp_uuids_link << qdo.attribute(QStringLiteral("uuid")); and compile code with Qt 5.15.x I have the same problem I saw with Qt6..

Bonjour et bienvenu Jory,

merci pour les compliments.
Je ferai avec des règles d'auto renumérotation exemple en vidéo:

Or use Ctrl +F "search and replace" function.

https://download.qelectrotech.org/qet/m … earch.html

193

(137 replies, posted in Code)

1. Symbol library panel, the texts don't show until you hover over them with the mouse.
2. Nomenclature tables are growing in width, when you reload them the width increases.

Fixed!

While the Qt6 version seems to be working well, there are still a few sensitive points:
This version is far from ready for production..

On existing projects, folio cross-references will have to be re linked, as will master-slave connections for contactor coils, relays, isolators, etc.

Edit: No, in fact they are not reread when the project is saved and reopened....but links connexions was saved in the XML.

https://github.com/qelectrotech/qelectr … tDeploy.sh
https://github.com/qelectrotech/qelectr … y_arm64.sh

To be clear, if no one wants to help but just grumble, I'll stop making macOS packages, plus it costs me €100 out of my pocket every year.. just for signed and notarized.

Read on and you'll see that my work is no picnic...and or an pleasure...
https://qelectrotech.org/forum/viewtopi … 440#p17440

acolomb wrote:

Wow, this seems a major burden and a piece of work to support Apple.  Frankly, I would have stopped supporting the platform at all after all these troubles.  Not a big fan of the company anyway, but charging developers to allow users running their software is just... rude!  In the early computer days, some hardware vendors had a market advantage because they made it easy for software developers to write programs for their platform.  Somehow for a company of Apple's size, these economic mechanisms don't work anymore.  Except if people start sabotaging this madness and just stay away from Apple, especially those people putting in their volunteer work to publish open source software.

Enough ranting...  I didn't understand everything in this thread, unfortunately, since my French is very rudimentary. I'd be happy if more posts could stick to English language, as it's more accessible to the rest of the world ;-)

rvamerongen wrote:

Issue with Version 0.100.0 r8390 on macOS ARM 14.7.2

I downloaded the latest version 0.100.0 r8390 for macOS ARM, but now the trick to create an alias to start and run it isn’t working anymore.

This issue has persisted for 8 months, and a neighbor is experiencing the same problem.

Does anyone with all the necessary compiler tools installed have success compiling it to make it work properly on macOS?

Hello rvamerongen,
please don't blame me, I do what I can, my scripts for mac Apple was on github and maybe improved by a specialist..
I have a shortcut on my desktop like aleas and it 's work well... FYI I stayed on the old Sonoma again.

198

(23 replies, posted in Code)

Hello Erik,

see https://github.com/qelectrotech/qelectr … onpage.cpp
for add and use case tro select your new grid size.

After you use this example for add include and your new value in other file code part, see
https://github.com/qelectrotech/qelectr … et.cpp#L39


Best regards,
Laurent

199

(8 replies, posted in Import DXF)

Hello Vadoola,

same here: Already deleted my fork!

200

(8 replies, posted in Videos howto)