scorpio810 wrote:

Apres les entreprises qui veulent et peuvent payer une fonctionnalité ou nouvelles features pour QET peuvent par exemple s'adresser à KDAB ce sont des experts Qt C++ ils participent activement à Qt et aussi à KDE mon environnement de bureau et framework Linux préféré.

https://www.kdab.com/fr/

Instead of KDAB you have also https://www.vikingsoftware.com/ who can add new functions to QET but I don't know prices...,
Companies can pay and have money for support to improve the software, for example pay to add navigation in a PDF file as when using the software, folio cross-references, clickable cross-references, etc.

We notice that large customers use our software and we thank them, they can in return help us by paying developers to bring or improve the software. ;-)

At the moment the little Team is made up of only two people with very little development time and many health problems which make the code progress slower than last 10 years ago, please help, thanks.

So that the machine documentation of an electrical, robotic, automated, etc. installation is freely accessible and free of charge to the greatest number of users, whatever their platform, enjoy. ,)

BTW, see our sponsors in this page which we are happy to share with you:
https://qelectrotech.org/

Please send this message to everyone who can help us, thanks in advance.

Regards,
laurent QElectroTech manager.

Hi,
easy, select your element, show Selection properties panel, if not actived enable it on https://download.qelectrotech.org/qet/m … tings-menu  click on Display

Displays or hides toolbars and panels
https://download.qelectrotech.org/qet/manual_0.7/build/_images/qet_menu_settings.png



In texts tab you see all element texts. You can add new texts, edit them if texts was dynamics or remove it:
https://download.qelectrotech.org/qet/manual_0.7/build/_images/qet_panel_properties.png

1,153

(1 replies, posted in EN : Help, suggestions, discussions, ...)

https://qelectrotech.org/forum/viewtopi … 638#p10638
https://download.qelectrotech.org/qet/m … oject-menu

Export the list of names of wires

Generates a .csv file summary of conductors used in the active project

https://download.qelectrotech.org/qet/manual_0.7/build/_images/qet_menu_project.png

https://download.qelectrotech.org/qet/m … lbar-depth
https://download.qelectrotech.org/qet/manual_0.7/build/_images/qet_toolbar_depth.png

Completely agree with you, what works very well on other platforms and was simple is often extremely complex with Apple.
It's already not bad, I managed to make packages for apple silicon and as I starts on apple hardware even look where are the special character keys touch location on this Apple keyboard .... you search, pfff!


As my health is at its lowest, I tire quickly, and as soon as it's too complicated I give up, to go and rest.

XANA:2.  What does it physically look like, are there two terminal strips next to each other, or is it actually just two connections to one strip?

Because it'is 40 X 0,324 mm² wires I prefer to put each conductor strand in a separate terminal which is bridged for current analog sensors we use:

Happy it worked for your project, are the results correct?  I see there are mentions of a terminal block "XI", but there is no diagram for it.  Is that a connector on some device?  Of course the results there are wrong because the label "XI:24E2" is interpreted by SQLite as having the number

24e2 = 24.0 * 10^2 = 2400.0

It 's a old draft, when I draw this project we did not yet know which 2-wire or 3-wire capacitive sensors would be, and whether we would go through a terminal block or wire the multipair directly to the telefast input plates....
See my post here: https://qelectrotech.org/forum/viewtopi … 050#p17050


Now I understand why terminal block "XI" is so long, oho. ;-)

In my project attached you could see terminal block generated by qet_tb_generator plugin that I slightly reworked each terminal block manually because sometimes it was not the rendering that I wanted or the logic of the terminals did not correspond to what I wanted...

For flathub I drop it annoys me, I hope someone else can package it..

Well I needed to install idle-python3.11 otherwise "python3 -m qet_terminal_tables" command didn't work...

git clone https://github.com/acolomb/qet_terminal_tables.git
python3.11 -m qet_terminal_tables /home/laurent/Documents/LAURENT/schemas/2022-7-23_Vibrafloor.sqlite -s qet_terminal_tables/samples/styles-template.css 
[07:50:13] laurent@debian:~$ python3 -m qet_terminal_tables --help
usage: qet_terminal_tables [-h] [-s [FILE]] [-w] [dbfile]

positional arguments:
  dbfile                read database from the given FILE

options:
  -h, --help            show this help message and exit
  -s [FILE], --styles [FILE]
                        include CSS stylesheet (default "styles.css")
  -w, --wrap            output a complete HTML document with framing

I attached project(old)+database and html export.
HTML tables output:
https://download.qelectrotech.org/qet/s … _XANA.html
https://download.qelectrotech.org/qet/s … _XATU.html
https://download.qelectrotech.org/qet/s … ls_XF.html
https://download.qelectrotech.org/qet/s … ls_XH.html
https://download.qelectrotech.org/qet/s … ls_XI.html

Publishing my own little addition as FOSS is my way to give back to the community for being able to use a completely free CAE drawing software.

Thanks for compliments , you are welcome and thanks for your contribution.
BTW I can't create python package with your code.

BTW, I can't get anything on the flathub, strange same patch work in my kvm qemu Debian where I build my flatpak devel...,maybe you could try AppImage to your customer?
https://download.qelectrotech.org/qet/builds/AppImage/

wget https://download.qelectrotech.org/qet/builds/AppImage/0.90/QElectroTech_0.9-r7759-x86_64.AppImage
chmod +x QElectroTech_0.9-r7759-x86_64.AppImage

Just click now on file and QET 0.9 start.

Is portable version, you can have a lot of version on your machine.. 0.9, 0.100.0, etc!

See André Github repository:
https://github.com/acolomb/qet_terminal … in/samples

Example:
https://github.com/acolomb/qet_terminal … _-X20.html

Not able to open a *.qet file with double click under osx
https://github.com/qelectrotech/qelectr … issues/218

On OSX you can't launch the same application several times, so QtSingleApplication is useless.
Catching the FileOpenEvent is the only way ...

https://forum.qt.io/topic/80205/open-fi … ick-on-mac


But I just read this and we use itay-grudev SingleApplication:
https://github.com/itay-grudev/SingleAp … issues/136


Well, for the moment I haven't understood everything, pfiuou Apple complicates everything unnecessarily... nomicons/sad

in short, a lot of work just for this small function....

I  tried your HTML in qtdesigner tools (latest qtcreator package):

<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Page Title</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    </head>
    <body>
        <table border="1" cellspacing="0" cellpadding="5">
<thead>
                <tr height="22">
                    <th style="min-width:50px; max-width:200px;">Omschrijving</th>
                    <th width="50">Lichtpunt</th>
                    <th width="50">WCD</th>
                    <th width="50">3F</th>
                    <th width="50">Verdeel doos</th>
                    <th width="100">VA</th>
                    
</tr>
            </thead>
            <tbody>
                <tr height="22">
                    <td style="min-width:50px; max-width:200px;">Keuken WCD </td>
                    <td width="50">2 </td>
                    <td width="50"></td>
                    <td width="50"></td>
                    <td width="50">1 </td>
                    <td width="100">3600 </td>
                    
</tr>
            </tbody>
        </table>
    </body>
</html>

https://download.qelectrotech.org/qet/forum_img_2/richtexteditor_on_Qtdesigner.png
https://download.qelectrotech.org/qet/forum_img_2/richtexteditor_on_Qtdesigner22.png
https://download.qelectrotech.org/qet/forum_img_2/richtexteditor_on_Qtdesigner1.png

Same thing if I try with QET

https://download.qelectrotech.org/qet/forum_img_2/richtexteditor_on_Qtdesigner2.png

I found new Qt code of richtext here, but license changed and isn't compatible, I think?

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

https://github.com/qt/qttools/blob/dev/ … editor.cpp

I just found informations: Limited HTML styling as supported by the QT engine on the André Github repository: https://github.com/acolomb/qet_terminal_tables

https://doc.qt.io/qt-5/richtext-html-subset.html
https://docs.w3cub.com/qt~5.15/richtext-html-subset

Maybe it can help you?

The QET html text editor is a Qt code that is part of the designer that we integrated a long time ago... https://git.tuxfamily.org/qet/qet.git/t … s/richtext

History: https://git.tuxfamily.org/qet/qet.git/l … s/richtext


https://doc.qt.io/qt-6/designer-to-know.html
https://doc.qt.io/qt-6/images/designer-screenshot.png

FYI, Joshua work to integrate terminal generator in QET, see this topic and vidéos:
https://qelectrotech.org/forum/viewtopi … 788#p17788

Video when I try it first time:

Joshua explain it:


Part of the code is in version 0.100.0 dev but the progress of the code is done on the branch terminal_strip
https://git.tuxfamily.org/qet/qet.git/l … inal_strip

Hi André you are welcome.

Thanks a lot for your work. nomicons/wink
I haven't tried your code yet, but I'm doing a little comparison with the two-terminal plugin, see image:

https://download.qelectrotech.org/qet/forum_img_2/new-terminal_vs_plugin.png

BTW, Teminal plugin tips:
https://qelectrotech.org/forum/viewtopi … 073#p17073

Regards,
Laurent

1,168

(234 replies, posted in News)

Restore qetshapeitem::polygon contextMenuEvent
see:
https://qelectrotech.org/forum/viewtopi … 204#p18204

https://git.tuxfamily.org/qet/qet.git/c … a1387bfe77

https://qelectrotech.org/bugtracker/view.php?id=220 :
bugfix is surely the culprit of the disappearance of the function add and deletion of point on a polygon...

Edit fixed for polygon by revert commit 0a8376c189b4deff24d26dd26ddb3ceb1c9c8a4c

--- sources/diagramview.cpp
+++ sources/diagramview.cpp
@@ -1219,6 +1219,11 @@ QList<QAction *> DiagramView::contextMenuActions() const
 */
 void DiagramView::contextMenuEvent(QContextMenuEvent *e)
 {
+    QGraphicsView::contextMenuEvent(e);
+    if(e->isAccepted())
+    return;
+
+
     if (auto qgi = m_diagram->itemAt(mapToScene(e->pos()), transform()))
     {
         if (!qgi->isSelected()) {

But we need to try if it not re open bug 220?

git checkout fd2c210f49eb88570eeed9b0bfbbee901ecabc11 2020-02-02 15:33:19 (GMT)
Add QetGraphicsTableItem + entry "add nomenclature" in project menu
https://git.tuxfamily.org/qet/qet.git/c … 901ecabc11
ok


git checkout 610a44c7cd6446f9a1127b59b0ea3dc4a97881fc  2020-09-04 21:00:32 (GMT)
Removed some Q_UNUSED
https://git.tuxfamily.org/qet/qet.git/c … c4a97881fc
ok

git checkout 2d6bef71ae227865c55e7d6564130391014b7c9d   2020-09-22 09:41:47 (GMT)
DXF - Add some color
https://git.tuxfamily.org/qet/qet.git/c … 91014b7c9d
ok



--------------

2020-09-24    Add TODO compile var + Fix doxygen issue    Simon De Backer
2020-09-24    Try to fix Snap package with sqite3 new depend    Laurent Trinques
2020-09-23    Fix QRegularExpression pattern    Simon De Backer
2020-09-23    Fix QRegularExpression    Simon De Backer
2020-09-23    Fix QRegularExpression    Simon De Backer
2020-09-23    Fix QRegularExpression    Simon De Backer
2020-09-23    Fix Revert deprecated QRegExp    Simon De Backer
2020-09-23    Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet    artgg7300
2020-09-23    updated hungarian files    artgg7300
2020-09-23    Fix commit "Change the way how the database is exported to file" :    Laurent Trinques
2020-09-22    Merge branch 'dxf'    David Varley
2020-09-22    Revert "Fix deprecated QRegExp"    Simon De Backer
2020-09-22    DXF - remove a couple of debug messages    David Varley
2020-09-22    DXF - Add some color

git checkout 36dbe654577bae797ab8e5375a580327d13444bc  2020-09-24 15:01:33 (GMT)
Add TODO compile var + Fix doxygen issue
https://git.tuxfamily.org/qet/qet.git/c … 27d13444bc
can't build

git checkout 184560cc5dccfb7638daca85e2740caacabb9389  2020-10-03 07:39:29 (GMT)
QT6: diagramitemweight set val to Font::Weight
https://git.tuxfamily.org/qet/qet.git/c … aacabb9389
ok


git checkout 12e301b887b64817ed81a20ca43fecf28c7bd9af 2020-10-17 18:25:30 (GMT)
replace 4 spaces by a tab
https://git.tuxfamily.org/qet/qet.git/c … f28c7bd9af
can't build


git checkout ec0b92ec1d9d93bc1986f2c48f11eb7f1a2ffffe  2020-10-18 08:45:05 (GMT)
La position précédente de HEAD était sur 184560cc5 QT6: diagramitemweight set val to Font::Weight
HEAD est maintenant sur ec0b92ec1 Fix : Filling color is not apply to polyline.
https://git.tuxfamily.org/qet/qet.git/c … 7f1a2ffffe
ok

git checkout b1eb59f3ea87a95825362525f35ec455affbff6b 2020-10-22 19:07:41 (GMT)
La position précédente de HEAD était sur ec0b92ec1 Fix : Filling color is not apply to polyline.
HEAD est maintenant sur b1eb59f3e Improve previous comit
https://git.tuxfamily.org/qet/qet.git/c … 55affbff6b
ok

git checkout d02b88488afe0b6547b31311d421267e58afe7b9 2020-11-22 10:07:47 (GMT)
La position précédente de HEAD était sur b1eb59f3e Improve previous comit
HEAD est maintenant sur d02b88488 German translation updated
https://git.tuxfamily.org/qet/qet.git/c … 7e58afe7b9
ok


git checkout d15443cf930fb068f8bb0bb81d5cfaca4b8ae37a 2020-12-10 17:44:03 (GMT)
Wip Fix preprocessor on Cmake
https://git.tuxfamily.org/qet/qet.git/c … ca4b8ae37a
can't build

git checkout c88d1ef6bb027e209acb43d9c63a75de8eb509ac 2020-12-12 23:40:43 (GMT)
La position précédente de HEAD était sur d02b88488 German translation updated
HEAD est maintenant sur c88d1ef6b Refactoring Cmake
https://git.tuxfamily.org/qet/qet.git/c … de8eb509ac
ok

git checkout f6d777e2f76b0136670923f5b79b3bd22f30ca6e 2020-12-17 20:42:18 (GMT)
La position précédente de HEAD était sur 34baceb8d Fix bug 175
HEAD est maintenant sur f6d777e2f Mod DynamicTextFieldEditor
can't build

it checkout 2e543dd1f70cba6666a6d1eaa4b83252996e9a9a 2020-12-18 16:05:41 (GMT)
La position précédente de HEAD était sur f6d777e2f Mod DynamicTextFieldEditor
HEAD est maintenant sur 2e543dd1f Add create translation .ts file on Cmake
ok

git checkout 5730559ed09834ee5a63192bb9ad701d52acc298     2020-12-31 13:19:52 (GMT)
La position précédente de HEAD était sur 4f455a532 General configuration page : set 'appearance' as default tab
HEAD est maintenant sur 5730559ed Updated Czech elements translations.
ok


git checkout bf9123f9b534d8af722ecb98e020ef707e4d7a68 2021-01-01 14:28:41 (GMT)
La position précédente de HEAD était sur 5730559ed Updated Czech elements translations.
HEAD est maintenant sur bf9123f9b Fix xml in Element (Catch from QElectroTech_Element_Updater)
ok



git checkout 0a8376c189b4deff24d26dd26ddb3ceb1c9c8a4c  2021-01-02 19:11:47 (GMT)
La position précédente de HEAD était sur 6fcb0fec0 Updated Czech translations of elements.
HEAD est maintenant sur 0a8376c18 Fix bug 220
polygon add point disappears ..............????

git checkout 34baceb8da926d5fd88a45e2311e89ea7bc9cd7f  2021-01-03 22:30:48 (GMT)
La position précédente de HEAD était sur 0a8376c18 Fix bug 220
HEAD est maintenant sur 34baceb8d Fix bug 175
polygon add point disappears ..............????


git checkout 4f455a5328bf6e6d30e86379d16d83e9192dafdf 2021-01-08 17:26:55 (GMT)
La position précédente de HEAD était sur 2e543dd1f Add create translation .ts file on Cmake
HEAD est maintenant sur 4f455a532 General configuration page : set 'appearance' as default tab
polygon add point disappears ..............????

git checkout 6fcb0fec083da868b62d20f3c166cbd1248a34ef     2021-01-13 20:25:24 (GMT)
La position précédente de HEAD était sur c88d1ef6b Refactoring Cmake
HEAD est maintenant sur 6fcb0fec0 Updated Czech translations of elements.
https://git.tuxfamily.org/qet/qet.git/c … d1248a34ef
polygon add point disappears ..............????



git checkout d04bccc384aa8b9dc16e4432ac72ccb787b2508b 2021-02-06 17:33:42 (GMT)
Update Copyright date
https://git.tuxfamily.org/qet/qet.git/c … b787b2508b
polygon add point disappears ..............????



It was not easy to find after all this time where the problem came from after all these thousands of commits..

I saw it 's work on Date : Jan 9 2020
Git history:
https://github.com/qelectrotech/qelectr … peitem.cpp
https://git.tuxfamily.org/qet/qet.git/l … peitem.cpp

For font saw your settings text et independent text in Preferences menu, tab text in my example I switch to Arial font:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><title>Page Title</title><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Arial'; font-size:9pt; font-weight:400; font-style:normal;">
<table border="1" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;" cellspacing="0" cellpadding="5"><thead>
<tr>
<td>
<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Omschrijving</span></p></td>
<td width="50">
<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Lichtpunt</span></p></td>
<td width="50">
<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">WCD</span></p></td>
<td width="50">
<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">3F</span></p></td>
<td width="50">
<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Verdeel doos</span></p></td>
<td width="100">
<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">VA</span></p></td></tr></thead>
<tr>
<td>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Keuken WCD </p></td>
<td>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2 </p></td>
<td></td>
<td></td>
<td>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">1 </p></td>
<td>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3600 </p></td></tr></table></body></html>

It's only possible on element editor to add or remove point in a polygon line. Not possible on diagram editor.
That not changed is like 0.8 version.

deneruxi wrote:

I am using Ubuntu 23.4 and i have the same problem
Anyone know How to fix this?

Nvidia driver's installed?