Hi,

you could try with sudo evtest


No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:      Logitech K540/K545
/dev/input/event1:      Logitech M510
/dev/input/event2:      Generic USB Audio Consumer Control
/dev/input/event3:      Generic USB Audio
/dev/input/event4:      MSI MYSTIC LIGHT
/dev/input/event5:      Power Button
/dev/input/event6:      Power Button
/dev/input/event7:      PC Speaker
/dev/input/event8:      HDA ATI HDMI HDMI/DP,pcm=3
/dev/input/event9:      HDA ATI HDMI HDMI/DP,pcm=7
/dev/input/event10:     HDA ATI HDMI HDMI/DP,pcm=8
/dev/input/event11:     HDA ATI HDMI HDMI/DP,pcm=9
/dev/input/event12:     HDA ATI HDMI HDMI/DP,pcm=10
Select the device event number [0-12]: 0
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x46d product 0x4076 version 0x111
Input device name: "Logitech K540/K545"




Testing ... (interrupt to exit)
Event: time 1650980111.940440, type 17 (EV_LED), code 0 (LED_NUML), value 0
Event: time 1650980111.940440, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70028
Event: time 1650980111.940440, type 1 (EV_KEY), code 28 (KEY_ENTER), value 0
Event: time 1650980111.940440, -------------- SYN_REPORT ------------
Event: time 1650980115.204108, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0
Event: time 1650980115.204108, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 1
Event: time 1650980115.204108, -------------- SYN_REPORT ------------
Event: time 1650980115.372100, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0
Event: time 1650980115.372100, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 0
Event: time 1650980115.372100, -------------- SYN_REPORT ------------
Event: time 1650980119.741677, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70057
Event: time 1650980119.741677, type 1 (EV_KEY), code 78 (KEY_KPPLUS), value 1
Event: time 1650980119.741677, -------------- SYN_REPORT ------------
+Event: time 1650980119.827671, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70057
Event: time 1650980119.827671, type 1 (EV_KEY), code 78 (KEY_KPPLUS), value 0
Event: time 1650980119.827671, -------------- SYN_REPORT ------------
Event: time 1650980127.310971, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0
Event: time 1650980127.310971, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 1
Event: time 1650980127.310971, -------------- SYN_REPORT ------------
Event: time 1650980127.578685, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 2
Event: time 1650980127.578685, -------------- SYN_REPORT ------------
Event: time 1650980127.618684, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 2
Event: time 1650980127.618684, -------------- SYN_REPORT ------------
Event: time 1650980127.658684, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 2
Event: time 1650980127.658684, -------------- SYN_REPORT ------------
Event: time 1650980127.698686, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 2
Event: time 1650980127.698686, -------------- SYN_REPORT ------------

-Event: time 1650980334.123792, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70056
Event: time 1650980334.123792, type 1 (EV_KEY), code 74 (KEY_KPMINUS), value 0
Event: time 1650980334.123792, -------------- SYN_REPORT ------------

2,077

(5 replies, posted in Elements)

Hi Vbxler,

done, thanks.

2,078

(16 replies, posted in Elements)

Nice, thanks.

2,079

(16 replies, posted in Elements)

The dialog for saving the qet_directory file always returns where the program is installed.

A workaround is to place the executable in the git working directory.

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


cat qet_translate.ini
[qet_cad]
elements=/home/laurent/Qet-svn/git/qet/elements

2,080

(16 replies, posted in Elements)

I tried qet_translate_linux64, it 's work great, thanks.

For translation, select source language to English is better than French.

Example French bobine :

        <name lang="ar">بكرة</name>
        <name lang="ca">rodet</name>
        <name lang="cs">role</name>
        <name lang="da">rulle</name>
        <name lang="de">Spule</name>
        <name lang="el">καρούλι</name>
        <name lang="en">reel</name>
        <name lang="es">carrete</name>
        <name lang="fr">bobine</name>
        <name lang="hr">kolut</name>
        <name lang="hu">orsó</name>
        <name lang="it">bobina</name>
        <name lang="ja">リール</name>
        <name lang="mn">ороомог</name>
        <name lang="nb">hjul</name>
        <name lang="nl">haspel</name>
        <name lang="pl">rolka</name>
        <name lang="pt">carretel</name>
        <name lang="pt_br">carretel</name>
        <name lang="ro">tambur</name>
        <name lang="ru">катушка</name>
        <name lang="sl">kolut</name>
        <name lang="sr">колут</name>
        <name lang="tr">makara</name>



English coil :

        <name lang="ar">لفه</name>
        <name lang="ca">bobina</name>
        <name lang="cs">cívka</name>
        <name lang="da">spole</name>
        <name lang="de">Spule</name>
        <name lang="el">σπείρα</name>
        <name lang="en">coil</name>
        <name lang="es">bobina</name>
        <name lang="fr">bobine</name>
        <name lang="hr">zavojnica</name>
        <name lang="hu">tekercs</name>
        <name lang="it">bobina</name>
        <name lang="ja">コイル</name>
        <name lang="mn">ороомог</name>
        <name lang="nb">Spole</name>
        <name lang="nl">spoel</name>
        <name lang="pl">cewka</name>
        <name lang="pt">bobina</name>
        <name lang="pt_br">bobina</name>
        <name lang="ro">bobina</name>
        <name lang="ru">катушка</name>
        <name lang="sl">tuljava</name>
        <name lang="sr">калем</name>
        <name lang="tr">bobin</name>


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

Strange! ctrl +/-  work here on my Debian Sid with

QElectroTech V 0.90-DEV+17290ae3bb0a58100c957a06d79751d3
Compilation : GCC 11.2.0
Built with Qt 5.15.2 - Date : Apr 25 2022 : 16:44:31
Run with Qt 5.15.2 using 48 thread(s)
CPU : model name : AMD Ryzen Threadripper 3960X 24-Core Processor
RAM Total : 64257 MB
RAM Available : 59532 MB
GPU : Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev c7)
GPU RAM : Video memory: 4096MB Dedicated video memory: 4096 MB Currently available dedicated video memory: 3086 MB
OS : linux - x86_64 - Version : Debian GNU/Linux bookworm/sid - Kernel : 5.17.4-vanilla
*** Qt screens ***
( 1 : 3840 x 2160 )
( 2 : 1920 x 1080 )

2,082

(53 replies, posted in Videos howto)

Nice Car electrical wiring
https://download.qelectrotech.org/qet/s … iagram.pdf

2,083

(2 replies, posted in Elements)

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

2,084

(2 replies, posted in Elements)

Hi,
maybe you could try this Vbxier program and translate to Portuguese?
https://qelectrotech.org/forum/viewtopi … 027#p16027

2,085

(6 replies, posted in Elements)

Hi vilatech,

Right-click on the item's panel in the user or official collection: in the properties menu, display the path.

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

anthos1984 wrote:

Hello,
I see qet is very useful and I been used for several years. So I now ask for 2 more features:
1. Slave item also have marker other than switch. This useful for module like illuminated switch; The lamp should not marked as switch. But still shown on master.
Also good for marking panel image which shown on other folio and linked to the master component, yet not counted as additional contact.

Thanks.

Hi,
If you your ask is about this
https://download.qelectrotech.org/qet/forum_img_2/bp_voyant.jpeg
The light is not a slave of the button, but of a PLC output or a relay, it is not the fact of mechanically activating the push button that makes the light change its state.

So I don't agree with your request.

Example report link to page.

https://bugreports.qt.io/browse/QTBUG-12035
https://bugreports.qt.io/browse/QTBUG-83458

Maybe QWebEnginePage::printToPdf.
https://forum.qt.io/topic/83480/qt-5-9- … -documents

I saw that with LO writer or maybe MS World you can edit a PDF QET file and add internal link page anchors, without depending on where the PDF is stored...
For a large project with 200 folios, it is very complicated to do this manually...

https://www.easepdf.com/topics/add-link-to-pdf.html

https://www.sejda.com/pdf-editor

Add links to PDF and edit existing hyperlinks
Add new links to web URLs or pages in the document. Easily edit existing hyperlinks in the PDF.

https://www.sejda.com/images/pages/pdf-editor/add-hyperlink-to-pdf.gif

Hacks to be continued ..

FTBFS on Debian Stable and older Ubuntu ..

In file included from sources/TerminalStrip/UndoCommand/addterminaltostripcommand.cpp:18:
sources/TerminalStrip/UndoCommand/addterminaltostripcommand.h:65:41: error: field 'm_terminals' has incomplete type 'QVector<QSharedPointer<RealTerminal> >'
   QVector<QSharedPointer<RealTerminal>> m_terminals;
                                         ^~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1194,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qundostack.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QUndoCommand:1,
                 from sources/TerminalStrip/UndoCommand/addterminaltostripcommand.h:21,
                 from sources/TerminalStrip/UndoCommand/addterminaltostripcommand.cpp:18:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtypeinfo.h:193:1: note: declaration of 'class QVector<QSharedPointer<RealTerminal> >'
 Q_DECLARE_MOVABLE_CONTAINER(QVector);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~

https://qelectrotech.org/forum/viewtopi … 004#p13004

Hi Vbxier,

users can manual delete file:

Btw, backup files is stored on ~.local/share/stalefiles/QElectroTech on Linux.
C:\Users\username\AppData\Local\stalefiles\QElectroTech on Windows
/Users/username/Library/Application Support/stalefiles/QElectroTech/ on macOS

Bonjour,

je pense que ta formule est fausse cela doit être %FX%sequ_1

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

Sinon, tu as l'outil chercher et remplacer "ctrl +F"

Hello,

check for each type XRef slave position, like :

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

2,094

(20 replies, posted in Videos howto)

2,095

(236 replies, posted in News)

For macOS bundle I try Monterey, yes I know new OSX SDK is for Qt 6.2.3 ...


I can't saw any problems, please send back your feedbacks..

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

Hello,

https://qelectrotech.org/bugtracker/view.php?id=247

2,097

(236 replies, posted in News)

Add disks volumes mounted informations :


16:04:54.563 Info: "QElectroTech V 0.90-DEV" 
16:04:54.563 Info: "Compilation : GCC 11.2.0"
16:04:54.563 Info: "Built with Qt 5.15.2 - Date : Apr  7 2022 : 16:04:50"
16:04:54.563 Info: "Run with Qt 5.15.2 using 48 thread(s)"
16:04:54.563 Info: "CPU : model name\t: AMD Ryzen Threadripper 3960X 24-Core Processor\n"
16:04:54.563 Info: "RAM Total : 64257 MB"
16:04:54.563 Info: "RAM Available : 57973 MB"
16:04:54.563 Info: "GPU :  Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev c7)\n"
16:04:54.563 Info: "GPU RAM :     Video memory: 4096MB\n    Dedicated video memory: 4096 MB\n    Currently available dedicated video memory: 2289 MB\n"
16:04:54.563 Info: "OS : linux  - x86_64 - Version : Debian GNU/Linux bookworm/sid - Kernel : 5.17.1-vanilla"
16:04:54.563 Info: *** Qt screens ***
16:04:54.563 Info: "( 1 : 3840 x 2160 )"
16:04:54.563 Info: "( 2 : 1920 x 1080 )"
16:04:54.564 Info: DISK : /run   
16:04:54.564 Info: fileSystemType: "tmpfs"
16:04:54.565 Info: sizeTotal: 6 GB
16:04:54.565 Info: availableSize: 6 GB
16:04:54.565 Info: DISK : /   
16:04:54.565 Info: fileSystemType: "ext4"
16:04:54.565 Info: sizeTotal: 27 GB
16:04:54.565 Info: availableSize: 24 GB
16:04:54.565 Info: DISK : /run/lock   
16:04:54.565 Info: fileSystemType: "tmpfs"
16:04:54.565 Info: sizeTotal: 0 GB
16:04:54.565 Info: availableSize: 0 GB
16:04:54.565 Info: DISK : /home   
16:04:54.565 Info: fileSystemType: "ext4"
16:04:54.565 Info: sizeTotal: 253 GB
16:04:54.565 Info: availableSize: 234 GB
16:04:54.565 Info: DISK : /boot/efi   
16:04:54.565 Info: fileSystemType: "vfat"
16:04:54.565 Info: sizeTotal: 0 GB
16:04:54.565 Info: availableSize: 0 GB
16:04:54.565 Info: DISK : /media/backup2   
16:04:54.565 Info: fileSystemType: "ext4"
16:04:54.565 Info: sizeTotal: 322 GB
16:04:54.565 Info: availableSize: 276 GB
16:04:54.565 Info: DISK : /media/backup6   
16:04:54.565 Info: fileSystemType: "ext4"
16:04:54.565 Info: sizeTotal: 1353 GB
16:04:54.565 Info: availableSize: 1260 GB
16:04:54.565 Info: DISK : /run/user/1000   
16:04:54.565 Info: fileSystemType: "tmpfs"
16:04:54.565 Info: sizeTotal: 6 GB
16:04:54.565 Info: availableSize: 6 GB
16:04:54.565 Info: DISK : /run/user/1000/doc   
16:04:54.565 Info: fileSystemType: "fuse.portal"
16:04:54.565 Info: sizeTotal: 0 GB
16:04:54.565 Info: availableSize: 0 GB
16:04:54.566 Info: DISK USED: /media/backup6   
16:04:54.566 Info: fileSystemType: "ext4"
16:04:54.566 Info: sizeTotal: 1353 GB
16:04:54.566 Info: availableSize: 1260 GB
16:04:54.721 Info: Elements collection reload
16:04:54.805 Info: Elements collection finished to be loaded in 0.084 seconds

Un conseil, sur les gros projets qui nécessitent parfois des mois de travail, je conseille toujours d'ouvrir le projet et de "l’enregistrer sous" par exemple:  2022-04-06-mon_projet.qet avant de commencer à travailler.

I) ça fait office de backup pour remonter dans l'historique d'un projet.
2) le format date US est visuellement plus facile pour l'humain pour chercher une version spécifique.

Hello guys,

Pai54 has just sent me a Symbol Library, if that helps you with your design.

2,100

(157 replies, posted in Code)

Tried on BigSur with Qt 6.3.2
https://download.qelectrotech.org/qet/s … t6.2.3.txt